2013/3/22 Noel Jones <njo...@megan.vbhcs.org> > On 3/22/2013 11:44 AM, Victor d'Agostino wrote: > > Hi all, > > > > I use postfix as relay server to several internal domains. xxx is > > the main one. > > > > postconfig | grep domain prints : > > > > append_dot_mydomain = no > > mydomain = xxx > > myorigin = $mydomain > > relay_domains = $mydomain yyy zzz > > > > If postfix receives an email with a FROM (headers and in the SMTP > > dialog) without @xxx : > > > > mars 22 17:17:05 host=127.0.0.1 tls=off auth=off from=Administrateur > > recipients=a...@yyy.fr <mailto:a...@yyy.fr> mailsize=72764 > > smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as 7C1A472' exitcode=EX_OK > > > > > > Return-Path: <administrat...@yyy.fr <mailto:administrat...@yyy.fr>> > > Received: [...] > > Date: 22 Mar 2013 17:17:03 +0100 > > From: Administrateur > > To: a...@yyy.fr <mailto:a...@yyy.fr> > > Subject: aaa > > [...] > > > > > > it automaticly add @xxx to the FROM header when it transfers the > > email to the next SMTP server. > > > > mars 22 17:17:06 myfinalhost postfix/qmgr[29863]: C0593684F41: > > from=<Administrateur@xxx>, size=74777, nrcpt=1 (queue active) > > > > > > I would like to know how to disable this behavior, > > append_dot_mydomain is already set to no. > > > > Regards, > > > > Victor > > > > > http://www.postfix.org/ADDRESS_REWRITING_README.html#william > http://www.postfix.org/postconf.5.html#remote_header_rewrite_domain > > When you're using a content_filter, it's often useful to set: > # main.cf > remote_header_rewrite_domain = domain.invalid > > > > -- Noel Jones >
Thanks for your reply, I do use a homemade content filter application. So I will try setting : remote_header_rewrite_domain = Victor