G'day listizens,
I am wrestling with an Ubuntu Server 6.06 mail config where I want to use a
few virtual accounts to direct mail to various people. The SMTP and
firewall (shorewall) all seem to be happy - I can send and receive mail from
the host (even to the virtual account) but....can not get authdaemon to
authenticate a virtual user session for my courier-pop service. There is not
much useful diagnostic info in the logs except a terse message that the
logon is being rejected (LOGIN FAILED).
My /etc/courier/pop3d contains AUTHMODULES="authdaemon" but I am wondering
whether I should also include "authpam"? The remainder is standard AFAICR -
I can post it here if it would be useful.
I have tried using the fully qualified email address and then "admin" alone
but no joy. I have used debug level 2 and confirmed that the expected
password was being passed in correctly. I have tried userdbpw -md5 as well
as clear text passwords. Should I be using the systempw field name instead
of the pop3pw attribute?
From the various FAQ sources I have googled it remains unclear to me as to
which elements of the userdb fields actually need to be supplied. I presumed
initially that interaction with the file system would simply use the daemon
profile (hence no uid or gid was required as long as permissions allowed
access) but after running pw2userdb I modelled my later attempts on the more
explicit form. Still no progress!
The other aspects of the mail system appear to be functioning correctly. I
have successfully sent mail to "admin" and can see the message has arrived
in the mailbox but can not retrieve it.
Any one have tips on fixing this?
Merry Xmas and prosperous 2007 to all,
Frank Hamersley.
---------------------------------------------------------------
Sanitised userdb is ...
# /etc/courier/userdb - virtual POP3 accounts for courier-pop
#
#adm...@gvmp.com.au mail=/var/spool/mail/admin|pop3pw=password
admin uid=2000|gid=1000|mail=/var/spool/mail/admin|pop3pw=password
2000= admin
#
#EOF