From owner-freebsd-questions Sun Sep 8 5:51:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA90D37B400 for ; Sun, 8 Sep 2002 05:51:36 -0700 (PDT) Received: from hotmail.com (oe73.pav2.hotmail.com [64.4.36.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C1E743E65 for ; Sun, 8 Sep 2002 05:51:36 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 8 Sep 2002 05:51:36 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Donald Burr of Borg" , "FreeBSD Questions" References: <20020907142455.P72460-100000@borg-cube.com> Subject: Re: SMTP AUTH support in sendmail? Date: Sun, 8 Sep 2002 06:35:31 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 08 Sep 2002 12:51:36.0333 (UTC) FILETIME=[776DCBD0:01C25736] 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 postfix is a better solution as the configuration a quite similar to sendmail We have it working as an smtp relay server Quite robust ----- Original Message ----- From: "Donald Burr of Borg" To: "FreeBSD Questions" Sent: Sunday, September 08, 2002 03:05 AM Subject: SMTP AUTH support in sendmail? > Hi folks, > > Recently I had a bit of a dilemma. I went away for vacation, but of > course I wanted to keep in touch with my e-mail, so I brought my laptop > along. Reading mail was no problem -- I have POP3 and IMAP daemons > running. But SENDING mail on the other hand... I'd rather use my SMTP > server, rather than my dialup ISP's, for various reasons. And, of course, > sendmail is configured by default to NOT allow relaying. Now, to get it > to work, I could add the domain of my ISP's dialup pool to > /etc/mail/relay-domains (e.g. pool.dialup.isp.com) but that means that > every yokel who has an account at my ISP will now be able to relay through > my server. This is BAD. So my workaround was to insert just the IP > address of my connection in the relay-domains file. This of course was a > real pain, because it required me to ssh in and edit the file each time my > IP changed (i.e. each time I lost my dialup connection, which was quite > often, in my case... bad phone lines where I was staying at). > > Now, at our office, we use qmail. Thanks to a nice little patch called > "qmail-smtpd-auth", the qmail SMTP daemon now supports a nice little > command called "AUTH" which allows you to authenticate to the SMTP server > with a username/password. If you DON'T authenticate, then you CAN'T > relay. If you DO authenticate, however, you can basically do whatever the > heck you want. This has worked well for our company, as we have a lot of > clients who have insecure accounts such as cable modem, DHCP DSL, and > (blech) AOL. They can authenticate to our mail server to send out their > (legitimate) e-mail, while Joe Random Spammer is blocked at the gate. > > So here's my question: Is it possible to add some sort of SMTP AUTH (or > other similar authentication support) in sendmail, or must I upgrade to > qmail for this to work? Yes, I know, I could switch to qmail, but for > various reasons, I'd rather not do this. (I have too many programs, e.g. > mailing lists, etc. that are totally dependent on sendmail, andI don't > want to turn my installed-and-working-well system on its ear right now...) > > Your advice is greatly appreciated. > > Thanks, > Donald > -- > Donald Burr of Borg | FreeBSD: The Power to Serve! > WWW: http://www.borg-cube.com/ ICQ #16997506 | http://www.freebsd.org/ > P.O. Box 91212, Santa Barbara, CA 93190-1212 \----------------------------- > Phone: (805)563-0672 Present Day... Present Time! > > > 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