Link to home
Create AccountLog in
Avatar of rajoo_sharma
rajoo_sharma

asked on

MTA and SMTP server

Hello,

I've a stupid confusion, when we say an MTA (mail transport agent) and MDA (mail delivery agent) are responsible for delivering and storing mails then what SMTP server does?
Does an MTA uses SMTP protocol to send
or
uses an SMTP server that finally sends the mail on request of an MTA or MUA?

PostFix and Sendmail are two implementation of MTA, what are the examples of SMTP server software?

A link to some article that explains all this well, will be a great help.

Thanks
Avatar of nasirbest
nasirbest
Flag of Pakistan image

Don't mess SMTP with MTA or MDA, SMTP is a protocol stander and later are server things, MTA "speaks" SMTP to send or receive new e-mails. it is just like that you are an Indian but speak English to convey your message
SOLUTION
Avatar of nasirbest
nasirbest
Flag of Pakistan image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of rajoo_sharma
rajoo_sharma

ASKER

Thanks Nasir,

Thats a good explanation and I understand Protocol(s) in general. What appears ambiguous to me is:
1. When you say you've an SMTP server on a local machine which is connected to the Internet and you can send mails using a scripting language e.g. PHP / ASP.
Now in this case PostFix or Sendmail is not installed on this machine, so when MTA is comes into the picture when you are sending the mail?


2. When you have an MUA (Mail User Agent) e.g. Outook, you can send mail by setting SMTP address and Port in it. Is this mail routed from our MTA Server?

3. And SMTP is a protocol, so what exactly an SMTP Server is?

4. And what is an SMTP client? the MUA program?

Thanks
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks Ajay,

The Pic explains the process very well,

1. When you say you've an SMTP server on a local machine which is connected to the Internet and you can send mails using a scripting language e.g. PHP / ASP.
Now in this case PostFix or Sendmail is not installed on this machine, so MSA / MTA not required in this setup?

2. And SMTP is a protocol, so what exactly an SMTP Server is?

3. And what is an SMTP client? the MUA program?

Thanks
Hello again,

The wiki link http://en.wikipedia.org/wiki/Mail_relay clears my doubt as it says "An MTA implements both the client (sending) and server (receiving) portions of the Simple Mail Transfer Protocol."

So I'm left with last confusion from my previous comments:

When you've an SMTP server on a local machine which is connected to the Internet and you can send mails using a scripting language e.g. PHP / ASP.

What happens in this case?

Thanks
When you've an SMTP server on a local machine which is connected to the Internet and you can send mails using a scripting language e.g. PHP / ASP. - yes you can :) use the cdont or the php mail.. make sure the smtp is running in the IIS for the mail to be out.
Hi Ajay,

This is what my question is, if I can send mail from a local machine having SMTP (with IIS 6.0) then should I consider this SMTP as a local MTA?

Thanks
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
great, thanks Ajay.
u r welcome
My confusion is over...
Thanks