Hi Wietse!

> Michael Weissenbacher:
>> Sep 21 15:04:58 smtp1 postfix/smtpd[14679]: warning: unknown smtpd
>> restriction: "med"
> 
> That is also a configuration error.
>
This error was really HARD to track. Took me the whole day. But now i
finally found the real cause. On this server I am using the DNSWL from
www.dnswl.org, following the instructions found at
[http://www.dnswl.org/tech#postfix]. They provide a file named
postfix-dnswl-permit which is containing lines like this one:
137.208.3.15/32 permit_auth_destination med wu-wien.ac.at DNSWLId 7368

Apparently postfix can't cope with what comes after
permit_auth_destination, that's why is says 'warning: unknown smtpd
restriction: "med"' in the log file. Now i'm running this file through
some sed magic to remove everything behind permit_auth_destination and
the error messages disappeared. This was really hard to track because it
only occured when a connection was coming from an whitelisted IP address
AND tried to deliver to an invalid recipient.

I'm gonna contact dnswl.org about this issue. Thanks for pointing me in
the right direction.

cheers,
Michael

Reply via email to