[Dovecot] pam_authenticate() failed: authentication error
Hello,
I would like to ask for your help. I have noticed some error messages issued by dovecot.
Mar 13 20:00:57 relay dovecot: auth-worker(default): pam(example@example.com): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?)
Not surprisingly $ l /etc/pam.d/dovecot ls: /etc/pam.d/dovecot: No such file or directory
The funny thing is that authentication does work but I guess I have something misconfigured. I'd appreciate if you could help me.
I am on a FreeBSD system (7.0) if that matters.
Thank you!
-- Zbigniew Szalbot
Did you forget something? Like, maybe some basic info on your system, dovecot version, dovecot -n output, etc?
Most of us have non-working crystal balls most of the time - although Timos works rather well in many cases...
On 3/13/2009 3:43 PM, Zbigniew Szalbot wrote:
Hello,
I would like to ask for your help. I have noticed some error messages issued by dovecot.
Mar 13 20:00:57 relay dovecot: auth-worker(default): pam(example@example.com): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?)
Not surprisingly $ l /etc/pam.d/dovecot ls: /etc/pam.d/dovecot: No such file or directory
The funny thing is that authentication does work but I guess I have something misconfigured. I'd appreciate if you could help me.
I am on a FreeBSD system (7.0) if that matters.
Thank you!
--
Best regards,
Charles
Hi!
Did you forget something? Like, maybe some basic info on your system, dovecot version, dovecot -n output, etc?
Sorry about that! Dovecot works so well that I haven't had a need to ask any questions for a long time. Because of that I kind of forgot to specify the basics. I use dovecot-1.1.10
And here's the output of dovecot -n
# 1.1.10: /usr/local/etc/dovecot.conf # OS: FreeBSD 7.0-RELEASE-p9 i386 ufs base_dir: /var/run/dovecot/ protocols: imap imaps pop3 pop3s listen: XX.XXX.XXX.XXX ssl_cert_file: /etc/ssl/apache/server.crt ssl_key_file: /etc/ssl/apache/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_greeting: SGM Lifewords list server ready. login_greeting_capability(default): yes login_greeting_capability(imap): yes login_greeting_capability(pop3): no verbose_proctitle: yes first_valid_uid: 125 last_valid_uid: 125 first_valid_gid: 125 last_valid_gid: 125 mail_privileged_group: mail mail_location: maildir:/usr/local/virtual/%d/%n mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login username_format: %Lu passdb: driver: pam args: session=yes dovecot passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: passwd args: blocking=yes userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384
Most of us have non-working crystal balls most of the time - although Timos works rather well in many cases...
I know :) I am really sorry!
-- Zbigniew Szalbot
On 3/13/2009 5:28 PM, Zbigniew Szalbot wrote:
Did you forget something? Like, maybe some basic info on your system, dovecot version, dovecot -n output, etc?
Most of us have non-working crystal balls most of the time - although Timos works rather well in many cases...
I know :) I am really sorry!
No, I'm sorry... its been a long day, and I forgot the smileys...
;)
--
Best regards,
Charles
On Fri, 2009-03-13 at 22:28 +0100, Zbigniew Szalbot wrote:
passdb: driver: pam args: session=yes dovecot passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: passwd args: blocking=yes userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf
So apparently you only want to use SQL authentication? Comment out passdb pam and userdb passwd in dovecot.conf.
On 3/13/2009 6:00 PM, Zbigniew Szalbot wrote:
So apparently you only want to use SQL authentication? Comment out passdb pam and userdb passwd in dovecot.conf.
Even with the output of dovecot -n Timo looks to me like he really has a crystal ball ;)
Told ya... here I was trying to see if I could figure out something for you, and he comes along and 'oh, you want this, just do that'...
<sigh> heh
--
Best regards,
Charles
on 3-13-2009 3:13 PM Charles Marcus spake the following:
On 3/13/2009 6:00 PM, Zbigniew Szalbot wrote:
So apparently you only want to use SQL authentication? Comment out passdb pam and userdb passwd in dovecot.conf.
Even with the output of dovecot -n Timo looks to me like he really has a crystal ball ;)
Told ya... here I was trying to see if I could figure out something for you, and he comes along and 'oh, you want this, just do that'...
<sigh> heh
Timo can probably see the flow of the code in his sleep! Maybe he is "The One".
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
On 3/13/2009 6:00 PM, Zbigniew Szalbot wrote:
So apparently you only want to use SQL authentication? Comment out passdb pam and userdb passwd in dovecot.conf.
Even with the output of dovecot -n Timo looks to me like he really has a crystal ball ;)
the list is lucky that the developer himself is actively involved in the lists. many open source projects dont have the same luck... thanx timo.
participants (5)
-
Charles Marcus
-
Linux Advocate
-
Scott Silva
-
Timo Sirainen
-
Zbigniew Szalbot