From owner-freebsd-questions Mon Feb 25 5:50:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rain.macguire.net (sense-sea-MegaSub-1-125.oz.net [216.39.144.125]) by hub.freebsd.org (Postfix) with ESMTP id 8828837B421 for ; Mon, 25 Feb 2002 05:50:22 -0800 (PST) Received: (from roo@localhost) by rain.macguire.net (8.11.6/8.11.6) id g1PDnRq30426; Mon, 25 Feb 2002 05:49:27 -0800 (PST) (envelope-from roo) Date: Mon, 25 Feb 2002 05:49:27 -0800 From: Benjamin Krueger To: Joseph Koenig Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Sendmail - Need Help Fast Message-ID: <20020225054927.G12253@rain.macguire.net> References: <3C7A40A3.22F9046E@jwebmedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C7A40A3.22F9046E@jwebmedia.com>; from joe@jwebmedia.com on Mon, Feb 25, 2002 at 07:48:19AM -0600 X-PGP-Key: http://www.macguire.net/benjamin/public_key.asc 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 * Joseph Koenig (joe@jwebmedia.com) [020225 05:35]: > Well, I just discovered that users on my system can not send mail OUT > because relaying is off by default (which is a good thing). So I have > listed their IPs in the relay-domains file in /etc/mail - however, my > question is this: Say someone as a dynamic IP, such as from a dialup or > adsl. How do I go about putting in that domain so that they can always > send out mail? For example, one is adsl-217-154-35-200.xxx.co.uk. Will > listing xxx.co.uk or .xxx.co.uk work? Is there a better way than listing > everything allowed in relay-domains? Thanks, > > Joe Joe, There are at least two recommended methods for solving the problem you describe. The first of which is using SMTP Authentication within Sendmail. I have always found this problematic as it adds yet more confusion to the sendmail configuration, and the user client configuration processes. The second, and my preferred, method is POP before SMTP. With this, users must pop their mail before they may send through the SMTP. This is often easier for them to manage. I did, at one point, have an open script that I could share with others to implement this, however I can no longer distribute it. The basic premise is to watch users who pop their mail, and drop their IP into a dynamic SMTP relay-allow for a period of your choosing. (Normally, I use about 10 minutes which is plenty for sending even large documents over a dialup connection.) After this time, their IP is removed from the relay again. This method will also work fine for IMAP (IMAP before SMTP). I hope this gives you somewhere to start in solving your problem. -- Benjamin Krueger "From the moment I picked up your book until I laid it down, I was convulsed with laughter. Some day I intend reading it." - Groucho Marx ---------------------------------------------------------------- Send mail w/ subject 'send public key' or query for (0x251A4B18) Fingerprint = A642 F299 C1C1 C828 F186 A851 CFF0 7711 251A 4B18 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message