OK, thanks!  It's a RTFM issue, but courier has such a lot of RTFM :-P

It might be helpful to people to note in courier(8) for hosteddomains that
locals is parsed before hosteddomains.  If an address is in locals it won't
get seen in hosteddomains.  This is implicit in the documentation, but
something a little more explicit would be nice.  It would have saved me some
farting around trying to figure out why it wasn't working.

Thus spake Sam Varshavchik on Sat, Mar 30, 2002 at 03:38:19PM CST
> 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. 
> 
> -- 
> Sam 
> 
> 
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
Lindsay Haisley       | "Everything works    |     PGP public key
FMP Computer Services |       if you let it" |      available at
512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
http://www.fmp.com    |                      |

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to