We would like to write a copy of all messages passing through our mail
server to a file. We will then process the file with a archiver (mohnarc)
to build a html based archieve.
The procmailrc I have conjured up is:
[root@trout mailstore]# cat procmailrc-dev
MAILDIR=/usr/richard/mailstore # You'd better make sure it exists
LOGFILE=/usr/richard/mailstore/procmail_logfile
VERBOSE=yes
###LOGABSTRACT=all
FOLDER=`date +%Y%m%d`
DUMMY=`test -d $FOLDER || mkdir $FOLDER`
:0c
${FOLDER}
[root@trout mailstore]#
Which works fine when installed as /etc/procmailrc --- only for mail
delivered locally.
How do I get sendmail to call it for all mail???? I presume sendmail Rule
Set 0, but I am unsure of the syntax.
TIA,
Richard.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug