Hello mouss, Friday, March 12, 2010, 12:50:49 AM, you wrote:
>> @mouss, thanks for kind reply. >> I'll be glad to provide any additional info in order to make me >> understand better how Postfix works, and or course to solve the issues >> presented above. >> My config files are followings: >> master.cf >> # ========================================================================== >> # service type private unpriv chroot wakeup maxproc command + args >> # (yes) (yes) (yes) (never) (100) >> # ========================================================================== >> smtp inet n - n - - smtpd >> # -o receive_override_options=no_address_mappings >> 10025 inet n - n - - smtpd >> # -o receive_override_options=no_address_mappings > -o received_... is commented out in both smtpd listeners. you MUST > disable address rewwrite in all but one smtpd in a chain. in short, you > need to uncomment the -o receive_override_options in one of the smtpd > listsers above. and taking into account your problem, you should do this > for the first one "smtp" (not "10025"). > The > -o receive_override_options=no_address_mappings > option disables rewrite in a an smtpd listener. you generally want this > before filtering, so that the filter sees the "original recipients". In > any case, you don't want rewrite to apply multiple times to the same > message (otherwise, an alias like "foo -> foo, bar" become "foo -> foo, > foo, bar". so foo gets multiple copies). > take a look at > http://www.postfix.org/FILTER_README.html > it's concise but if you take the time to reread when it's not clear, > you'll find that it's very helpful. Yes mouss I commented -o statements because when they are enabled, Postfix do not recognize virtual aliases. 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) The log after sending a message towards a virtual alias ([email protected]) 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=<[email protected]> Mar 12 07:06:20 one postfix/qmgr[5421]: C3B512944C3: from=<[email protected]>, 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=<[email protected]>, relay=dovecot, delay=0.66, delays=0.64/0.01/0/0.01, dsn=5.1.1, status=bounced (user unknown) Mar 12 07:06:20 one postfix/cleanup[5433]: CEBFD2944C9: message-id=<[email protected]> Mar 12 07:06:20 one postfix/qmgr[5421]: CEBFD2944C9: from=<>, size=3472, nrcpt=1 (queue active) Mar 12 07:06:20 one postfix/bounce[5436]: C3B512944C3: sender non-delivery notification: CEBFD2944C9 Mar 12 07:06:20 one postfix/qmgr[5421]: C3B512944C3: removed Mar 12 07:06:22 one postfix/smtp[5438]: CEBFD2944C9: to=<[email protected]>, relay=mail.dom.tld[89.137.227.6]:25, delay=1.2, delays=0.01/0.01/0.22/0.93, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2EB7628771) Mar 12 07:06:22 one postfix/qmgr[5421]: CEBFD2944C9: removed I can't understand. But I'll keep trying until clarify. A little help will be much appreciated. Thanks allot. -- Best regards, Gmail-teopro mailto:[email protected]
