From owner-freebsd-questions Mon Apr 29 9:52:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 45A8C37B400 for ; Mon, 29 Apr 2002 09:51:40 -0700 (PDT) Received: from k6-2-300.tisys.org (ppp-161.wobline.de [212.68.69.169]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/sh-2002041503) with ESMTP id g3TGpWK29592 for ; Mon, 29 Apr 2002 18:51:32 +0200 Received: from tisys.org (palomino-1533.tisys.org [192.168.0.3]) by k6-2-300.tisys.org (8.12.3/8.12.3) with ESMTP id g3TGqho2006582 for ; Mon, 29 Apr 2002 18:52:43 +0200 (CEST) (envelope-from nils@tisys.org) Received: (from nils@localhost) by tisys.org (8.12.3/8.12.3/Submit) id g3TGpjga006281 for freebsd-questions@freebsd.org; Mon, 29 Apr 2002 18:51:45 +0200 (CEST) Date: Mon, 29 Apr 2002 18:51:10 +0200 From: Nils Holland To: freebsd-questions@freebsd.org Subject: Sendmail and POP3-before-SMTP Message-ID: <20020429185110.A6231@daemon.tisys.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD palomino-1533.tisys.org 4.5-STABLE FreeBSD 4.5-STABLE X-Machine-Uptime: 6:33PM up 8:31, 1 user, load averages: 0.00, 0.00, 0.00 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 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