Emilis Trinskis <[EMAIL PROTECTED]> wrote:
> Question about qmail vhosts:
> 
> I have a two domains: example1.com and example2.com
> And i have a user: john
> Now when i getting emails to  [EMAIL PROTECTED]  and [EMAIL PROTECTED]
> those emails goes to user john.
> I need todo: if email goes to [EMAIL PROTECTED] - it's ok
>              if email goes to [EMAIL PROTECTED] - no such user

Make one or both domains virtual.  Virtual domains should be listed only
in "virtualdomains" and "rcpthosts", and _not_ in "locals".  If both
domains are virtual, make sure they are handled by different local users.

Read "Life with qmail" and djb's qmail FAQ for more details.  Also the 
man page for qmail-send.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to