[Mimedefang] Writing to an MBOX file

Larry Starr larrys at fullcompass.com
Tue Mar 21 10:23:26 EST 2006


On Tuesday 21 March 2006 07:47, Les Mikesell wrote:
> 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.

I'd also vote for the "add_recipient()", you can set up an alias that delivers 
to the file without, necessarily, having to add a "dummy" user.

-- 
Larry G. Starr - larrys at fullcompass.com or starrl at globaldialog.com
Software Engineer: Full Compass Systems LTD.
Phone: 608-831-7330 x 1347  FAX: 608-831-6330
===================================================================
There are only three sports: bullfighting, mountaineering and motor
racing, all the rest are merely games! - Ernest Hemmingway




More information about the MIMEDefang mailing list