I misread (some time ago) the wiki doc mentioning virtual hosts as virtual
domains. I've just now set 'me' back to what I originally had, the same as
# hostname --fqdn
Maybe wasn't complient, but seemed to work ok. (?)
Jared Markell wrote:
Thanks Jake, appreciated insight!
I'm hoping this solves my other problem I was having as well, with
emails jumping from one domain to another (both on my mail server) would
be "skipped" by spamassassin (or simscan, I can't tell which is doing
it). It's a long shot, but I think it could be related as the emails in
question are coming from other domains to "[EMAIL PROTECTED]",
which is the same domain in defaulthost and defaultdomain, which may
make spamassassin and simscan think it's local, even though it isn't..
only time will tell when I get more spam and I can see if it fixed it. :)
Eric, what Jake means is that "me" should be a fully qualified domain
name, not an IP address. "me" is used for things like when an smtp
client connects to your machine and your machine announces who it is, it
needs to be a hostname (from what I read/remember). I think that's why
an IP addy is not RFC compliant.
Jared
------------------------------------------------------------------------
*From:* Jake Vickers [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, August 22, 2006 9:01 AM
*To:* [email protected]
*Subject:* Re: [qmailtoaster] local deliveries getting duplicated? (solved)
Eric "Shubes" wrote:
Thanks for posting the solution, Jared.
I'd like to see more detailed documentation in this arena as well. I
have the IP address of my toaster in 'me', and I'm not sure that's
right. (I'm running virtual domains, but not virtual hosts that I know
of).
Technically, that could not be RFC compliant. Here's some info about the
control files:
defaultdomain: ...
qmail-inject adds this name to any host name without dots,
including defaulthost if defaulthost does not have dots. (Excep-
tion: see plusdomain.)
So what this means (as far as I can tell) is that any email sent through
your machine that does not have an address with a '.' gets this added to
the end. Like if you sent mail from cron jobs as root (usually as
[EMAIL PROTECTED]), they would come through as
[EMAIL PROTECTED] And to reaffirm this:
*/etc/qmail/control/defaultdomain*
This file contains your default domain name, Qmail will add this
default domain to hostnames with out dots. So the email address
[EMAIL PROTECTED] becomes [EMAIL PROTECTED] For more information, read
the /qmail-inject/ man page. Since our domain is *foo.bar*, this
file should contain the line:
foo.bar
*/etc/qmail/control/defaulthost*
This file contains the default host name, Qmail adds this to email
addresses without hostnames. Normally, you would probably want to
set this to your domain name - so the email address *joe* becomes
[EMAIL PROTECTED] Since we want this, the file should contain the line:
foo.bar
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]