10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] script to send Maildi...
FromSent OnAttachments
Jim RiceApr 7, 2006 4:41 pm 
Sam VarshavchikApr 7, 2006 5:20 pm 
Jim RiceApr 7, 2006 6:04 pm 
Sam VarshavchikApr 7, 2006 8:03 pm 
Ron JohnsonApr 7, 2006 10:04 pm 
Sam VarshavchikApr 8, 2006 7:30 am 
moussApr 8, 2006 2:42 pm 
Ron JohnsonApr 8, 2006 4:03 pm 
moussApr 9, 2006 1:32 am 
Jim RiceApr 10, 2006 7:15 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] script to send Maildir/new messages to another address?Actions...
From:Jim Rice (ji@bydesignpublishing.com)
Date:Apr 7, 2006 6:04:45 pm
List:net.sourceforge.lists.courier-maildrop

On Fri, 2006-04-07 at 20:20 -0400, Sam Varshavchik wrote:

Jim Rice writes:

A user has dozens of email messages in their Maildir/new folder...

1144448468.M650845P24805V0000000000000803I0099C08C_0.production,S=3097

as an example.

Is there a handy script/command for parsing this message for the From/Subject/... header info and resending it to another address, while preserving their attachments, etc.?

for f in $MAILDIR/new/* do sendmail user@domain <$f done

Yes, but that will not preserve the MIME encapsulation. It will just send the base64 encoding as text. It will appear as gobbledy-goop to the user, who will not likely have munpack or other such utilities.

I want to send them in their original format, complete with appropriate headers. From, Subject, Date, etc. And have them arrive with files attached, not as useless text.

Thanks.

PS: The user is in London, and for whatever reason, he cannot connect to our server, and wanted his mail sent to his Yahoo account instead.

It seems that it will be faster to fix the connection problem first...