On Mon, 2 Feb 2009, Ralf wrote: > Hi Davide, > > just a newbie question regarding the SMTP standard: > > I wonder why besides "MAIL FROM:" and "RCPT TO:", > there are also these fields in the mail header: > "From:", "To:" (and optionally "CC:" and "BCC:") > > When do these fields do differ from each other? > I mean what's the difference between "MAIL FROM:" and "From:", > and the difference between "RCPT TO:" and "To:" ? > > Recently I received a spam mail which was in the "To:" field > adressed to someone else at an other domain, but it was delivered > to me because in "RCPT TO:" my email adress was specified. > > Is this case a bug of xmail or is it one of the shortcomings > of the SMTP standard?
They are two different things. The former are part of the SMTP protocol: http://www.ietf.org/rfc/rfc2821.txt While the latter part of the message format: http://www.ietf.org/rfc/rfc2822.txt If you're into mail admin, you cannot avoid the above read. - Davide _______________________________________________ xmail mailing list [email protected] http://xmailserver.org/mailman/listinfo/xmail
