(still) problems with email/ssl and t-online.de/telekom.de

Johannes-Maria Kaltenbach johannes-maria at t-online.de
Sat Mar 29 14:39:59 UTC 2014


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 at jmk.org>, relay=root at 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 at 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 at 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




More information about the freebsd-questions mailing list