On Wed, Jul 16, 2003 at 08:19:27PM -0400, Chris Metzler wrote:
| On Wed, 16 Jul 2003 16:48:20 -0400
| "Derrick 'dman' Hudson" <[EMAIL PROTECTED]> wrote:
| >
| > If fetchmail was able to pass the mail
| > to it, then that means it was listening on port 25 (and pretending to
| > handle incoming mail)
| 
| Can you clarify what you mean by this?  I have fetchmail pass mail
| to exim; but exim is not listening to port 25.  Or rather, it's not
| *normally* listening to port 25 . . .are you saying that when fetchmail
| is explicitly configured to invoke an MDA in /etc/fetchmailrc, that
| MDA is briefly listening on port 25 until it's done receiving from
| fetchmail, and then quits?

If you explicitly state 'mda /foo/bar' then fetchmail uses a (local)
pipe to the named program.  If you don't, however, the default is to
open a TCP connection to localhost, port 25.  If no MTA is listening
on the socket, fetchmail will get a 'Connection refused' error and not
delete the mail from the pop/imap server.  However, Bijan did have a
poorly behaved MTA listening on that port.  (note: exim does allow,
thouhg it isn't recommended, use via (x)inetd.  In that case (x)inetd
is listening on the socket and passes the connection to exim.  For the
purposes of this discussion, that is identical to exim listening on
the socket itself.)

HTH,
-D

-- 
"640K ought to be enough for anybody" -Bill Gates, 1981
 
http://dman13.dyndns.org/~dman/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to