Hi,
After enabling the -h option in the supervise/smtp/run file I noticed, in
the log file, that ISP's often assign names to IP addresses that suggest
that the address is dynamic. Here is a sample of the hostnames from my log
file:
host136-158-dynamic.1-87-r.retail.telecomitalia.it
201-69-163-55.dial-up.telesp.net.br
bzq-88-154-233-243.red.bezeqint.net
66-205-234-59.idstelcom.net
pool-72-65-4-63.bflony.east.verizon.net
c-69-241-8-157.hsd1.ga.comcast.net
75-136-129-044.dhcp.gnvl.sc.charter.com
In the past I have attempted to use the control/badhelo feature to filter
spam but have noticed that the hostname that is provided with the helo
message can be quite misleading. In addition, the badhelo filter is applied
to both relay and non-relay clients. What I really want is a method of
filtering non-relay clients from sending Email to my toaster from what are
obviously dynamic IP addresses.
Being unable to locate a remotehost filter, I have modified the
qmail-smtpd.c file to provide support for just such a filter mechanism. I've
used a configuration file called /control/badremotehost that uses the same
regular expression parser as the other /control/badxxxx files. This
mechanism seems to have had the desired effect (~1200 filtered Email
messages in my little toaster in the past 4 days).
Is if anybody else interested in trying my changes and if so, what would be
the best way for me to distribute?
Regards,
Tim
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]