On 2/24/2012 5:33 AM, Wietse Venema wrote: > Noel Jones: >> Please refer to the recent incredibly long and wandering thread on >> postfix-users with subject: Need to clarfiy how to implement >> spamtrap address checking & discard with before-queue filtering. >> >> Is there any interest in a REJECT_ALL/REJECT_DAMMIT access action? > > I thought the poster wanted to dicard, not reject? > > Wietse
Part of the discussion was that there is no convenient way to reject all recipients of a message based on a single blacklist recipient, which would have eliminated the need for DISCARD -- a message-level action -- in this case. The alternative is to PREPEND a "X-RejectMe: Yes" header, then REJECT that header in header_checks, which I suppose isn't all that bad. -- Noel Jones > >> My thought is a flag similar to DEFER_IF_PERMIT that issues a 5xx at >> DATA. >> >> Something like this in access(5) >> REJECT_ALL_RECIPIENTS optional text... >> Reject all recipients of a single- or multi-recipient >> message. Reply with "$access_map_reject_code optional >> text" when optional text is specified, otherwise reply >> with a generic error response message. >> >> >> -- Noel Jones >>
