Re: [courier-users] question setting up userdb
On Mon, Jun 10, 2002 at 10:02:29AM +0200, M. van der Kolk wrote: I'm having a problem setting up the userdb authentication. I want to have this authentication next to the unix shadow passwords. In the wed administration I can see that all the modules are working. Next, I've set up the file /etc/courier/userdb as following: [EMAIL PROTECTED] home=/home/courierusers|[EMAIL PROTECTED]|system pw=testpw|gid=100|uid=1011 After adding this entry I've ran makeuserdb to update the changes. The user and groupid are from the Unix user courierusers I've created. The mail dir I've created with maildirmake. When I try to send an email to this user, I get an e-mail back saying: 550 User unknown You have probably listed mydomain.com in the locals config file. Delete it from there, and put it instead into the hosteddomains file. -- Anand Buddhdev Personal site: http://anand.org ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] question setting up userdb
When I try this, I cannot receive any mail at all, even local to local users. I've seen an answer from A. Birkholz suggesting that I fut a file .courier-username in the aliasdir and run makealiases. But I cannot see how that will work, when I'm not trying to make an alias. I have a number of Unix users who will have a mail account on my courier MTA. Next to those users, I want to be able to have a number of mailaccounts who don't get an Unix account, for security reasons. Using userdb for those accounts was my idea. -Oorspronkelijk bericht- Van: Anand Buddhdev [mailto:[EMAIL PROTECTED]] Verzonden: maandag 10 juni 2002 10:45 Aan: M. van der Kolk CC: Courier Mailinglist Onderwerp: Re: [courier-users] question setting up userdb On Mon, Jun 10, 2002 at 10:02:29AM +0200, M. van der Kolk wrote: I'm having a problem setting up the userdb authentication. I want to have this authentication next to the unix shadow passwords. In the wed administration I can see that all the modules are working. Next, I've set up the file /etc/courier/userdb as following: [EMAIL PROTECTED] home=/home/courierusers|[EMAIL PROTECTED]|system pw=testpw|gid=100|uid=1011 After adding this entry I've ran makeuserdb to update the changes. The user and groupid are from the Unix user courierusers I've created. The mail dir I've created with maildirmake. When I try to send an email to this user, I get an e-mail back saying: 550 User unknown You have probably listed mydomain.com in the locals config file. Delete it from there, and put it instead into the hosteddomains file. -- Anand Buddhdev Personal site: http://anand.org ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] question setting up userdb
On Mon, Jun 10, 2002 at 11:11:00AM +0200, M. van der Kolk wrote: When I try this, I cannot receive any mail at all, even local to local users. I've seen an answer from A. Birkholz suggesting that I fut a file .courier-username in the aliasdir and run makealiases. But I cannot see how that will work, when I'm not trying to make an alias. I have a number of Unix users who will have a mail account on my courier MTA. Next to those users, I want to be able to have a number of mailaccounts who don't get an Unix account, for security reasons. Using userdb for those accounts was my idea. Ok. I see your problem. For what you want to do, your userdb entry is wrong. It should be: test home=/home/courierusers|[EMAIL PROTECTED]|systempw=testpw|gid=100|uid=1011 Do NOT put the domain name after the username in the userdb entry, and list your local domain ONLY in the locals file. -Oorspronkelijk bericht- Van: Anand Buddhdev [mailto:[EMAIL PROTECTED]] Verzonden: maandag 10 juni 2002 10:45 Aan: M. van der Kolk CC: Courier Mailinglist Onderwerp: Re: [courier-users] question setting up userdb On Mon, Jun 10, 2002 at 10:02:29AM +0200, M. van der Kolk wrote: I'm having a problem setting up the userdb authentication. I want to have this authentication next to the unix shadow passwords. In the wed administration I can see that all the modules are working. Next, I've set up the file /etc/courier/userdb as following: [EMAIL PROTECTED] home=/home/courierusers|[EMAIL PROTECTED]|system pw=testpw|gid=100|uid=1011 After adding this entry I've ran makeuserdb to update the changes. The user and groupid are from the Unix user courierusers I've created. The mail dir I've created with maildirmake. When I try to send an email to this user, I get an e-mail back saying: 550 User unknown You have probably listed mydomain.com in the locals config file. Delete it from there, and put it instead into the hosteddomains file. -- Anand Buddhdev Personal site: http://anand.org ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] question setting up userdb
If your domain is defined in locals you have to remove the @domain part of your username. To use the @domain part is only necessary for domains listed in hosteddomains not in locals. Regards Manfred - Original Message - From: M. van der Kolk [EMAIL PROTECTED] To: Courier Mailinglist [EMAIL PROTECTED] Sent: Monday, June 10, 2002 10:02 AM Subject: [courier-users] question setting up userdb I'm having a problem setting up the userdb authentication. I want to have this authentication next to the unix shadow passwords. In the wed administration I can see that all the modules are working. Next, I've set up the file /etc/courier/userdb as following: [EMAIL PROTECTED] home=/home/courierusers|[EMAIL PROTECTED]|system pw=testpw|gid=100|uid=1011 After adding this entry I've ran makeuserdb to update the changes. The user and groupid are from the Unix user courierusers I've created. The mail dir I've created with maildirmake. When I try to send an email to this user, I get an e-mail back saying: 550 User unknown Can anyone help me? What am I missing here? M. van der Kolk ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] question setting up userdb
That's it. We should consider to put this hint to the courier manual. I think most of the newbies run into trouble with that. Regards, Andreas -- --- Andreas BirkholzALCATEL SEL AG mailto:[EMAIL PROTECTED]Germany --- Anand Buddhdev wrote: On Mon, Jun 10, 2002 at 11:11:00AM +0200, M. van der Kolk wrote: When I try this, I cannot receive any mail at all, even local to local users. I've seen an answer from A. Birkholz suggesting that I fut a file .courier-username in the aliasdir and run makealiases. But I cannot see how that will work, when I'm not trying to make an alias. I have a number of Unix users who will have a mail account on my courier MTA. Next to those users, I want to be able to have a number of mailaccounts who don't get an Unix account, for security reasons. Using userdb for those accounts was my idea. Ok. I see your problem. For what you want to do, your userdb entry is wrong. It should be: test home=/home/courierusers|[EMAIL PROTECTED]|systempw=testpw|gid=100|uid=1011 Do NOT put the domain name after the username in the userdb entry, and list your local domain ONLY in the locals file. -Oorspronkelijk bericht- Van: Anand Buddhdev [mailto:[EMAIL PROTECTED]] Verzonden: maandag 10 juni 2002 10:45 Aan: M. van der Kolk CC: Courier Mailinglist Onderwerp: Re: [courier-users] question setting up userdb On Mon, Jun 10, 2002 at 10:02:29AM +0200, M. van der Kolk wrote: I'm having a problem setting up the userdb authentication. I want to have this authentication next to the unix shadow passwords. In the wed administration I can see that all the modules are working. Next, I've set up the file /etc/courier/userdb as following: [EMAIL PROTECTED] home=/home/courierusers|[EMAIL PROTECTED]|system pw=testpw|gid=100|uid=1011 After adding this entry I've ran makeuserdb to update the changes. The user and groupid are from the Unix user courierusers I've created. The mail dir I've created with maildirmake. When I try to send an email to this user, I get an e-mail back saying: 550 User unknown You have probably listed mydomain.com in the locals config file. Delete it from there, and put it instead into the hosteddomains file. -- Anand Buddhdev Personal site: http://anand.org ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users