Quoting Dustin Puryear <[EMAIL PROTECTED]>:

> At 09:48 PM 5/1/2002 -0500, you wrote:
> So, I initially had a service defined using the service name 'pop'. Well, 
> that's not working, so I created a configuration for 'pop', 'pop3', and 
> 'pop3d', a sample being shown below:

the service name is just 'pop'.

> pop3d auth sufficient pam_mysql.so user=mail passwd=secret \
>                                  host=localhost db=mail table=accountuser 
> usercolumn=username \
>                                  passwdcolumn=password crypt=0
> pop3d account required pam_mysql.so user=mail passwd=secret \
>                                  host=localhost db=mail table=accountuser 
> usercolumn=username \
>                                  passwdcolumn=password crypt=0
> 
> Now, the imap configuration has the same format and information:
> 
> imap auth sufficient pam_mysql.so user=mail passwd=secret \
>                                  host=localhost db=mail table=accountuser 
> usercolumn=username \
>                                  passwdcolumn=password crypt=0
> imap account required pam_mysql.so user=mail passwd=secret \
>                                  host=localhost db=mail table=accountuser 
> usercolumn=username \
>                                  passwdcolumn=password crypt=0

i'm not very experienced with pam, but i think the service name shouldn't be
prepended to the 'auth' and 'account' lines. in fact it should be omited, just
write 'auth sufficient pam_mysql.so etc...'. or try to use 'pop' instead of 'pop3d'.

regards, lukas
-- 
Ein Schluck aus der Nase ist die Auster des kleinen Mannes

Reply via email to