On Fri, Feb 12, 1999 at 07:25:02PM +0000, Michael Bryan wrote:
> I don't know what the problem is, but I just can't mail to virtual
> domains without having them in my control/locals file. It complains
> that it's the right MX for the host but the name is not in
> control/locals.
>
> Anybody have any idea?
Try simplifying things a little:
control/rcpthosts:
wsmg103.com
[any other domains you want to receive mail for]
control/virtualdomains:
wsmg103.com:wsmg
[any other virtual domains, but no other entries that mention wsmg103.com]
control/locals can contain anything, so long as it isn't wsmg103.com.
Now make sure that the user wsmg exists, and that ~wsmg/.qmail-user exists. (If
there's not really a user called wsmg, then you need ~alias/.qmail-wsmg-user.)
SIGHUP qmail-send.
Assuming that the MX record for wsmg103.com points to this host, you will be
able to send mail to [EMAIL PROTECTED], and delivery will be controlled by
~wsmg/.qmail-user (or ~alias/.qmail-wsmg-user, if the user wsmg doesn't exist).
Chris