Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Wietse Venema (wietseporcupine.org)
Date: Wed Apr 09 2008 - 08:21:17 CDT
> This works properly for everything except reject_unlisted_sender and
> reject_unlisted_recipient - when I have
> warn_if_reject reject_unlisted_recipient, reject_unlisted_recipient
> in smtpd_recipient_restrictions unknown recipients are not rejected.
> That's a bug. The code that implements reject_unlisted_recipient
> is skipped if it has somehow already executed for that recipient.
> To fix this, it not only has to remember that a test was done,
> but also remember the result of that test. That's a bit more
> change than I am comfortable with doing just on the spot.
Fixing this requires major code restructuring. When I modify
reject_unlisted_recipient etc. to remember the result, it remembers
the result that was changed by warn_if_reject from "reject" into