On Sat, Sep 07, 2002 at 12:34:15PM +0530, H.S.Rai wrote: > As I came to know that sendmail add ">" before any line in message, > which start with "From", like example below:
I don't think sendmail does this. I don't think MTAs are even allowed to fiddle around with the content of emails they handle (though sendmail offers the API to do this, via milters ;-). >From escaping is done usually by procmail, the LDA. Its man page says as much. Let us see if the previous line gets escaped when this mail gets to us, ok? > Does it mean, every user is expected to be know that he should avoid > lines started with "From". Is it the only case with sendmail or all > other such mailing softwares? No. It is left to user email clients to remove the first character of a line if it begins with ">From ". They don't do it because it is possible that this is exactly what the sender intended (and not escaped by some intermediate software). The other important thing left to mail clients, ie, to run the equivalent of sed -e 's,^\.$,..,' (replacing a single period in a line with two periods), almost all mail clients get right. It should be noted that the From escaping you are talking about is superfluous in environments where mail storage is not in the mbox or derived formats. Binand -- If you found this helpful, please take some time off to rate it: http://svcs.affero.net/rm.php?r=binand ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
