Phil wrote:
ok thank you...
So do I replace fetchmail with procmail or is procmail in addition to?
Procmail is a local mailer. Once your MTA (such as Sendmail, QMail,
PostFix) decides to deliver a message locally (to a local mailbox), it
hands the mail over to a local mailer. This can be procmail, but also
(for example) Cyrus.
Once fetchmail fetches your email, it'll send the mail to the host it is
running on on port 25. The man page is clear on that:
Quote --
As each message is retrieved fetchmail normally delivers it via
SMTP to port 25 on the machine it is run-
ning on (localhost), just as though it were being passed in over
a normal TCP/IP link. fetchmail provides
the SMTP server with an envelope recipient derived in the manner
described previously. The mail will then
be delivered locally via your systemâs MDA (Mail Delivery
Agent, usually sendmail(8) but your system may
use a different one such as smail, mmdf, exim, postfix, or
qmail). All the delivery-control mechanisms
(such as .forward files) normally available through your system
MDA and local delivery agents will there-
fore work automatically.
Kind regards,
--
Jeroen van Meeuwen, LPIC-1, MCP
http://www.kanarip.com/
C6B0 7FB4 43E6 CDDA D258 F70B 28DE 9FDA 9342 BF08