Re: question on batch email sending

2006-11-30 Thread Bill Moran
In response to David Banning [EMAIL PROTECTED]:

 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 [EMAIL PROTECTED]
 
 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?

fetchmail was designed for this sort of thing.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on batch email sending

2006-11-30 Thread Howard Jones
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 [EMAIL PROTECTED]

 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on batch email sending

2006-11-30 Thread Jerry McAllister
On Thu, Nov 30, 2006 at 12:05:12PM -0500, 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 [EMAIL PROTECTED]
 
 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?

Try going in to MUTT, tagging them att (;t) and then 'bouncing' 
then to the other address.   That should take only a few seconds
effort if you have MUTT installed and a few minutes if you need
to install it.

jerry

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on batch email sending

2006-11-30 Thread Dan Busarow


On Nov 30, 2006, at 10:05 AM, 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 [EMAIL PROTECTED]

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?


If you have procmail installed

cat /var/mail/frank | formail -s sendmail  
[EMAIL PROTECTED]


Dan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on batch email sending

2006-11-30 Thread Lane
On Thursday 30 November 2006 11:05, 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 [EMAIL PROTECTED]

 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?


 ___
If you are using sendmail you might just alias the mailbox to the user.  That 
way the messages get forwarded to the user upon arrival, rather than on a 
schedule or with manual intervention.

lane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]