Date: Mon, 29 Apr 2002 17:59:45 +0100 From: "Barry Byrne" <barry.byrne@wbtsystems.com> To: "Nils Holland" <nils@daemon.tisys.org>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Sendmail and POP3-before-SMTP Message-ID: <NCBBIAMNAKDKFJIIGNPKMECBIAAA.barry.byrne@wbtsystems.com> In-Reply-To: <20020429185110.A6231@daemon.tisys.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nils: Haven't tried this, but perhaps if you were to run sendmail in queue only mode, and have a small script which is run when you are connected which runs fetchmail, sleeps for a few seconds (if required) and then runs the sendmail queue? - Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Nils Holland > Sent: 29 April 2002 17:51 > To: freebsd-questions@FreeBSD.ORG > Subject: Sendmail and POP3-before-SMTP > > > 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 > 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?NCBBIAMNAKDKFJIIGNPKMECBIAAA.barry.byrne>