public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steve <gentoo_sjh@shic.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Postfix question about auth and blocklists...
Date: Thu, 27 May 2010 17:24:58 +0100	[thread overview]
Message-ID: <4BFE9CDA.3080807@shic.co.uk> (raw)
In-Reply-To: <1274902364.11900.92.camel@bvargo2.homeip.net>

[-- Attachment #1: Type: text/plain, Size: 3662 bytes --]

On 26/05/2010 20:32, Brandon Vargo wrote:
> I hope the above helps.
>   

Thank you very much... that was very informative.  Unfortunately, I now
discover I fibbed when I said I had SASL auth set up - I only thought I
had...  When I correctly configure thunderbird, I get the following
postfix messages in the log:

> May 27 17:06:20 ken postfix/smtpd[19973]: connect from
> ur.shic.co.uk[10.0.1.253]
> May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
> failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
> May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
> failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
> May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
> failure: no secret in database
> May 27 17:06:20 ken postfix/smtpd[19973]: warning:
> ur.shic.co.uk[10.0.1.253]: SASL CRAM-MD5 authentication failed:
> authentication failure
> May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 1
> May 27 17:06:20 ken postfix/smtpd[19973]: client flags: ffff8207
> May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 2
> May 27 17:06:20 ken postfix/smtpd[19973]: client user: myusername
> May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
> failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
> May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
> failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
> May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
> failure: no secret in database
> May 27 17:06:20 ken postfix/smtpd[19973]: warning:
> ur.shic.co.uk[10.0.1.253]: SASL NTLM authentication failed:
> authentication failure

I'm sure I'm doing something silly - because googling the first warning
just gives me this bug <http://bugs.gentoo.org/show_bug.cgi?id=299390>,
which doesn't seem to fit.  I have this installed:

> $ eix mail-mta/postfix
> [I] mail-mta/postfix
>      Available versions:  2.6.5 ~2.6.6 {cdb dovecot-sasl hardened ipv6
> ldap mbox mysql nis pam postgres sasl selinux ssl vda}
>      Installed versions:  2.6.5(09:08:29 05/27/10)(ipv6 pam sasl ssl
> -cdb -dovecot-sasl -hardened -ldap -mbox -mysql -nis -postgres
> -selinux -vda)
>      Homepage:            http://www.postfix.org/
>      Description:         A fast and secure drop-in replacement for
> sendmail.

If I alter thunderbird to not use secure authentication, I get the
following instead.

> May 27 17:14:26 ken postfix/smtpd[20115]: connect from
> ur.shic.co.uk[10.0.1.253]
> May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
> problem: unknown password verifier
> May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
> failure: Password verification failed
> May 27 17:14:26 ken postfix/smtpd[20115]: warning:
> ur.shic.co.uk[10.0.1.253]: SASL PLAIN authentication failed: no
> mechanism available
> May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
> problem: unknown password verifier
> May 27 17:14:26 ken postfix/smtpd[20115]: warning:
> ur.shic.co.uk[10.0.1.253]: SASL LOGIN authentication failed: no
> mechanism available

Which seems quite strange.

My /etc/sasl2/smtpd.conf is the default for gentoo - i.e. it contains
the single config line:

> pwcheck_method:pam

I don't care if I use PAM or something else - as long as it lets me
authenticate.  In the medium term, it would be best if neither IMAP nor
SMTP passwords had any relation to my system password (not that I allow
remote logins unsing it) - but, for the time being, I just want it to
let me authenticate and send from my phone.

By any chance can anyone give me any further clues?


[-- Attachment #2: Type: text/html, Size: 4462 bytes --]

  reply	other threads:[~2010-05-27 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26 14:40 [gentoo-user] Postfix question about auth and blocklists Steve
2010-05-26 19:32 ` Brandon Vargo
2010-05-27 16:24   ` Steve [this message]
2010-05-27 17:06     ` Brandon Vargo
2010-06-02 18:41       ` Tanstaafl
2010-06-02 18:37   ` Tanstaafl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BFE9CDA.3080807@shic.co.uk \
    --to=gentoo_sjh@shic.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox