Dear Bowie,

Thank you for your quick response!

I changed the userdb file as you suggested. But still no luck if I set
nothing to the mail variable:

Sep 28 16:12:35 server courieresmtpd: started,ip=[::ffff:209.85.216.179]
Sep 28 16:12:35 server courieresmtpd: EHLO mail-qy0-f179.google.com
Sep 28 16:12:35 server courieresmtpd: MAIL FROM:<kov...@gmail.com>
Sep 28 16:12:35 server courieresmtpd: RCPT TO:<
in...@server2.webfield-design.hu>
Sep 28 16:12:35 server authdaemond: received userid lookup request: info2
Sep 28 16:12:35 server authdaemond: authuserdb: trying this module
Sep 28 16:12:35 server authdaemond: userdb: opened
/usr/local/etc/authlib/userdb.dat
Sep 28 16:12:35 server authdaemond: userdb: looking up 'info2'
Sep 28 16:12:35 server authdaemond: userdb: home=/tmp/info2, uid=1, gid=1,
shell=<unset>, mail=<unset>, quota=<unset>, gecos=<unset>, options=<unset>
Sep 28 16:12:35 server authdaemond: found systempw in userdbshadow
Sep 28 16:12:35 server authdaemond: authuserdb: sysusername=<null>,
sysuserid=1, sysgroupid=1, homedir=/tmp/info2, address=info2,
fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Sep 28 16:12:35 server authdaemond: authuserdb: clearpasswd=<null>,
passwd=J8rkM5hKUZsq.
Sep 28 16:12:35 server authdaemond: Authenticated: sysusername=<null>,
sysuserid=1, sysgroupid=1, homedir=/tmp/info2, address=info2,
fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Sep 28 16:12:35 server authdaemond: Authenticated: clearpasswd=<null>,
passwd=J8rkM5hKUZsq.
Sep 28 16:12:35 server courieresmtpd: DATA

And also no success if I set mail to /tmp/info2:

Sep 28 16:23:20 server courieresmtpd: started,ip=[::ffff:209.85.216.172]
Sep 28 16:23:21 server courieresmtpd: EHLO mail-qy0-f172.google.com
Sep 28 16:23:21 server courieresmtpd: MAIL FROM:<kov...@gmail.com>
Sep 28 16:23:21 server courieresmtpd: RCPT TO:<
in...@server2.webfield-design.hu>
Sep 28 16:23:21 server authdaemond: received userid lookup request: info2
Sep 28 16:23:21 server authdaemond: authuserdb: trying this module
Sep 28 16:23:21 server authdaemond: userdb: opened
/usr/local/etc/authlib/userdb.dat
Sep 28 16:23:21 server authdaemond: userdb: looking up 'info2'
Sep 28 16:23:21 server authdaemond: userdb: home=/tmp/info2, uid=1, gid=1,
shell=<unset>, mail=/tmp/info2, quota=<unset>, gecos=<unset>,
options=<unset>
Sep 28 16:23:21 server authdaemond: found systempw in userdbshadow
Sep 28 16:23:21 server authdaemond: authuserdb: sysusername=<null>,
sysuserid=1, sysgroupid=1, homedir=/tmp/info2, address=info2,
fullname=<null>, maildir=/t
mp/info2, quota=<null>, options=<null>
Sep 28 16:23:21 server authdaemond: authuserdb: clearpasswd=<null>,
passwd=J8rkM5hKUZsq.
Sep 28 16:23:21 server authdaemond: Authenticated: sysusername=<null>,
sysuserid=1, sysgroupid=1, homedir=/tmp/info2, address=info2,
fullname=<null>, maildir
=/tmp/info2, quota=<null>, options=<null>
Sep 28 16:23:21 server authdaemond: Authenticated: clearpasswd=<null>,
passwd=J8rkM5hKUZsq.
Sep 28 16:23:21 server courieresmtpd: DATA

I also created several directories: /home/info2/Maildir/... and
/.../courier/installation/dir/home/info2/Maildir/... but still nothing
happens.

Is there a way to get more log messages?

Thank you in advance,
Zoltan

2010/9/28 Bowie Bailey <bowie_bai...@buc.com>

>  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.|mail=in...@server2.webfield-design.hu
> > <mailto:in...@server2.webfield-design.hu>|uid=1|gid=1|home=/tmp/info2
> > in...@server2.webfield-design.hu
> > <mailto:in...@server2.webfield-design.hu>
> > 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
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
------------------------------------------------------------------------------
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to