OSEC

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: mouss (usebsdfree.fr)
Date: Sat Apr 08 2006 - 14:53:06 CDT


Pascal Maes wrote:
>
> Le 8 avr. 06 à 10:25, Andreas Winkelmann a écrit :
>
>> 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.
>>
>
> main.cf (extract)
>

- configure your DISCARD rule.
- use postconf -n to get the config used by postfix (main.cf may be
different). => post the results
- test with postmap -q => post the results
- send a message that should trigger the discard
- post the corresponding logs => post these