Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Connect to a mailserver using telnet on port 25. One can specify recepient with rcpt to.
Subject can be specified with subject: in the datapart of the message.
How does one specify 'reply to', 'cc' and 'bcc'? Tried to find it in rfc2821, but don't seem to be able to find it.
And also that a 'from' is required if one uses reply-to.
I didn't find that to be the case, since a missing 'From:' line is always generated based on the 'MAIL FROM:' envelope, at least with postfix. The address following 'Reply-To:' probably does not show in your MUA as the originator of the mail, but it's still there in the headers. It's only when you try to repond to the message that the address is used.
I've tried it again with different sequences of 'subject' and 'reply-to' and now it works every time. I guess I made some mistakes in my php-code that caused funny behaviour (reply-to in message instead of in field).
If I do not include the 'from', I do not see a 'from' in the received email. It might be that this is caused by the server; I'm connecting directly to an exchange server (not using sendmail) and cannot change its behavior. I can live with this.
Thanks again.
Last edited by Wim Sturkenboom; 06-30-2006 at 12:13 AM.
I haven't; it was basically a more generic question.
It's long ago that I ran into a (this) problem, so I don't know the exact story anymore. I was (I am) using telnet to communicate with an exchange server.
Thanks very much for the kind reply.
I am also using telnet to communicate to the server.
There I tried using cc: and bcc: inside the data area but its not working.
Anyway thanks for the reply.
Last edited by ThePatriot; 11-14-2007 at 12:16 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.