LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2006, 02:23 AM   #1
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
[smtp]reply to, cc and bcc


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.
 
Old 06-29-2006, 02:38 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
reply-to, cc, bcc, and subject are header fields (as opposed to envelope) and are therefore listed after the DATA command. See rfc 822.
 
Old 06-29-2006, 07:02 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
Thanks for the link. I was trying to get 'reply-to' working

Problem seems to have been in the sequence of the fields. And also that a 'from' is required if one uses reply-to.

Last edited by Wim Sturkenboom; 06-29-2006 at 07:15 AM.
 
Old 06-29-2006, 10:02 AM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
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.

Last edited by Berhanie; 06-29-2006 at 10:09 AM.
 
Old 06-30-2006, 12:12 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 11-13-2007, 05:23 AM   #6
ThePatriot
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
specify 'cc' and 'bcc'??

How and where did u specify the 'cc' and 'bcc'?
Also have u tried multiple recipients?
 
Old 11-13-2007, 10:56 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 11-13-2007, 11:11 PM   #8
ThePatriot
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
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.
 
  


Reply

Tags
bcc, cc, smtp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.procmailrc and BCC jayakrishnan Linux - Networking 1 03-10-2006 01:10 AM
Using BCC in Postfix clickster Linux - Software 3 06-14-2005 02:41 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM
postfix + procmail + BCc: not recieving BCc sebastianjustin Linux - Networking 0 08-26-2003 02:38 AM
Evolution - reply - missing own reply emanuelgreisen Linux - Software 0 01-31-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration