ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitry Gerasimov <dgerasimov@wiley.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] postfix и отправка определённому получателю через определённый хост:порт
Date: Wed, 13 Jan 2016 10:30:03 +0300
Message-ID: <5695FCFB.6010709@wiley.ru> (raw)
In-Reply-To: <201601130149.35984.a_s_y@sama.ru>

Привет,
а не transport_maps ?

Что то типа:

/etc/postfix/transport_map
user@domain.test    smtp:[192.168.1.1]:25

и в /etc/postfix/main.cf

transport_maps = /etc/postfix/transport_map

c уважением,
Дмитрий

13.01.16 0:49, Sergey пишет:
> Приветствую.
>
> Как, собственно ? Судя по тому, что гуглится, всё сводится
> к sender_dependent_relayhost_maps, как-то так
> (http://www.postfix.org/SOHO_README.html):
>
> /etc/postfix/main.cf:
> sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
>
> /etc/postfix/sender_relay:
> user1@example.com               [mail.foo.com]:1234
>
> Это, правда, из раздела Sender-Dependent SASL authentication по вышеприведённой
> ссылке, но мне надо без аутентификации, просто послать на указанный E-Mail через
> указанный "mx:port". И не работает, [mail.foo.com]:1234 просто игнорируется.
> Примеры такие без sasl, вроде как, встречаются.
>



  reply	other threads:[~2016-01-13  7:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 21:49 Sergey
2016-01-13  7:30 ` Dmitry Gerasimov [this message]
2016-01-13 12:49   ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5695FCFB.6010709@wiley.ru \
    --to=dgerasimov@wiley.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git