LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Smtp/pop (https://www.linuxquestions.org/questions/linux-newbie-8/smtp-pop-633574/)

rhlnewbie 04-07-2008 12:06 AM

Smtp/pop
 
jus some confusion. in my rsarch for an mail server smtp is for srver srver ransfer of mail. I always hough pop was a two way between client and server. is his right? Or is smtp used to send email from client to server and tp download from srver?
I am soooo confused. please help.
Thanks
Mils Sakaguchi

blacky_5251 04-07-2008 12:35 AM

SMTP is a protocol, or language. It isn't an application running on your server. Here's email in a nutshell...
  1. The sender uses a "Mail User Agent" (MUA) to compose a message. The MUA then connects to a "Mail Transport Agent" (MTA) via the "Simple Mail Transport Protocol" (SMTP) in order to relay the message to its recipient.
  2. The MTA queries the DNS for the MX records corresponding to the domain part of the recipients email address.
  3. The MTA originates an outbound connection via SMTP to the target MTA listed in the MX record. If the target MTA accepts the message, the originating MTA is done and the target now has responsibility for the message. If not, then the originating MTA requeues the message for re-transmission.
  4. The target MTA hands of the message to a "Mail Delivery Agent" (MDA).
  5. The MDA writes the message to the mail spool in either mbox or maildir format. mbox is the default in RHEL. The MDA could use a database in advanced installations.
  6. On the receiving end, the recipient uses a MUA to query a "Mail Retrieval Agent" (MRA) for new mail. The two prevailing protocols for checking mail are POP and IMAP. Dovecot and CYRUS are MRA packages.
  7. The MRA accesses the user's mail spool and returns the messages.
So, what does all that mean?
  • Thunderbird and Evolution are a MUAs
  • Sendmail and Postfix are MTAs
  • Cyrus and Dovecot are MRAs
  • Procmail and maildrop are MDAs
Has that helped?

rhlnewbie 04-11-2008 01:41 PM

thanks blacky it rally helps.
rhlnwbie


All times are GMT -5. The time now is 12:42 AM.