24 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: authdaemon pr...
FromSent OnAttachments
Samuel PennJun 26, 2004 6:38 am 
Samuel PennJun 26, 2004 9:21 am 
Arturo "Buanzo" BusleimanJun 26, 2004 9:31 am 
Samuel PennJun 26, 2004 11:55 am 
Sam VarshavchikJun 26, 2004 12:16 pm 
Samuel PennJun 26, 2004 2:01 pm 
Sam VarshavchikJun 26, 2004 2:23 pm 
Samuel PennJun 26, 2004 3:10 pm 
Sam VarshavchikJun 26, 2004 4:54 pm 
Samuel PennJun 27, 2004 1:11 am 
Samuel PennJun 27, 2004 2:05 am 
Eric N. ValorJul 15, 2004 1:28 am 
Sam VarshavchikJul 15, 2004 4:05 am 
Eric N. ValorJul 15, 2004 9:11 am 
Eric N. ValorJul 15, 2004 12:29 pm 
Eric N. ValorJul 15, 2004 1:56 pm 
Sam VarshavchikJul 15, 2004 3:46 pm 
Eric N. ValorJul 15, 2004 5:30 pm 
Sam VarshavchikJul 15, 2004 6:19 pm 
Phillip HutchingsJul 15, 2004 6:21 pm 
James N. HartJul 15, 2004 6:49 pm 
Eric N. ValorJul 15, 2004 7:06 pm 
Sam VarshavchikJul 15, 2004 7:47 pm 
Eric N. ValorJul 17, 2004 1:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: authdaemon problemsActions...
From:Samuel Penn (sa@bifrost.demon.co.uk)
Date:Jun 26, 2004 2:01:39 pm
List:net.sourceforge.lists.courier-users

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 sam@glendale... and sam@bifrost... 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.