From owner-freebsd-questions Mon Apr 29 10: 0:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by hub.freebsd.org (Postfix) with ESMTP id E2F1B37B425 for ; Mon, 29 Apr 2002 10:00:24 -0700 (PDT) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.3/8.12.3) with ESMTP id g3TGxnCI082114; Mon, 29 Apr 2002 17:59:50 +0100 (IST) From: "Barry Byrne" To: "Nils Holland" , Subject: RE: Sendmail and POP3-before-SMTP Date: Mon, 29 Apr 2002 17:59:45 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20020429185110.A6231@daemon.tisys.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Scanned-By: MIMEDefang 2.8 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > 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