Hello,
I would like to rewrite the message of many Mailing List to make easier the
filter of Mail Clients.
So, here is my global procmail configuration:
PATH="$PATH:/usr/bin:/usr/sbin:/bin"
REJECT=/usr/pkg/etc/spamassassin/return.txt
FORMAIL="/usr/pkg/bin/formail"
SENDMAIL="/usr/sbin/sendmail -oi -t"
DEFAULT=/var/mail/${LOGNAME}
LOGFILE=/var/log/procmail.log
DROPPRIVS=yes
LOCKFILE
:0fwc
| spamc -f -p 783
:0
* ^List-Post: <mailto:bugtraq(_at_)securityfocus(_dot_)com>
{
:0
{ SUBJ_=`formail -c -xSubject: \
| sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` }
:0 fhwi
| formail -I"Subject: [BUGTRAQ] ${SUBJ_}"
:0:
${DEFAULT}
}
:0e
{
EXITCODE=$?
}
But it doesn't work. However, procmail seems to catch the mail from bugtraq but
the message doesn't arrive in the mail file of the user.
So what is the matter? Do U have a clue or a solution for me?
Thanks
Franck MAHE
CIVIS.NET - mahe(_at_)civis(_dot_)net
http://www.civis.net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail