From owner-freebsd-questions@FreeBSD.ORG Sat Mar 29 14:39:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 768B5CA0 for ; Sat, 29 Mar 2014 14:39:59 +0000 (UTC) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass CA 1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32A248F4 for ; Sat, 29 Mar 2014 14:39:58 +0000 (UTC) Received: from fwd07.aul.t-online.de (fwd07.aul.t-online.de [172.20.27.150]) by mailout12.t-online.de (Postfix) with SMTP id B208838CDB2; Sat, 29 Mar 2014 15:34:05 +0100 (CET) Received: from t-online.de (ZqH8IcZdgh3w+752OpSV+X8sgf9RsfymKLfvMcqAzoF7gFxU72iZ9OV8JNpvFBIwdI@[84.152.239.145]) by fwd07.t-online.de with esmtp id 1WTuKd-2hLdNA0; Sat, 29 Mar 2014 15:33:59 +0100 Received: by t-online.de (nbSMTP-1.00) for uid 1001 johannes-maria@t-online.de; Sat, 29 Mar 2014 16:17:34 +0100 (CET) Date: Sat, 29 Mar 2014 16:17:33 +0100 From: Johannes-Maria Kaltenbach To: Bernt Hansson , freebsd-questions@freebsd.org Subject: Re: (still) problems with email/ssl and t-online.de/telekom.de Message-ID: <20140329151733.GA20877@jmk.org> References: <20140326145149.GB2031@jmk.org> <20140327161804.GB23824@jmk.org> <5334D72B.9010406@bananmonarki.se> <20140328102129.GA2387@jmk.org> <20140328143822.GB20777@jmk.org> <20140328162936.GA34081@jmk.org> <53363B8C.8080302@weboutsourcing.cz> <20140329141500.GC2248@jmk.org> <5336D3BD.1000303@bananmonarki.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5336D3BD.1000303@bananmonarki.se> User-Agent: Mutt/1.4.2.3i X-ID: ZqH8IcZdgh3w+752OpSV+X8sgf9RsfymKLfvMcqAzoF7gFxU72iZ9OV8JNpvFBIwdI X-TOI-MSGID: 2071e389-2c7f-444d-93a3-7058ef90d686 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2014 14:39:59 -0000 Hello, On Sat, Mar 29, 2014 at 03:07:57PM +0100, Bernt Hansson wrote: > >I created an authinfo file with > > > >| AuthInfo:relay-domain "U:johannes-maria" "P:PASSWORD" "M:PLAIN" > >and with > >| AuthInfo:relay-domain:2525 "U:johannes-maria" "P:PASSWORD" "M:PLAIN" > >and with both > > That file should live in /etc/mail/auth/ > So sendmail can find it. I forgot to mention: I have the authinfo files in /etc/mail/ *and* in /etc/mail/auth/, because /etc/mail/auth/ was given in http://www.dawoodfall.net/index.php/en/relaying-sendmail-a-ssl, but there /etc/mail/auth/ was also given explicitly via | FEATURE(`authinfo',`hash -o /etc/mail/auth/authinfo.db') I tried this and alternatively | FEATURE(`authinfo') When I tried the simple | FEATURE(`authinfo') then the error message in /var/log/mail, mentioned in my last email, occurred: > At first I got the following error message in /var/log/maillog: > | hash map "authinfo": unsafe map file /etc/mail/authinfo.db: Permission denied > >After changing the owner of /etc/mail/authinfo.db to smmsp this > >message didn't occur again; is this the (or a) correct way to > >do it? so I assumed that sendmail looks for /etc/mail/authinfo.db, but I'm not sure, so I have the same files in /etc/mail/authinfo.db and in /etc/mail/auth/authinfo.db, but for both I get a 'Service unavailable' when connecting to t-online.de | sendmail[18888]: s2TDUkhM018888: from=jmk, size=53, class=0, nrcpts=1, \ | msgid=<201403291330.s2TDUkhM018888@jmk.org>, relay=root@localhost | sendmail[18888]: STARTTLS=client, relay=sfwdallmx.t-online.de., \ | version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, \ | bits=256/256 | sendmail[18888]: s2TDUkhM018888: to=johannes-maria@t-online.de, \ | ctladdr=jmk (1001/1001), delay=00:00:09, xdelay=00:00:09, mailer=relay, \ | pri=30053, relay=sfwdallmx.t-online.de. [194.25.134.46], dsn=5.0.0, \ | stat=Service unavailable | sendmail[18888]: s2TDUkhM018888: s2TDUkhN018888: DSN: Service unavailable | sm-mta[18890]: s2TDUt7C018890: from=<>, size=1909, class=0, nrcpts=1, \ | msgid=<201403291330.s2TDUkhN018888@jmk.org>, proto=ESMTP, daemon=IPv4, \ | relay=localhost [127.0.0.1] and | 530 5.7.0 Authentication required. | 554 5.0.0 Service unavailable (while talking to sfwdallmx.t-online.de) in the returned mail. Thanks, Johannes-Maria