On 9/28/2010 8:30 AM, Kovács Zoltán wrote:
> Dear Developers,
>
> I'm new to courier. I installed the newest version from source and
> managed to start its esmtpd: it runs and communicates with authdaemon.
> I configured authlib as well by using the userdb authentication
> method. However, I'm not really sure if my userdb file is correct. I
> found some information in the internet about creating a proper userdb
> file, but for some reason the incoming emails are not delivered.
>
<snip>
>
> Here is my userdb file:
>
> server:/usr/local/etc/authlib# cat userdb
> info2 systempw=J8rkM5hKUZsq.|[email protected]
> <mailto:[email protected]>|uid=1|gid=1|home=/tmp/info2
> [email protected]
> <mailto:[email protected]>
> systempw=J8rkM5hKUZsq.|mail=/tmp/info2|uid=1|gid=1|home=/tmp/info2
>

Looks like you need to re-read the "makeuserdb" man page:

       mail - value specifies the location of the account´s Maildir
mailbox...

This should be a directory specification, not an email address.  It is
normally not needed.  If you want to deliver mail to $HOME/Maildir, then
you should not specify this value at all.  Your userdb should look like
this:

info2 systempw=J8rkM5hKUZsq.|uid=1|gid=1|home=/tmp/info2

Whether you use "info2" or "in...@..." depends on your setup.  If the
domain is in locals, then the domain will be stripped and Courier will
only look up "info2".  If the domain is in hosteddomains, then the
entire email address will be looked up.

-- 
Bowie

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to