On Tue, 21 Mar 2006, Jasmeet Bawa wrote:
I need to (based on sender address) copy mails coming into sendmail to a certain file (in mbox) format and then continue with the email as normal
during filter_begin() or filter_end(), you'll have a local file './ENTIRE_MESSAGE' holding the entire message. Append a newline, a "From $Sender\n" and the content of that file to your mbox file. However, read about mbox locking, if you want to read that mailbox, simultaneously.
Where can I go to find out the syntax/commands required 1) to write qualifying emails to a local file?
man perl man perlre The Camel book from O'Reilly man mimedefang-filter Bye, -- Steffen Kaiser _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

