Setting Return-Path Header Other than Sender Address using SMTP command.

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-04-14T04:42:39Z Indexed on 2010/04/14 4:42 UTC
Read the original article Hit count: 455

Filed under:

Greetings all.

I'm faced with an issue with basic SMTP.. I would like to set the return-path header to an address other than the Sender address (i.e. From: Header) using SMTP command. I know MAIL -F sets it. However, I issued the following sequence of commands into my mail daemon (TELNET rlogin) and got the SMTP error 503 - Bad Command Sequence

TELNET HELO: MAIL FROM : MAIL -F: RCPT TO: Subject: Test Bounce

test mail for bounce functinlaity

quit

Can anyone of you please suggest me a possible way out of this? I will be grateful.

Cheers, Matt.

© Stack Overflow or respective owner

Related posts about smtp