Phillip Hutchings [EMAIL PROTECTED] wrote:
> > [...]
> > You might want to always consider the "From:" header the sender
> > address *for simplicity of code*, but be aware that it's just plain
> > wrong.
> 
> Tell that to all the people that write clients. Outlook 2000 MAY
> support it, but many don't. Most webmail systems and Apple Mail (what I
> use) doesn't. It may be plain wrong, but it happens a lot.
> 
> Likewise, MIME should be formatted a certain way, but 99% of
> programmers seem to be unaware of this, judging by the number of
> automated messages that get wrapped by courier.

Of course you are right in that a lot of software is sloppy.  But that doesn't justify 
advising implementors or admins to be sloppy, too.  If Lorenzo Perone is going to 
write his own filter, he'd better do it right.  Especially since it really isn't much 
of an effort to use the "Sender:" header instead of "From:", if it's there.

> > Second, IMO it *does* make sense to rely on the envelope sender if you
> > somehow verify its validity [...] and then overwrite any existing
> > "Sender:" header with it [...]
> 
> That's a good point. I know my domain has SPF, though I don't actually
> run any spf checks yet. I'm considering installing Courier::Filter's
> SPF filter. If a filter that processed the envelope sender and rewrote
> the Sender: header existed, I would probably use it. It's useful to
> know.

Courier::Filter, and courierfilters in general, cannot modify messages due to a 
limitation in Courier, so I'm going to write a maildrop script or something similar to 
do just that.  I'm performing SPF checks already, thus I consider the envelope senders 
of my incoming mail to be validated.  So I can just use an independent maildrop script 
to rewrite the "Sender:" header.  I'll post here as soon as I have a working solution.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to