MLMMJ Mailing List Manager
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] deletion of From-header
Date: Fri, 14 May 2010 01:18:05 +0000	[thread overview]
Message-ID: <4BECA4CD.6050201@yahoo.com.au> (raw)
In-Reply-To: <20100513192626.4a9759e8@telenet.be>

The "From " header isn't truly a header. It is, however, how the
envelope sender is often communicated to mlmmj by the MTA. A line of the
form "From emailaddress@domain.tld" is prepended to the mail, the same
as in mbox files. It needs to be removed precisely because it is not
truly a header. To be honest, it would perhaps be better to simply
swallow the first line of input if it had that form, but doing it the
current way works, too; no valid header will have that form, so we won't
remove too much, and by ensuring we do remove it, we don't remove too
little (which would result in invalid mails and much nastiness).

Cheers,

Ben.



On 14/05/10 3:26 AM, Franky Van Liedekerke wrote:
> Hi,
>
> in the source code there's a line:
>
> delheaders->strs[delheaders->count++] = mystrdup("From ");
>
> effectively deleting a header called "From " in a mail, but this never
> happens in reality (maybe it does with feeded mails via a program); the
> header is always "From:".
>
> For now this always forced me to add "From:" to the delheaders section,
> but maybe this can be changed? Maybe just by removing it from the code
> entirely (so people can choose wether or not to remove the
> "From:"-information) ?
>
> Just a thought ...
>
> Franky






      reply	other threads:[~2010-05-14  1:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13 17:26 [mlmmj] deletion of From-header Franky Van Liedekerke
2010-05-14  1:18 ` Ben Schmidt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BECA4CD.6050201@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox