Gmail-teopro a écrit : > Yes mouss I commented -o statements because when they are enabled, > Postfix do not recognize virtual aliases.
you should not disable address rewrite in the whole chain. only when mail is passed through a filter. > Following your kind suggestion, I enabled -o statement for main smtp > service.(I use to listen also on 10025 because some ISP are bloking port > 25) this is a different issue. I was assuming that 10025 is the after filter port. if this is different, please explain. > The log after sending a message towards a virtual alias > (virtal...@mydomain.tld <mailto:virtal...@mydomain.tld>) follows: > > Mar 12 07:06:20 one postfix/smtpd[5426]: connect from > unknown[189.189.189.189] > Mar 12 07:06:20 one postfix/smtpd[5426]: C3B512944C3: > client=unknown[189.189.189.189] > Mar 12 07:06:20 one postfix/cleanup[5433]: C3B512944C3: > message-id=<8209475102.20100312070...@dom.tld> > Mar 12 07:06:20 one postfix/qmgr[5421]: C3B512944C3: > from=<sen...@dom.tld>, size=1732, nrcpt=1 (queue active) > Mar 12 07:06:20 one postfix/smtpd[5426]: disconnect from > unknown[189.189.189.189] > Mar 12 07:06:20 one postfix/pipe[5434]: C3B512944C3: > to=<virtal...@mydomain.tld>, relay=dovecot, delay=0.66, > delays=0.64/0.01/0/0.01, dsn=5.1.1, status=bounced (user unknown) there is no evidence that mail was passed through a filter. >[snip]