Re: Why can't I discard from smtpd_sender_restrictions with smtpd_delay_reject=no?

From: Wietse Venema (no email)
Date: Mon Sep 01 2003 - 11:24:02 EDT


Matthias Andree:
> What is the reason why Postfix refuses DISCARD in smtpd_sender_rest*
> when smtpd_delay_reject=no? Is that an implementation artifact or is
> there a good reason for this:
>
> | warning: access table regexp:/etc/postfix/regexp_sender_access:
> | with smtpd_delay_reject=no,
> | action DISCARD is always skipped in Sender address restrictions
>
> I for one know that if my regexp says DISCARD it means DISCARD no matter
> what other (recipient) map might say OK. I seem to be missing something
> blatantly obvious, and I seem to be unable to find information on this
> topic in the list archives.

I tried to store the client/helo/sender actions such as filter,
discard, redirect, etc. in memory. Doing the right thing with stored
actions and BOTH smtpd_delay_reject=yes/no was gross, just like
defer_if_permit/reject but much worse. I worked on it for a couple
days and abandoned the idea.

Use the delegated policy mechanism.

        Wietse








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD