procmail
[Top] [All Lists]

Re: Email Notification generated by Procmail

2003-07-08 09:51:26
Hi!

The easiest way would be to write a shell script to simply email the
procmail log to oneself (and at the same time, rotate the procmail log, so
that those entries are not in the next message thus sent).

Sounds not that complicated... I have to try it... :-)

As to which users -- that sounds like you want to see a global picture of
procmail events - but if the USERS individually are running their own
.procmailrc files, then their own logging will occur once the message has
passed from the /etc/procmailrc file (where I assume you'd be setting up
this global procmail log).  Unless your global procmailrc is doing the
delivering (i.e. the user doesn't have their own procmailrc), you won't
log
what happens to the message after it leaves the global script.

You're right, I'm delivering mail to specific users through the glocal
procmailrc file, and for my purposes (just having a little chance to see
which user was actually receiving the mail, no matter what this user is
doing with it, even through an individual procmail recipe) it would be more
than enough to have the procmail log being emailed to me.

Thanks for that idea!

Eduard


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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