|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: John Tobin (tobinjt
cs.tcd.ie)
Date: Wed Apr 09 2008 - 07:57:36 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Apr 09, 2008 at 08:35:28AM -0400, Wietse Venema wrote:
> John Tobin:
> > G'day all,
> >
> > On our mail system I want to list every restriction we use in
> > smtpd_recipient_restrictions twice: once with warn_if_reject, and once
> > without. This will allow me to see all the restrictions that would have
> > caused a rejection, not just the first.
> >
> > 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 but more
> change than I am comfortable with doing just on the spot.
>
> Wietse
Hi Wietse,
Thanks for the speedy reply. I'll treat both reject_unlisted_recipient
and reject_unlisted_sender specially until this is changed in a future
release.
--
John Tobin
" . . . called em -- Editor for Mortals -- since only immortals could
use ed to do anything. By the way, before that summer, we could only
type in uppercase. That summer we got lowercase ROMs for our terminals.
It was really exciting to finally use lowercase."
-- Bill Joy, http://www.linux-mag.com/1999-11/joy_04.html
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]