From owner-freebsd-questions Mon Jun 11 13:56:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id AFBD237B413 for ; Mon, 11 Jun 2001 13:56:20 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b013.otenet.gr [195.167.121.141]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f5BKuIc17732; Mon, 11 Jun 2001 23:56:18 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.3/8.11.3) id f5BIiJR02292; Mon, 11 Jun 2001 21:44:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 11 Jun 2001 21:44:18 +0300 From: Giorgos Keramidas To: P Glenn Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail and dialup connection Message-ID: <20010611214417.A2209@hades.hell.gr> References: <20010610222242.51572.qmail@web14704.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010610222242.51572.qmail@web14704.mail.yahoo.com>; from psfglenn@yahoo.com on Sun, Jun 10, 2001 at 03:22:42PM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html 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 On Sun, Jun 10, 2001 at 03:22:42PM -0700, P Glenn wrote: > Hello, > I am running a recent 4.3-stable and things have been > good to me but I would like to know what I must change > in sendmailconf to allow me to send mail to the > internet from my dynamically addressed ip. Well, you can always have your Sendmail forward all outgoing mail to your ISP's mail gateway, by setting the SMART_HOST to the ISP's mail exchanger (if you're using a master-config file, and generating sendmail.cf from a local.mc file). This will change the line starting with DS in sendmail.cf to a proper value. For instance, mine looks like: % grep ^DS /etc/mail/sendmail.cf DSmail.otenet.gr and all outgoing mail is sent first to my ISP's mail gateway. If it does have a valid envelope-from address, then the ISP's mail server should not reject it. All others will see the SMTP connection coming from a host that doesn't have a dynamic address (the ISP's mail gateway), and accept it. This moves some of the burden of checking if this is a valid client from the mail servers of the world, to the one your ISP has set up for its clients, and is a very nice and clean solution to your problems :) -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message