Post by Dave SillPost by Chipmunki have set up virtualhosts as per this info
http://www.linuxjournal.com/article/2313
but it does not work.
/var/qmail/control
locals
localhost
<internal name>.<internal domain>
rcpthosts
localhost
<internal name>.<internal domain>
<external name>.<external domain>
virtualdomains
<external name>.<external domain>:user
Debugging configuration errors based upon an abstract representation of
the actual broken configuration is difficult, at best, and quite
possible impossible since the abstraction may not contain the same error
as the actual configuration. If your domain names aren't top secret,
please post the actual configuration files. If they are top secret, you
should probably hire a consultant under a non-disclosure agreement.
Did you restart qmail after you modified control/virtualdomains?
Post by ChipmunkError: Although I'm listed as a best-preference MX or A for that host
it isn't in my control/locals file, so I don't treat it as local.
Sure sounds like qmail isn't using the current version of
virtualdomains, "<external name>.<external domain>" isn't listed there,
or the test message wasn't sent to the FQDN.
Multiple test messages have been sent to user@<external name>.<external
domain> the FQDN which resolves correctly via DNS.
The qmail server has been running fine for several years now delivering
email localy to my internal machines from a linux box which runs as my
firewall/router. Recently my isp decided to upgrade our pop3 email to
google webmail ^^ not something i consider to be an upgrade, actually
more of a downgrade. Google webmail is not fully pop3 compliant so i
chose to buy a domain name and set up pop3 with qmail-pop3d. All is
working fine except virtualdomains. I have googled the error but not
been able to find a solution, just some other ppl with the same problem.
ATM the test mails i sent are stuck in the outbound queue as i have
yet to configure qmail to send via my isp's SMTP or use SSL thus
outgoing is rejected as a possible spam source. Though these test emails
should have been delivered locally qmail is trying to bounce them as per
original error above. Outgoing is not a problem as my email client is
configured to send via my isp's SMTP server so i don't need to use qmail
to send mail out.
As posted above virtualdomains file contains the correct info. It's not
that its secret it's simply to avoid it being picked up by the spammers,
been there, done that, ate the pie, worn the t-shirt, 2000+ emails a day
plus several hundred bounces caused by spammers using my email address
in the from field, then finding servers in various parts of the world
had my email address banned as a source of spam, not funny.
If you want to take this to email to help me solve it then by all means
do so, simply remove NOSPOOM from my email address, can't guarantee i
will receive it though as google webmail has its own idea of what
constitutes spam. But i will then send you the config files as is but i
will have to paste them into the mail as google webmail does not permit
many forms of attachment.