From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 17:18:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2F0C016A4DA for ; Thu, 24 Aug 2006 17:18:32 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F79A43D46 for ; Thu, 24 Aug 2006 17:18:31 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/8.12.11/smtpout01/MantshX 4.0) with ESMTP id k7OHIU4n002393; Thu, 24 Aug 2006 10:18:30 -0700 (PDT) Received: from [17.214.14.142] (a17-214-14-142.apple.com [17.214.14.142]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id k7OHIHD0006536; Thu, 24 Aug 2006 10:18:28 -0700 (PDT) In-Reply-To: <8c17e4880608232050r6791cb1aj97a1bc7f81dd9a5a@mail.gmail.com> References: <8c17e4880608232050r6791cb1aj97a1bc7f81dd9a5a@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Thu, 24 Aug 2006 10:18:16 -0700 To: Nicholas Ink X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAQAAA+k= X-Language-Identified: TRUE Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail and "Proper Authentication" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 17:18:32 -0000 On Aug 23, 2006, at 8:50 PM, Nicholas Ink wrote: > The first problem I experienced was that there a host name lookup > failure for "gmail.com," which I have subsequently corrected by adding > the line: > > gmail.com smtp:[smtp.gmail.com] > > to /etc/mail/mailertable. This is wrong; you should be using an IP address inside the domain- literal form (square brackets). You should try to fix whatever the problem with your DNS is, instead. "dig -t mx gmail.com" should return valid results.... > However, there is still a problem, when I > try to send an e-mail, /var/log/maillog says: > > Aug 23 23:18:08 arches sm-mta[1049]: k7O3I7K2001049: > from=, size=397, class=0, nrcpts=1, > msgid=<44ED1A6F.1090009@XXXXXXXX.xxx>, proto=ESMTP, daemon=IPv6, > relay=localhost [IPv6:::1] > > Aug 23 23:18:16 arches sm-mta[1051]: STARTTLS=client, > relay=gmail-smtp.l.google.com., version=TLSv1/SSLv3, verify=FAIL, > cipher=DES-CBC3-SHA, bits=168/168 > > Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049: > to=, ctladdr= (1007/0), > delay=00:00:08, xdelay=00:00:08, mailer=smtp, pri=30397, > relay=gmail-smtp.l.google.com. [66.249.83.111], dsn=5.0.0, > stat=Service unavailable > > Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049: k7O3IGK2001051: > DSN: Service unavailable > > where arches is my host name. I can't understand why it continues to > say "Service unavailable" when I know Gmail is not experiencing any > downtime or anything else. Is this some sort of spam filter? Yes, on their side. gmail.com isn't going to relay random email without you authenticating first, probably; look into configuring SMTP AUTH on your side, or talk with about what their requirements are to permit you to relay via their mail servers. However, normally people configure their machines to relay email via the SMTP server(s) which your ISP provides, as they are generally configured to trust their client networks without requiring SMTP AUTH and thus are easier to use... -- -Chuck