Shanmuga Raj wrote:
> I am trying to understand how this works. any mail sent to the linux server
> from a workstation, is delivered to sendmail, as sendmail is the smtp server
> on port 25 (correct me if I am wrong). Then if the mail is local it is
> passed on to procmail to process local delivery to the local recepient. If
> the mail is remote, sendmail puts it the mail out que to deliver to the
> remote host.
>
> If, as you said, any local mail which is sent without a domian name is
> directly passed on to procmail for delivery, how is the mail delivered to
> procmail? bcs as I understand, all mails are delivered to port 25 which is
> the smtp server.
>
Part of the sendmail configuration, or any mta's (Mail Transfer Agent) config I
guess, tells it what program to use for local delivery. In the case of the
redhat setup procmail is used as the mda (Mail Delivery Agent). At this point
the port 25 stuff does not come into play. The mail is passed to procmail via
some other mechanism.
It is the MTA's job to get the mail to the correct machine. Not to put it into
the user's mail box. The MDA does that.
HTH
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list