Dr. Sharukh K. R. Pavri. forced the electrons to say:
> Will fetchmail hand over the mails one by one or will it download all the
> mails and then hand them over to the mda en masse.

It does it one by one. If the MDA/MTA to whom fetchmail hands over
the message refuses to accept one (sendmail will do this if the disk
is full, or if the system load is too high) then fetchmail will stop
fetching mails (so to speak).

> Also, does this mean that sendmail sends mail both ~to and from~ my local
> mailbox ? 

Oh yes. sendmail is the guy who reliably takes all the email that you send
from your MUA (mutt/pine) and then passes it on the recipient. There are two
ways by which sendmail gets hold of a mail - 1) from local SMTP port, handed
over by either a mail client like netscape, or another MTA (usually mails that
arise remotely), and 2) by MUAs manually invoking sendmail (sendmail -oem
-oi), as done by mutt/pine. It can do a lot of things with the email it got,
some of them being 1) deliver to a local mailbox, 2) hand it over to a
specified relay host, 3) try to deliver to the MX host of the recipient
domain etc. The rulesets in sendmail.cf actually tells sendmail what to do
with each message.

> Will (or should) mails downloaded by fetchmail appear in the local
> mailbox immediately or only when all the mails have been downloaded i.e.,

Mails downloaded by fetchmail will start appearing as soon as it is
downloaded (well, almost). fetchmail keeps only one mail at a time in memory.

> fetchmail is done with its job? So here its internet to fetchmail to
> sendmail to local mailbox right ? 

Yes. Actually, with modern sendmail configurations on Linux systems, it is
imapd/pop3d->fetchmail->sendmail->procmail->mailbox.

> Where do I read this ? Which command/file shows this ? I have yet to see
> this message.

Look in your .fetchmailrc file to see where it is logging. If it is logging to
syslog, then look in /var/log/maillog (usually).

Binand

-- 
main(int c,char **v){while(!fork()){strcpy(v[0],tmpnam(0));sleep(1);}}
A program that changes its name and pid every second.
Try this program at your own risk!   ---> Binand <---


-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to