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:
[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.