procmail
[Top] [All Lists]

Only work with user root

2000-11-13 14:15:01
Hi list,

I have one Linux Redhat 5.2 with sendmail-8.8.7-20 and procmail-3.10-13. It is 
mail server and my users were create with shell and home directory /dev/null. I 
need block all email's with attached *.exe and I instaled the 
procmail-sanitizer.tar.gz. The problem is that the rule anly work for user 
root, the another users the rules don't work. I need put thie rules for all my 
users.

What i did so now,

My /etc/sendmail.cf

Mlocal,         P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
                   T=DNS/RFC822/X-Unix,
                   A=procmail -Y -a $h -d $u

My /etc/procmailrc
# inicializacao
VERBOSE-no
LOGABSTRACT=all
MAILDIR=/var/spool/mail
DROPPRIVS=YES
LOGFILE=/var/log/procmail.log
PATH="/usr/bin:$PATH"
SHELL=/bin/bash

# arquivo contendo descricoes de NOMES de virus conhecidos
POISONED_EXECUTABLES=/etc/procmail/pfile

# usuario local que deve receber AVISO de virus
SECURITY_NOTIFY="root"

# usuario local que deve receber COPIA de virus
SECURITY_NOTIFY_VERBOSE="root"

# nome do arquivo para enviar ao remetente - nao esqueca
# de cria-lo
SECURITY_NOTIFY_SENDER="/etc/procmail/to_sender.txt"

SECURITY_QUARANTINE_OPTIONAL=foo
POISONED_SCORE=25
SCORE_HISTORY=/var/log/macro-scanner-scores
SECRET="mudemude"
# roda o filtro
INCLUDERC=/etc/procmail/html-trap.procmail

# limpa variaveis antes de terminar
POISONED_EXECUTABLES=
SECURITY_NOTIFY=
SECURITY_NOTIFY_VERBOSE=
SECURITY_NOTIFY_SENDER=
SECURITY_QUARANTINE=
SECRET=

So I need help,


Thanks



<Prev in Thread] Current Thread [Next in Thread>