|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: access file : DISCARD vs REJECT
From: Andreas Winkelmann (ml
awinkelmann.de)
Date: Sat Apr 08 2006 - 03:25:50 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am Saturday 08 April 2006 09:14 schrieb Pascal Maes:
> >> You're right and REJECT will do the job,
> >> but I wonder why DISCARD is not working.
> >> If you have an idea (I have also posted an extract of the logfiles).
> >
> > just speculating: mailscanner interaction?
>
> No.
> The access file is used at the first instance of Postfix,
> before the use of greylisting and mailscanner.
How did you include your content-filter? Pre- or Post-Queue? Please show your
Configuration. "postconf -n" and master.cf.
> The DISCARD should happen at the same time as the REJECT
The DISCARD cannot happen at the same time. How should this work? The first
time when Postfix can Discard a Mail is, when Postfix has taken it complete
from the Client, not before. If Postfix aborts the Connection before, the
Client will try to send the Mail again and again...
<Connect>
HELO xxx
MAIL FROM: yyy
RCP TO: zzz
DATA
<DATA>
.
<OK from Postfix>
<Here is the first moment where Postfix can Discard a Mail>
The REJECT can happen somewhere between <Connect> and OK.
--
Andreas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]