Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2014 16:17:33 +0100
From:      Johannes-Maria Kaltenbach <johannes-maria@t-online.de>
To:        Bernt Hansson <bah@bananmonarki.se>, freebsd-questions@freebsd.org
Subject:   Re: (still) problems with email/ssl and t-online.de/telekom.de
Message-ID:  <20140329151733.GA20877@jmk.org>
In-Reply-To: <5336D3BD.1000303@bananmonarki.se>
References:  <mailman.67.1395835202.72916.freebsd-questions@freebsd.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140329151733.GA20877>