|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Adding HOLD_DEFER to access - Postfix access table format ?
From: Noel Jones (njones
megan.vbhcs.org)
Date: Mon Feb 12 2007 - 11:09:10 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:48 AM 2/12/2007, Victor Duchovni wrote:
>On Mon, Feb 12, 2007 at 06:41:46PM +0200, catam wrote:
>
> >
> >
> > Hi
> > I am thinking to make a version of greylisting where mails
> > are put in HOLD queue and server reply with defer
> > (using smtpd_end_of_data_restrictions + check_policy_service)
> > This way I could fast deliver some msg if needed. But for this
> > a new action needs to be added to access table , maybe HOLD_DEFER
> > and HOLD_REJECT ?
>
>This requires Postfix to queue the message and reject it, which as
>you observe calls for new code. Such a feature is not currently on
>the todo list, but it can be emulated with a pre-queue proxy filter.
>
>When you see ".", just return 4XX to the pre-filter SMTP server, and send
>"." to the downstream SMTP server.
>
>--
> Viktor.
This can currently be done with:
- amavisd-new as a pre-queue smtpd_proxy_filter can quarantine
rejected mail as Viktor describes above. Note that using amavisd-new
as a smtpd_proxy_filter apparently works but is not supported by the
author. It probably wouldn't be difficult for a perl wizard to
modify the smtpprox framework for a similar function.
- clamav-milter can quarantine rejected virus mail (with postfix 2.3
or newer). I assume other milters have similar capability, or one of
the perl milter frameworks can be modified as needed.
--
Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]