From: Afanasov Dmitry <ender@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] postfix: выборочный sender_canonical_maps
Date: Tue, 26 May 2009 11:49:59 +0400
Message-ID: <20090526074958.GA8404@ender.fondinvestrk.ru> (raw)
In-Reply-To: <f7a739430905260029i8925390pbc178b53fee5ceaf@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
On Tue, May 26, 2009 at 11:29:26AM +0400, Eugene Prokopiev wrote:
> Здравствуйте!
>
> Подскажите, можно ли в postfix подменять имя отправителя не во всех
> отправляемых сообщениях, а только в тех, которые уходят нелокальным
> получателям? Или идти смотреть на другие MTA?
можно. поределить транспорт в smtpd:
localhost:25000 inet n - - - - smtpd -o masquerade_domains=
в main.cf добавить masquerade_domains=domain.tld
в transport_maps добавить:
@localdomain.tls localhost:25000
если не masquerade_domains, то все равно тоже самое:
создать транспорт с новыми параметрами и выборочно пустить туда почту
через transport_maps
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-05-26 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 7:29 Eugene Prokopiev
2009-05-26 7:49 ` Afanasov Dmitry [this message]
2009-05-26 9:08 ` Eugene Prokopiev
2009-05-26 9:31 ` Afanasov Dmitry
2009-05-28 7:50 ` Eugene Prokopiev
2009-05-26 8:06 ` 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=20090526074958.GA8404@ender.fondinvestrk.ru \
--to=ender@altlinux.org \
--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