Difference between revisions of "Mail Talk SMTP and POP"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m
Line 35: Line 35:
 
  dele 2
 
  dele 2
 
  quit
 
  quit
 +
 +
== strict RFC smtp server syntax ==
 +
 +
Disallowing illegal syntax in MAIL FROM or RCPT TO commands. This may cause problems with home-grown applications that send mail, and with ancient PC mail clients. For this reason, the requirement is disabled by default ("strict_rfc821_envelopes = no").
 +
 +
* Disallowing RFC 822 address syntax (example: "MAIL FROM: the dude <dude@example.com>").
 +
* Disallowing addresses that are not enclosed with <> (example: "MAIL FROM: dude@example.com").
 +
 +
use this syntax:
 +
 +
MAIL FROM:<marysue@hughes.net>
 +
250 2.1.0 Ok
 +
RCPT TO:<marysue@hughes.net>
 +
554 5.7.1 <marysue@hughes.net>
 +
 +
  
 
[[Category:Computer_Technology]]
 
[[Category:Computer_Technology]]
 
[[Category:Software]]
 
[[Category:Software]]

Revision as of 16:00, 1 July 2008

Standard SMTP Conversation

Mailserver says: 220 mailserver.domain.com SMTP ... Greetings
    Sender says: Helo sender.host.name
Mailserver says: 250 Nice to meet you
    Sender says: Mail From:<sender@his.address>
Mailserver says: 250 Sender ok
    Sender says: Rcpt To:<recipient@his.address>
Mailserver says: 250 Recipient ok
    Sender says: Data
Mailserver says: 354 Enter mail, end with "." on a line by itself
    Sender says: Blah, blah, blah...            
    Sender says: <enter>.<enter>
Mailserver says: 250 Message accepted for delivery
    Sender says: Quit

SMTP Commands to Issue Example

HELO python.directsales.com
MAIL FROM:manager@computersupply.com
RCPT TO:james@directsales.com
Data
BLAH BLAH BLAH
.
QUIT

POP3 Commands to Issue Example

user krissyj
pass Xiu$78g
list
retr 1
dele 1
retr 2
dele 2
quit

strict RFC smtp server syntax

Disallowing illegal syntax in MAIL FROM or RCPT TO commands. This may cause problems with home-grown applications that send mail, and with ancient PC mail clients. For this reason, the requirement is disabled by default ("strict_rfc821_envelopes = no").

  • Disallowing RFC 822 address syntax (example: "MAIL FROM: the dude <dude@example.com>").
  • Disallowing addresses that are not enclosed with <> (example: "MAIL FROM: dude@example.com").

use this syntax:

MAIL FROM:<marysue@hughes.net>
250 2.1.0 Ok
RCPT TO:<marysue@hughes.net>
554 5.7.1 <marysue@hughes.net>