Bonjour!
Tried that. This is more of a case of purposeful obfuscation on the part of the sender (a spammer) that fakes all the return-path headers/normal from lines but connects, to the MTA with a valid IP/return email IP.
If I were able to log onto my ISP's servers, the initial "From" line in the
Berkeley mail format, I am told by my ISP admins, holds valid information,
but IMAP doesn't return this "From" line as part of a message as it is, technically,
considered envelope information. It's a case of MTA =>storing message in Berk.mbox,
then I download w/IMAP which ignores the header line thus losing the original
envelope information.
One might be able to frame that as an MTA issue, but it seems to be IMAP that
throws the original header information when I ask for the message. One could
simply answer that IMAP is insufficient to support transfer of header information,
as it is not designed to be an MTA, but I was hoping for something more useful.
There doesn't seem to be a method to tell IMAP to
download the whole message, Berkeley header included which would solve my problem.
Does that make the problem more clear? It's IMAP, seemingly, dropping needed
information.
Merci,
M. Linda Walsh
GaÃl Roualland wrote:
L Walsh a Ãcrit :
I have a setup where my ISP recieves my email and stores it in an IMAPs or POP accessible mailbox.
I usefetchmail to fetch the email, but everyonce in a while, fetchmail gets denied relay the email through my local sendmail because the sender domain that it reconstructs is invalid/non-existant. Problem is that the message stored on the server was stored with the original sender in the "From" line of the BSD mail-format mailbox, but this From line is technically not part of the message so when I IMAP it down to my server, the info is lost.
Seems to be a case of successive IMAPS losing valuable envelope-sender
info but I can't think of anyway to easily fix the problem without them
adding special header lines or something. At the same time there is
compatibility with other clients to consider, so while I might not have
a problem with a From line being attached to the beginning of a message,
other IMAP clients might.
This is more an MTA/MDA issue, but have a look at the Return-Path header.