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:Ron Johnson (ron.@cox.net)
Date:Apr 8, 2006 4:03:39 pm
List:net.sourceforge.lists.courier-maildrop

On Sat, 2006-04-08 at 23:42 +0200, mouss wrote:

Ron Johnson wrote:

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

Jim Rice writes

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

Jim Rice writes:

[snip]

I couldn't get Postfix's sendmail to do anything puke it back in my face, but did MIME encapsulate it. BSD Mail actually actually sent the mail, but did not encapsulate it.

Here's the sendmail message:

This is the Postfix program at host haggis.homelan.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The Postfix program

<me@haggis>: mail forwarding loop for me@haggis

you are trying to redeliver the mail to the same user it was already delivered too. you must make sure not to create an infinite loop. if you are certain, then just remove the first Delivered-To header. postfix uses this header to check for delivery loops.

so do something like:

# grep -v -m 1 "^Delivered-To:" | sendmail ....

but again, don't do this automatically for all delivered mail.

That got me thinking, and this worked: $ /usr/sbin/sendmail -v -F "Ron" \ -f ron.@cox.net \ -r ron.@cox.net ronj@yahoo.com \ < some_maildir_file

The original problem was that I emailing it to the original person (me) that the email had been sent to.

When I emailed it to my yahoo address, it worked perfectly.

Unexpectedly (for me, at least), the From: and Date: fields stayed the same.

"This is a court of law, young man, not a court of justice." Justice Oliver Wendell Holmes, Jr.