procmail
[Top] [All Lists]

Filtering outgoing mail

1998-02-21 10:48:08
Hi, I am trying to log all outgoing email.. I have read the archives and
have come up with the following:

My sendmail has been renamed and is now:
-----------
#!/bin/sh
procmail -m /etc/procmailrc.outgoing "$@"
-----------

procmail.outgoing is:
-----------
:0 c
/var/spool/mail/postmaster

:0
! "$@"
-----------

Now, wheen I attempt to send mail out, procmail complains that it can not
open/write to /var/spool/mail/postmaster (which exists). I also have
procmail logging all incoming mail to postmaster which works fine. Any
ideas? Thanks in advance.

-matt rung
-Matt Rung - [ mrung(_at_)mindspring(_dot_)com / matt(_at_)ccdweb(_dot_)com ]
- Creative Computer Designs - [ http://www.ccdweb.com ]

<Prev in Thread] Current Thread [Next in Thread>
  • Filtering outgoing mail, M. Rung <=