[Mimedefang] Writing to an MBOX file

Les Mikesell les at futuresource.com
Tue Mar 21 08:47:32 EST 2006


On Tue, 2006-03-21 at 06:06, 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
> 
> Currently, I have managed to install mimedefang and run the sample
> script (mimedefang-filter)
> 
> I did look through the documentation (How Tos and FAQs) and the mailing
> list but did not find what I am looking for
> 
> Where can I go to find out the syntax/commands required 
> 1) to write qualifying emails to a local file?

I'd use add_recipient() and let sendmail/procmail worry about
the details of the file format and locking.  You might have to
add a dummy user to own the mailbox, though.

-- 
   Les Mikesell
   les at futuresource.com





More information about the MIMEDefang mailing list