Gentoo Archives: gentoo-user

From: Steve <gentoo_sjh@×××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Postfix question about auth and blocklists...
Date: Thu, 27 May 2010 16:25:27
Message-Id: 4BFE9CDA.3080807@shic.co.uk
In Reply to: Re: [gentoo-user] Postfix question about auth and blocklists... by Brandon Vargo
1 On 26/05/2010 20:32, Brandon Vargo wrote:
2 > I hope the above helps.
3 >
4
5 Thank you very much... that was very informative. Unfortunately, I now
6 discover I fibbed when I said I had SASL auth set up - I only thought I
7 had... When I correctly configure thunderbird, I get the following
8 postfix messages in the log:
9
10 > May 27 17:06:20 ken postfix/smtpd[19973]: connect from
11 > ur.shic.co.uk[10.0.1.253]
12 > May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
13 > failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
14 > May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
15 > failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
16 > May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
17 > failure: no secret in database
18 > May 27 17:06:20 ken postfix/smtpd[19973]: warning:
19 > ur.shic.co.uk[10.0.1.253]: SASL CRAM-MD5 authentication failed:
20 > authentication failure
21 > May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 1
22 > May 27 17:06:20 ken postfix/smtpd[19973]: client flags: ffff8207
23 > May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 2
24 > May 27 17:06:20 ken postfix/smtpd[19973]: client user: myusername
25 > May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
26 > failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
27 > May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
28 > failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
29 > May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
30 > failure: no secret in database
31 > May 27 17:06:20 ken postfix/smtpd[19973]: warning:
32 > ur.shic.co.uk[10.0.1.253]: SASL NTLM authentication failed:
33 > authentication failure
34
35 I'm sure I'm doing something silly - because googling the first warning
36 just gives me this bug <http://bugs.gentoo.org/show_bug.cgi?id=299390>,
37 which doesn't seem to fit. I have this installed:
38
39 > $ eix mail-mta/postfix
40 > [I] mail-mta/postfix
41 > Available versions: 2.6.5 ~2.6.6 {cdb dovecot-sasl hardened ipv6
42 > ldap mbox mysql nis pam postgres sasl selinux ssl vda}
43 > Installed versions: 2.6.5(09:08:29 05/27/10)(ipv6 pam sasl ssl
44 > -cdb -dovecot-sasl -hardened -ldap -mbox -mysql -nis -postgres
45 > -selinux -vda)
46 > Homepage: http://www.postfix.org/
47 > Description: A fast and secure drop-in replacement for
48 > sendmail.
49
50 If I alter thunderbird to not use secure authentication, I get the
51 following instead.
52
53 > May 27 17:14:26 ken postfix/smtpd[20115]: connect from
54 > ur.shic.co.uk[10.0.1.253]
55 > May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
56 > problem: unknown password verifier
57 > May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
58 > failure: Password verification failed
59 > May 27 17:14:26 ken postfix/smtpd[20115]: warning:
60 > ur.shic.co.uk[10.0.1.253]: SASL PLAIN authentication failed: no
61 > mechanism available
62 > May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
63 > problem: unknown password verifier
64 > May 27 17:14:26 ken postfix/smtpd[20115]: warning:
65 > ur.shic.co.uk[10.0.1.253]: SASL LOGIN authentication failed: no
66 > mechanism available
67
68 Which seems quite strange.
69
70 My /etc/sasl2/smtpd.conf is the default for gentoo - i.e. it contains
71 the single config line:
72
73 > pwcheck_method:pam
74
75 I don't care if I use PAM or something else - as long as it lets me
76 authenticate. In the medium term, it would be best if neither IMAP nor
77 SMTP passwords had any relation to my system password (not that I allow
78 remote logins unsing it) - but, for the time being, I just want it to
79 let me authenticate and send from my phone.
80
81 By any chance can anyone give me any further clues?

Replies

Subject Author
Re: [gentoo-user] Postfix question about auth and blocklists... Brandon Vargo <brandon.vargo@×××××.com>