Alessandro Vesely writes:

On 05/Aug/10 05:45, Sam Varshavchik wrote:
Alessandro Vesely writes:
On 02/Aug/10 22:52, Sam Varshavchik wrote:
There are obvious benefits to standardizing the format of
all outgoing messages. I think that's a worthwhile thing to do.

If I could have it just for outgoing messages, I'd take it: It would (also) make signatures more robust.

There are three other places where dorewrite gets set, as a result of
real defects in the mime formatting of a message, rather than minor
technical faults. This change does not stop mail headers from getting
rewritten.

I think what you really want is to set MIME=none in courierd. That
completely turns off MIME rewriting. I don't think code changes are
required.

Heck, you're right! I didn't know I could set that in courierd. Thanks for pointing it out. I've just realized how much of a dickhead I am...

No, that's quite all right. There are a lot of moving pieces involved in the entire process, from start to finish. Even I can't always remember everything, I have to look at the code to remind myself.

You can even take it to the next stage -- selectively. Instead of setting MIME=NONE globally (well, for everything that's started from courierd, which includes courieresmtpd, and subsequently submit when it gets invoked by courieresmtpd), you can selectively set MIME=none in smtpaccess, so that it's set only for clients that are connected from selected IP address ranges. It doesn't matter how MIME gets set, as long as its set. That goes pretty much for any environment variable.

Attachment: pgp6eb6CSX3mg.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to