Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 18:51:10 +0200
From:      Nils Holland <nils@daemon.tisys.org>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail and POP3-before-SMTP
Message-ID:  <20020429185110.A6231@daemon.tisys.org>

next in thread | raw e-mail | index | archive | help
Hi folks,

I have a question which is not strictly FreeBSD-related, but probably
someone will be able to help me anyway.

Here's the situation: On my local network, all machines send their mail to
one "gateway" server. That server, connected to the Internet via PPP,
establishes a connection and forwards the mail to my ISP's mail server
(which I specified as "Smart Host" in my local server's sendmail.cf file).

Now, this works very well, but when my ISP recently had problems with their
mail servers, I had to fall back to a secondary server, provided by my
webhosting company. This secondary server requires "POP3-before-SMTP"
authentication, so mail has to be fetched from it before mail can be sent.

Since POP-before-SMTP is not really a "standard" authentication mechanism,
the sendmail on my local server will not be abld to correctly handle the
situation when connecting to my webhost's server.

The question now is if anybody has an idea if I could do something against
it. My first attempt was to automatically run fetchmail everytime mail was
sent. This didn't really work, however, as fetchmail and sendmail would
both use the PPP connection as soon as it became available, and fetchmail
would have to be "faster" than sendmail for the authentication to work
correctly. This, however, was not really controllable.

So, does anyone have an idea if I can do something which makes sure that a
POP3 autnentication (for example by running fetchmail) takes place every
time before sendmail relays a message?

Greetings
Nils

-- 

Nils Holland <nils@daemon.tisys.org>
Ti Systems - http://www.tisys.org
Addicted to computing since 1987
High on FreeBSD since 1996

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020429185110.A6231>