[Greylist-users] Block any user at an IP range for a SINGLE user?

Brian Ross bross at qualcomm.com
Tue Nov 28 16:27:20 PST 2006

You'd want something like the following for each Hotmail IP (be sure 
to replace IP and RECIPIENT with suitable values):

INSERT INTO relaytofrom (relay_ip, rcpt_to, record_expires, 
block_expires, create_time) VALUES ('IP_GOES_HERE', 
'RECIPIENT_GOES_HERE', '9999-12-31 23:59:59', '9999-12-31 23:59:59', NOW());

**: This is based on Evan's relaydelay

Brian Ross
IT Engineer, Sr. - Messaging Services
Postmaster - QUALCOMM, Inc.

At 11:44 AM 11/28/2006, Dennis Wynne wrote:
>We get some spam and some legit mail from hotmail servers.  I have one user
>that wants me to block it all.
>Normally, I would run
>xlist.pl black ip hotmail.ips.go.here
>to block all mail from that IP or range of IPs.
>It is possible to make a non-expiring entry in the database that has the IP
>and a single rcpt_to address (e.g. user at domain.com) and have the script know
>to block that mail - but do the normal greylist for that same IP if the
>rcpt_to is anyone else at the domain?
>If I can't do it by IP, can I add a triplet that has IP a mail_from of
>"@hotmail.com" and the user at domain.com as the rcpt_to?  In other words, from
>this IP block any mail from any hotmail users to this local user?
>Greylist-users mailing list
>Greylist-users at lists.puremagic.com

More information about the Greylist-users mailing list