[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mail, SMTP headers and things like that



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear List,

I am trying to find an official source for working out which mail headers are responsible for what. I am looking for somewhere describing the difference between "mail from:" and "from:" in the DATA section.

I would like to send mail from myself to a user - but if it bounces, I want that bounce to go back to 'postmaster@domain.com'.

Is doing what I have shown below supported? Reading the SPECs, It looks as if "Mail From:" and "From:" should be the same....

I am a little confused.

Thanks


Andrew




For example:

Standard SMTP session:

user@server:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 server.domain.com ESMTP Postfix (Debian/GNU)
helo world
250 server.domain.com
mail from:<postmaster@domain.com>
250 Ok
rcpt to:<hhhhh@someaddress.com>
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
FROM: me@domain.com
SUBJECT: Test2
.
250 Ok: queued as 55DAC30696B


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEhH2BW126qUNSzvURAvHTAJsEgyvK0IGgpl4KkX6BkrK7/A6WDwCeL/Af
gYByW8UmlDJyKpTbe9wMEKg=
=ZgAL
-----END PGP SIGNATURE-----



Reply to: