[clug-talk] email authentication stopped [RESOLVED]

Shawn sgrover at open2space.com
Mon Dec 12 17:58:17 PST 2005


I finally got this problem fixed.  Somehow the courier-authlib service was 
trying to authenticate to a database, rather than using pam.  I edited 
the /etc/courier/authlib/authdaemonrc file, and changed the line

  authmodulelist="authuserdb authpam authshadow authmysql authcustom authpipe"
   
 to 

  authmodulelist="authpam authshadow authcustom authpipe"

then restarted the courier-authlib service.  POP3 authentication is working 
again.

Shawn


On Friday 09 December 2005 18:08, Gustin Johnson wrote:
> grep -r pam_unix /var/log/*
>
> Where is PAM logging going to?
>
> Shawn wrote:
> > Thanks Hendrik.
> >
> > Now that I'm done my running around this afternoon, I'll be reviewing the
> > setup from start to finish to make sure everything is correct.  But,
> > prior to getting this error, there were no upgrades - we don't have
> > anything set to happen automatically (other than backup jobs, and syncing
> > the portage tree weekly).  As for the auth module, we are doing simple
> > shell accounts, so it should be PAM authorization.  I think the the
> > /usr/bin/checkvpw script is for the vpopmail tool - which is for virtual
> > domains/accounts.  I've used that in the past, but not on this box.
> >
> > Gustin, there is no /var/log/auth.log file.  Here's the /var/log
> > directory:
> >
> > ~ # ls /var/log
> > analog  apache2  critical  crond  dmesg  emerge.log  everything  kernel
> > lastlog  mail  mysql  news  ntp.log  pwdfail  qmail  sandbox  sshd 
> > telnet wtmp
> >
> > (we are using the metalog logging daemon).
> > As you can see, the only things that might be of interest in this case is
> > the everything, mail, and pwdfail logs.  All three have similar entries
> > about login failure, but nothing that says "the problem is this...".
> >
> > So, I'll basically go through from scratch and check EVERYTHING over (in
> > terms of the mail server config files at least...)
> >
> > Thanks for the tips guys... much appreciated.
> >
> > Shawn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20051212/d08c92b3/attachment.bin


More information about the clug-talk mailing list