3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] virtual domains -...
FromSent OnAttachments
Sébastien CLAUDEApr 11, 2006 10:38 am 
Sébastien CLAUDEApr 25, 2006 10:23 am 
Jeff JansenApr 26, 2006 5:22 pm 
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] virtual domains - aliases and dot-courier - 550 user unknownActions...
From:Sébastien CLAUDE (seba@multiseb.com)
Date:Apr 25, 2006 10:23:38 am
List:net.sourceforge.lists.courier-users

Hi there,

Nobody for my message ? I'm still looking for some clue. Thanks for your time

Hi all,

I have a working courier setup with virtual domains using authuserdb. When I send a test mail trough courier ESMTPD to a user listed in /etc/courier/userdb there is no problem.

Example: cat userdb te@domain.com systempw=$1$.yuyQg2l$x.8RjlyrleN7K6xrtIFhg.|uid=8|home=/var/mail/domains/domain.com/test/|gid=8

Now I'd like to use dot-couier and the address extension facility. The idea is to test tmda mechanism, for this I want to send to tmda the only mail that are for test@domain.com

So in my homedir for user test : /var/mail/domains/domain.com/test/ I have this : -rw-r--r-- 1 mail mail 84 2006-04-03 19:09 .courier -rw-r--r-- 1 mail mail 124 2006-04-03 14:11 .courier-tmda lrwxrwxrwx 1 mail mail 13 2006-04-03 13:09 .courier-tmda-default -> .courier

cat .courier-tmda: |preline tmda-filter -c ./.tmda/config |preline procmail -Y -m /var/mail/domains/multiseb.com/sebastien.claude/.procmailrc

Ok, so when I send a mail to test@domain.com I get a 550 user unknown error from courierestmp Apr 9 16:45:11 localhost courieresmtpd: error,relay=::ffff:192.168.0.130,from=<te@domain.com>,to=<test@domain.com>: 550 User unknown.

What is the process for ESMTP to look for user. I have domain.com in hosteddomains (and makehostedomains is run) I have also tried to put domain.com in locals I have also tried to put some alias in aliases or aliasdir

The only way I get this to work is to put test-tmda in aliases or in userdb but in this case I don't see any interest in using .courier files with .courier-test.

So as you may have seen, my english is not so ggod because I'm french but I read man courierd and man dot-courier many times and I can't understand why it doesn't work ! Any ideas ? man dot-courier In addition to receiving mail addressed user@domain, it is also possible for user to receive mail addressed to user-foo@domain, for arbitrary values of foo. To do this, install $HOME/.courier-foo, with delivery instructions for mail addressed to user-foo@domain.

I can't understand when the .courier files are looked up, by the ESMTPd process or by what ? Does the ESMTPd process looks only in userdb and aliases files ?

Thanks for your time Seb