From owner-freebsd-questions Sun Feb 23 7:51:46 2003 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 E1FF037B401 for ; Sun, 23 Feb 2003 07:51:43 -0800 (PST) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41B2A43FAF for ; Sun, 23 Feb 2003 07:51:39 -0800 (PST) (envelope-from gernot.weber@quantumnet.de) Received: from fwd01.sul.t-online.de by mailout01.sul.t-online.com with smtp id 18myPi-0005XT-03; Sun, 23 Feb 2003 16:51:38 +0100 Received: from quantumnet.de (520029346966-0001@[217.228.157.93]) by fmrl01.sul.t-online.com with esmtp id 18myPR-01k4DgC; Sun, 23 Feb 2003 16:51:21 +0100 Received: from homer.quantumnet.de (localhost [127.0.0.1]) by quantumnet.de (8.12.6/8.12.6) with ESMTP id h1NFsi6V033663 for ; Sun, 23 Feb 2003 16:54:44 +0100 (CET) (envelope-from gernot@homer.quantumnet.de) Received: from localhost (gernot@localhost) by homer.quantumnet.de (8.12.6/8.12.6/Submit) with ESMTP id h1NFsi6V033660 for ; Sun, 23 Feb 2003 16:54:44 +0100 (CET) Date: Sun, 23 Feb 2003 16:54:44 +0100 (CET) From: "Gernot A. Weber" To: freebsd-questions@freebsd.org Subject: sendmail auth problems Message-ID: <20030223165421.B33435@homer.quantumnet.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520029346966-0001@t-dialin.net 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, I tried to configure sendmail to send my mail over a smtp-relayserver which needs authentification. As it is described in the handbook, I installed cyrus-sasl and rebuilt sendmail. I added: dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl to my .mc-file and created /etc/mail/auth-info containing: login login password relay-server and did a chmod 600... Starting sendmail gave me: Feb 23 14:54:03 homer sm-mta[32122]: error: safesasl(/usr/local/etc/sa sldb) failed: Group readable file Feb 23 14:54:03 homer sm-mta[32123]: starting daemon (8.12.6): SMTP+qu eueing@00:30:00 Feb 23 14:54:03 homer sm-msp-queue[32129]: starting daemon (8.12.6): q ueueing@00:30:00 in /var/log/maillog - so I added define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLDBFile')dnl to sendmail.mc, which ended up in: Feb 23 14:56:12 homer sm-mta[32226]: error: safesasl(/usr/local/etc/sa sldb) failed: Permission denied Feb 23 14:56:12 homer sm-mta[32227]: starting daemon (8.12.6): SMTP+qu eueing@00:30:00 As far as I know I don't really need sasldb to authenticate to a server, so I added an extra line in mailertable to test the relaying. Sending an e-mail to my work address ended up in: stat=User unknown Off course this user isn't known on the relay server. But what's wrong with my config? Thanks, Gernot -- Gernot A. Weber http://www.tux-web.de gernot@quantumnet.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message