|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)
Date: Wed Apr 09 2008 - 08:21:17 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
John Tobin:
> 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.
Wietse:
> 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
"warning".
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]