ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Afanasov Dmitry <ender@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] postfix: выборочный sender_canonical_maps
Date: Tue, 26 May 2009 13:31:22 +0400
Message-ID: <20090526093121.GA31816@ender.fondinvestrk.ru> (raw)
In-Reply-To: <f7a739430905260208y199ab7f2x6efc9a8b03433e2b@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

On Tue, May 26, 2009 at 01:08:32PM +0400, Eugene Prokopiev wrote:
> 26.05.09, Afanasov Dmitry<ender@altlinux.org> написал(а):
> > On Tue, May 26, 2009 at 11:29:26AM +0400, Eugene Prokopiev wrote:
> >  > Здравствуйте!
> >  >
> >  > Подскажите, можно ли в postfix подменять имя отправителя не во всех
> >  > отправляемых сообщениях, а только в тех, которые уходят нелокальным
> >  > получателям? Или идти смотреть на другие MTA?
> >  создать транспорт с новыми параметрами и выборочно пустить туда почту
> >  через transport_maps
> 
> Мне надо менять не только имя домена, но и имя пользователя тоже
не побоюсь повториться:
> >  если не masquerade_domains, то все равно тоже самое:

вместо masquerade_domains подойдет любой из
http://www.postfix.org/ADDRESS_REWRITING_README.html

кстати, там же про Generic mapping for outgoing SMTP mail:
Some hosts have no valid Internet domain name, and instead use a name such
as localdomain.local. This can be a problem when you want to send mail
over the Internet, because many mail servers reject mail addresses with
invalid domain names.

-- 
С уважением
Афанасов Дмитрий

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-05-26  9:31 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
2009-05-26  9:08   ` Eugene Prokopiev
2009-05-26  9:31     ` Afanasov Dmitry [this message]
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=20090526093121.GA31816@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