From: Anthony Howe
Date: 2007-11-09 13:03:37 -0500
Subject: Re: Milter-Gris with Sendmail & Whitelisting
More information..: http://www.milter.info/#Support
Thom Paine wrote:
> I'm having a problem with the Ontario Government mail server hammering
> the hell out of my server every minute, trying to send email.
> Rather than starting a futile argument with someone there, I would
> like to add them to a whitelist.
> I read through the docs, and I see it talking about adding domains and
> ip to a whitelist, and other ones like the ebay alerts and things like
> that, but I'm unsure where to put them.
They go into the sendmail access.db.
See the milter-gris documentation concerning access-db option.
If you want to do it by IP then you can specify an exact IP like:
or an old style class
or if you want to do slice on an odd CIDR then
milter-gris-Connect:126.96.36.199 [188.8.131.52/26]OK NEXT
> I don't seem to have an /etc/greylist.conf file on my system. Do I
Milter-gris does not use a greylist.conf file. It used a milter-gris.cf
for the options only. All B/W listing are handled in the sendmail access
> therefore add these ip's to my /etc/mail/access file? And if so, do I
> just place the IP there, or do I need to put OK after it as well?
You always add things to this file in pairs. A left-hand-side KEY,
whitespace, and the remainder of the line is the VALUE.
> Could someone provide me a quick example to get me started?
> The offending mailserver is this in my log:
> Nov 4 12:39:00 mail sendmail: lA4Hcxs9008786:
> from=<Ron.Langer@ontario.ca>, size=260107, class=0, nrcpts=0,
> proto=ESMTP, daemon=MTA, relay=ctspotdcemmsg02.cihs.gov.on.ca
> It started sending mail on Oct 30 and tried every minute......
I would still recommend contacting them because they obviously have
Anthony C Howe Skype: SirWumpus SnertSoft
+33 6 11 89 73 78 ICQ: 7116561 BarricadeMX & Milters
Copyright 2009, 2012 by SnertSoft. All rights reserved.