![]() |
[HowTo] Selective greylisting - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Howtos (/forum-41.html) +--- Thread: [HowTo] Selective greylisting (/thread-1764.html) Pages: 1 2 |
[HowTo] Selective greylisting - rbtux - 11-12-2007 12:13 AM Hi there this howto describes how to use greylisting within postfix only für unknow host or hostname that looks like they are coming out of dynamic ip ranges. 1. Install postfix pcre package Quote:> apt-get install postfix-pcre 2. Create new file /etc/postfix/dynip.pcre EDIT: Attention the long regex is one single line!!! Quote:# everything with 4 or more dots/hyphens in the hostname 3. Change the main.cf Add Quote:smtpd_restriction_classes = rc_greylisting Change in the smpd_recipient_restrictions: Quote:check_policy_service inet:127.0.0.1:60000 to Quote:check_client_access pcre:/etc/postfix/dynip.pcre 4. Thats it RE: [HowTo] Selective greylisting - gOOvER - 11-17-2007 09:33 AM How change this Code if i have 904 installed ![]() Code: rc_greylisting = check_policy_service inet:127.0.0.1:60000 Have i change it to Code: rc_greylisting = check_policy_service inet:127.0.0.1:60000, ???? RE: [HowTo] Selective greylisting - rbtux - 11-17-2007 09:45 PM no you don't have to do it... the permit in the code doesn't do anything... it just increases the readability of the code... RE: [HowTo] Selective greylisting - pgentoo - 02-22-2009 04:10 AM rbtux, This is very interesting. How much extra spam do you see making it through when using this approach as to greylisting everything? - pGentoo RE: [HowTo] Selective greylisting - rbtux - 02-22-2009 04:19 AM its hard to tell definitly... somewhere between 1-15% this mails are then mostly filtered out by policyd-weight und spamassassin... when I changed the settings the spam at the endusers was not increasing but the querys to the dns server (rbls...) seemed to have increased about 12%... RE: [HowTo] Selective greylisting - pgentoo - 02-22-2009 04:36 AM how is server load in comparison to before? I'm curious, because i've had several clients complain about missed emails. After looking into it, it turned out that the sending server never retried after getting greylisted. ![]() RE: [HowTo] Selective greylisting - rbtux - 02-22-2009 04:40 AM haven't changed... RE: [HowTo] Selective greylisting - pgentoo - 02-22-2009 04:46 AM Ok, well once i get spamassassin running, i'll give it a try. ![]() RE: [HowTo] Selective greylisting - fulltilt - 04-28-2009 09:26 PM nice, works fine :-) is it possible to include a blacklist with email or domain under regex? RE: [HowTo] Selective greylisting - rbtux - 04-28-2009 10:41 PM of course ;-) |