[Esd-l] Quarantine Bounces

Victor victord at paid.com
Tue Dec 10 10:27:01 PST 2002


What is the proper way to NOT quarantine mail?
I want mail to just be bounced back.

I run postfix with impsec filter and it seems when mail is sanitized, 
procmail returns with code 65 and postfix generates a data format error.

Anyone else experience that?

Here is my config:
procmail --version : 3.22
impsec 1.136

######################################################################
# IMPSEC DEFANG SCRIPT
######################################################################
PATH="/usr/bin:$PATH:/usr/local/bin"
SHELL=/bin/sh
POISONED_EXECUTABLES=/etc/procmail/poisoned-files
STRIPPED_EXECUTABLES=/etc/procmail/stripped
SECURITY_NOTIFY="spam"
SECURITY_NOTIFY_VERBOSE="spam"
SECURITY_NOTIFY_SENDER=/etc/procmail/local-email-security-policy.txt
SECRET="*********************"
SECURITY_POISON_WINEXE=YES
POISONED_SCORE=25

# This file must already exist, with proper permissions (rw--w--w-):
SECURITY_QUARANTINE=/var/spool/mail/quarantine
SCORE_HISTORY=/var/log/macro-scanner-scores
# Alternatively, use per-user score logs:
# SECURITY_QUARANTINE=$HOME/quarantine
# SCORE_HISTORY=$HOME/macro-scanner-scores
#
DROPPRIVS=YES
# LOGFILE=$HOME/procmail.log
#
# Finished setting up, now run the sanitizer...
INCLUDERC=/etc/procmail/html-trap.procmail
#
# Reset some things to avoid leaking info to the users...
POISONED_EXECUTABLES=
STRIPPED_EXECUTABLES=
SECURITY_NOTIFY=
SECURITY_NOTIFY_VERBOSE=
SECURITY_NOTIFY_SENDER=
SECURITY_POISON_WINEXE=
POISONED_SCORE=
SECRET=
######################################################################
# IMPSEC DEFANG SCRIPT
######################################################################

/var/spool/mail/quarantine is not writable so, as I understand, that 
should make mail bounce?



More information about the esd-l mailing list