On Saturday 26 June 2004 20:16, Sam Varshavchik wrote: > Samuel Penn writes: > > Further playing with authtest (since I think it's got to be authdaemon > > related) shows that: > > authtest -s esmtp -m authdaemon sam <password> > > Gives a successful result, whilst > > authtest -s esmtp -m authpam sam <password> > > fails. > > Of course. If you read INSTALL (specifically the description of the > authdaemon module), you'll find out why.
It says to start authdaemond at startup, and that it contains everything other than LDAP and MySQL authentication so that it's easy to make packages which don't include heavy weight authentication. I can't see where it gives a reason for the above failing. More importantly, it doesn't say why one version of authdaemond hangs, or why esmtpd reports 'No such file or directory'. Any other clues? > > I assume pam is being used to lookup a user's home directory in order > > to find where to put mail. > > No, it's not. man authlib sheds some light on this. Since I'm not using client authentication with esmtpd, the only reason I can see for calling authdaemon is to get home directory location however, whether it's done through pam or authpwd (or authpam but not using pam). > > As long as a mail is sent to one of the accepted domains, will it be > > forwarded to an account of that user's name, regardless? So mails to > > [EMAIL PROTECTED] and [EMAIL PROTECTED] both go into the home directory > > for user 'sam'? > > That depends on whether the domain is listed in the locals or the > hosteddomains file. See the courier(8) man page. Both are listed in locals, so yes. -- Be seeing you, http://www.bifrost.demon.co.uk/ Sam. jabber: [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
