Hello,

  That's a task for your MTA, not for dbmail.  In fact I can't think
of a way to make dbmail do that without hacking the source.  What MTA
do you use?  Eg. with postfix, a couple options would be to change
the command that runs from master.cf (not using lmtp) to a little
shell script that both saves the mail and forwards a copy to dbmail
(eg. use something like "tee -a /tmp/allmymail | dbmail-smtp -d $1",
or use postfix's always_bcc setting to forward a copy of all mail to
a specific user, and have it write to their mbox (rather than using
the dbmail transport).  Give it a try and hollar back to the dbmail list
with what you've got/done if still needing more help.

Jesse

---- Original Message ----
From: Kasper Haagensen <dbmail-dev@dbmail.org>
To: dbmail-dev@dbmail.org
Subject: [Dbmail-dev] @domain.com to perl
Sent: Thu, 10 Feb 2005 14:05:37 +0100

> Hi
> 
> A small quastian, can i get dbmail to write all mail from a domain to a 
> text file (perl script) ?
> 
> I have look all over the net, for doing this with postfix.
> If just one of you, have a hint where to look.
> 
> Kasper
> 
> PS: Know it is maybe not the right list, to post  this.
> 
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 
-- End Original Message --


--
Jesse Norell
jesse @ kci.net

Reply via email to