"shajai" <[EMAIL PROTECTED]> wrote:
>MX for two domains pointing towards one qmail server, all mails for
>both the domains are coming to that server. How can I define two mail
>accounts with the same username for different domains(i.e. [EMAIL PROTECTED]
>and [EMAIL PROTECTED] ).
Use a virtual domain. See:
http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
> Also the qmail server is checking only for username after the mails
> come to the server how can I instruct qmail to check for the
> complete email id(i.e. [EMAIL PROTECTED] )instead of checking only
> for username.
I'm not sure what you're saying here. qmail-smtpd will accept messages
for any address listed in control/rcpthosts or, if RELAYCLIENT is set,
any address at all. qmail-send will try to deliver locally to any
recipient on a host listed in control/locals or
control/virtualdomains.
-Dave