question on batch email sending

Howard Jones howie at thingy.com
Thu Nov 30 09:22:07 PST 2006


David Banning wrote:
> I have a standard mailbox with around 40 messages. I want to be able
> to just send them all to someone, the same person, not as an
> attachment but as individual emails. I want to do something like;
>
> cat /var/mail/frank | someprogram franksnewaddress at franksdomain.com
>
> So that Frank can just get it into his regular inbox. I realize that 
> I could just ask Frank to pop it off the server but then he would have
> to setup for just one occasion. Is there a way to do what I want?
>   
Take a look at formail, which comes as part of procmail. It lets you
iterate through messages in an mbox-formatted mailbox in various ways.

In fact, here's a thread about it:
   http://www.mhonarc.org/archive/html/procmail/2002-06/msg00019.html

Have fun!

Howie


More information about the freebsd-questions mailing list