I've been using mini-qmail on Bering (per Hendry D.
Lee:
http://sourceforge.net/tracker/index.php?func=detail&aid=586953&group_id=13751&atid=313751
) but recently discovered that mail addressed to me in
the form "postmaster@[1.2.3.4]" was being rejected. I
tested this because of what I read at anti-spam
Distributed Server Boycott List (http://dsbl.org/)
concerning their emails to admins of blacklisted
servers. They will only attempt to send mail addressed
as above. Other RBLs might be doing the same.

When mail is addressed to my domain (let's say
"dork.face.name"), mini-qmail on the firewall compares
the domain to the allowed delivery domains in
/var/qmail/control/rcpthosts. If it's in there,
mini-qmail will forward the mail to the main mail
server behind the firewall ("server.dork.face.name").
Naturally, at least "dork.face.name" would be one of
the domains in rcpthosts.

When mini-qmail receives email addressed to the
firewall's external IP addie, it replaces the IP with
a domain name and forwards it to the mail server.
Unless otherwise specified, mini-qmail will replace
the IP with *its own* fully-qualified name (in my case
"firewall.dork.face.name"), which, of course, is not
going to be delivered on the firewall, so it gets
rejected.

The fix is to put "dork.face.name" into a new file
/var/qmail/control/localiphost. If this file exists,
mini-qmail will replace the IP addie with the
dork.face.name domain, compare the resulting address
with the list of domains in rcpthosts and, lo, there
is a match. The mail gets forwarded to the server.

Hope this helps if you're using mini-qmail and get
blacklisted :-)

-John


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to