----- Original Message -----
From: "Suman Mukherji" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 1:43 PM
Subject: Re: [ilugd]: Using SendMail In your Application


> Hi Kapil
>
> I am novice to sendmail and unix stuff, but I beleive u are advising me to
open
> a socket connection and listen on port 110 on my mail server for incomming
mails.

Yes & No. both. Sendmail (or any MTA) receives mails from internet an dumps
the mails in users mailboxes. The mailboxes are flat files (one file for
each user) and not directories where mails are to be stored as separate
files. From here the POP3 or IMAP servers parse the mailbox file and return
individual mails when any mail client requests.
POP3 server listens on port 110 for client requests. After sucessfull
authentication, POP3 server will return individual mails which are requested
by the mail client. Similiar situation for IMAP.

> Qoute  "Sendmail does not deliver mails to users"...please
> can u elaborate this?What I have found in books is that SendMail is a MTA
> handling distribution of outgoing mail and listening of incomming mail
from the net.

Elaborated above.

> Qoute "The program contacts the SMTP server on port 25 and issues relevent
> commands for sending out mails with the help of a MTA e.g. sendmail or
> qmail. ". Please can u explain this..?I  beleive u  r suggesting me to
contact
> the destination MAIL SERVER on  port 25(  after finding DNS Server
> & MX Server..).Then use standard commands such as HELO,  RCPT, MAIL etc.

No, I am suggesting, that your program contact the local mail server on port
25, and handover the destination mailaddress, and the mail data to the local
MTA using the standard commands. It will be the responsiblity of the local
MTA to contact the remote MTA (Mail Server) after finding DNS Server & MX
Server.. and transfer mail.

>But aren't we bypassing sendmail here?.
> And if not please let me know how we are using sendmail here?

Yes we are bypassing sendmail. Using this technique your program will be
able to use any MTA sendmail, qmail etc. and your program may not reside on
the same machine as your MTA.

So making the program look (A) Fully client server (B) Fully Unixish.

> Thanx
> Suman

Kapil

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to