PROCMAIL:
at /etc/sendmail.cf line: Mlocal
change only the words with S=
and R= to this: S=10/30, R=20/40
restart sendmail.
mkdir /etc/procmail
download from:
ftp://ftp.rubyriver.com/pub/jhardin/antispam/procmail-security.html
the current senitizer tarball and put it at
/etc/procmail
tar zxvf procmail-sanitizer.tar.gz
put procmailrc as is (from scripts) at /etc
info:
-if u want to privent *.mpg from getting into your site:
add at /etc/procmail/poisoned-files *.exe
(or any other extantion)
and also in section: MANGLE_EXTENSIONS at
/etc/procmail/html-trap.procmail
-doesnt work with Hebrew attachments!
(to stop annoying mail at /etc/procmailrc
put # before these 2 lines:
SECURITY_NOTIFY_VERBOSE="root", SECURITY_VERBOSE="suporte".
-to give a personal message when an attachment
is in change at:
/etc/procmail/html-trap.procmail
-->"from securiti daemon" to "ros computers
safe server!!")
errors:
-log at /home/user_name/procmail.log
(if at maillog it complanes that he
cant write to procmail.log give it 777 access).
-procmail doesnt work for all extantions unless
they r writen at above!
|