On 12/14/2011 1:40 AM, Tomas Macek wrote: > On Tue, 13 Dec 2011, Tomas Macek wrote: > >> >> >> On Mon, 12 Dec 2011, Noel Jones wrote: >> >>> On 12/12/2011 7:08 AM, Tomas Macek wrote: >>>> I'm using Postfix 2.8.5 built from source and amavisd-new 2.6.4 >>>> from >>>> Scientific Linux distribution. I have virtual domain >>>> 'virtdom.cz' and >>>> some subdomain 'subdomain.virtdom.cz'. The server receives the >>>> message and >>>> passes it to amavisd-new. >>>> >>>> As you can see from the config, the re...@virtdom.cz shlould be >>>> rewritten to >>>> re...@subdomain.virtdom.cz and then passed to amavisd-new. The map >>>> always >>>> finds the key/value pair, but then Postfix does not pass the newly >>>> found >>>> address to amavis. Why? >>>> Below are 2 different cases, that appear - the first one is bad >>>> delivery, the >>>> second is the proper one where things work properly as expected. >>>> You can see it on the recipient address passed to the >>>> amavisd-new on port 10024 (find ESMTP::10024). I cannot fully >>>> reproduce this >>>> error, it happens somehow. >>> >>> Typically this is caused by improper use of >>> receive_override_options = no_address_mappings >>> somewhere in your config. >> >> Even if proper and bad behaviour happens accidentaly? >> I will try to setup another server and will try to tune the setup. >> >> Tomas >> > > After doing some testing it seemed that it did not work only if mail > goes through smtps, so I removed the no_address_mappings from the > line with smtps in my master.cf and now it works (thanks to Noel!) > Strange is, that one of our customer said, that he made things > working by removing antivirus software from his computer :-)) > > Regards Tomas >
It's not unusual for desktop antivirus software to muck with the SMTP conversation, silently changing or disabling commands the AV doesn't like for some reason. I could believe that customer's AV was forcing smtps on the outgoing connection, which would explain the behavior. It should be fixed now regardless of which port is used. -- Noel Jones