atom feed7 messages in net.sourceforge.lists.courier-users[courier-users] Re: Can I do this?
FromSent OnAttachments
Lindsay HaisleyMar 30, 2002 11:16 am 
Lindsay HaisleyMar 30, 2002 12:25 pm 
Sam VarshavchikMar 30, 2002 1:38 pm 
Lindsay HaisleyMar 30, 2002 2:21 pm 
Lindsay HaisleyMar 30, 2002 2:49 pm 
Sam VarshavchikMar 30, 2002 4:03 pm 
Elian KoolApr 1, 2002 12:51 pm 
Subject:[courier-users] Re: Can I do this?
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 30, 2002 1:38:46 pm
List:net.sourceforge.lists.courier-users

Lindsay Haisley writes:

Here's what I'd like to do for virtual accounts. The setup is easy, getting courier to work with it is where I have questions.

I want to create virtual mail accounts so that the id for each account is unique, tied to the domain name under which the virtual account will be used. I'm using authmysql and authpam, the former being checked first.

I can set up a virtual mailbox account so that the id field in the mysql passwd table contains user@domain, so POP logins will be unique, and the 'home' field will be set to something like /home/virtmail/domain/user, which uniquely defines the mailbox. This works fine for POP access, but won't work for esmtp, which gives me a "User unknown" in response to rcpt to: <user@domain>. If I set the ID field to "user" instead of "user@domain"

Put domain in hosteddomains, instead of locals.