ba4b [Solved] What function is between MUA and MTA? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old January 20th, 2010, 03:15
goldenfire goldenfire is offline
Junior Member
 
Join Date: Dec 2009
Location: Tokyo
Posts: 62
Thanks: 13
Thanked 2 Times in 2 Posts
Default What function is between MUA and MTA?

I have two machines to do this experiment.
One is 192.168.2.151 in which a Thunderbird is installed.
Another is 192.168.2.139 on which there is a Sendmail running.
Just send out a e-mail from the Thunderbird whose SMTP server is set to 192.168.2.139.
Then I got the following log messages at Sendmail server.
My question is why the mail submission from Thunderbird to Sendmail is considered as RELAY?
I think RELAY should be the relation between MTAs.
Could someone help?

Code:
Jan 20 11:05:35 ns sm-mta[1551]: AUTH=server, relay=[192.168.2.151], authid=info-a, mech=LOGIN, bits=0
Jan 20 11:05:35 ns sm-mta[1551]: o0K25TgT001551: from=<info-a@good.com>, size=329, class=0, nrcpts=1, msgid=<4B5664F5.80308@good.com>, 
proto=ESMTP, daemon=IPv4, relay=[192.168.2.151]
Jan 20 11:05:36 ns sm-mta[1553]: o0K25TgT001551: to=<goldenfire@gmail.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30329, 
relay=gmail-smtp-in.l.google.com. [209.85.216.58], dsn=2.0.0, stat=Sent (OK 1263953131 2si23121446pwj.33)
What kind of role does Thunderbird play here?
MUA or MTA?

Last edited by DutchDaemon; January 20th, 2010 at 13:03. Reason: [code], not [quote]
Reply With Quote
  #2  
Old January 20th, 2010, 06:42
dennylin93 dennylin93 is offline
Member
 
Join Date: Dec 2008
Posts: 784
Thanks: 34
Thanked 103 Times in 71 Posts
Default

MTA stands for mail transfer agent, and MUA stands for mail user agent.

The MTA is responsible for the transfer of emails between mail servers, while MUAs usually just retrieve mail from the server via IMAP or POP3 for the user.

Although some MUAs can send emails, they actually just send the email to the MTA so that it can be relayed to other servers.

Thunderbird, Mutt, Outlook, and Eudora are MUAs, and Postfix, Sendmail, qmail, and Exim are MTAs.
Reply With Quote
  #3  
Old January 20th, 2010, 08:11
goldenfire goldenfire is offline
Junior Member
 
Join Date: Dec 2009
Location: Tokyo
Posts: 62
Thanks: 13
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by dennylin93 View Post
MTA stands for mail transfer agent, and MUA stands for mail user agent.

The MTA is responsible for the transfer of emails between mail servers, while MUAs usually just retrieve mail from the server via IMAP or POP3 for the user.

Although some MUAs can send emails, they actually just send the email to the MTA so that it can be relayed to other servers.

Thunderbird, Mutt, Outlook, and Eudora are MUAs, and Postfix, Sendmail, qmail, and Exim are MTAs.
Thank you very much. I understood your words.
But from SENDMAIL log file, there is no different between receiving a mail from another MTA and from Thunderbird.
Sendmail treats them both as "relay=[192.168.2.151]".

So I wonder at least when Thunderbird submit mail, from the view of sendmail, Thunderbird is also a MTA.
Reply With Quote
  #4  
Old January 20th, 2010, 13:06
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,927
Thanks: 30
Thanked 1,923 Times in 1,349 Posts
Default

Sendmail doesn't care about the actor (MUA, MTA, shell), it cares about the action. The action in this case is receiving email from another actor with the intent to send it on to yet another actor. This action is called 'relaying email', and it is akin to 'routing'. That's all there is to it.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I find where a function is implemented? jfasi FreeBSD Development 14 February 11th, 2010 10:33
Does using dynamic IP cause much trouble for web server + DNS & E-Mail MTA aurora72 Web & Network Services 9 December 2nd, 2009 14:24
Simple MTA needed in FBSD 7.2r VMware guest machine fuzzynco Installing & Upgrading 1 October 20th, 2009 19:04
undefined function in PHP thedon Userland Programming & Scripting 1 March 14th, 2009 08:05
Writing a new helper function bsd_newbie Porting New Software 3 February 11th, 2009 18:22


All times are GMT +1. The time now is 06:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0