Community Discussions and Support
Blacklists aren't working

Hi Jeff,

Sorry for late reply this works for me;

Begin
Name: Spamcop
Enabled: Y
QueryType: Blacklist
QueryForm: Address
Hostname: bl.spamcop.net
Strictness: Range 127.0.0.2 - 127.0.0.10
Action: Tag
Parameter: X-Blocked: Spamcop Rejected
End

 

I remember the Strictness took some tweaking.

I Tag all mine Then use the global spam to pull the tag that way if it blocks a gmail type server if the address is in my white list its honored rather than rejected.

Regards.

Mark.

<p>Hi Jeff,</p><p>Sorry for late reply this works for me; </p><p>Begin Name: Spamcop Enabled: Y QueryType: Blacklist QueryForm: Address Hostname: bl.spamcop.net Strictness: Range 127.0.0.2 - 127.0.0.10 Action: Tag Parameter: X-Blocked: Spamcop Rejected End</p><p> </p><p>I remember the Strictness took some tweaking. </p><p>I Tag all mine Then use the global spam to pull the tag that way if it blocks a gmail type server if the address is in my white list its honored rather than rejected. </p><p>Regards. </p><p>Mark. </p>

My Mercury 4.80 server is not blocking any connections using the defined blacklists. From the mail server, I can take the IP address and do an nslookup from the command prompt on the server and get a positive response so I don't think it is a firewall issue. I am pasting my blacklist definition and MercuryS section from my mecury,ini file. Looking for any ideas on how to troubleshoot this. 

-jeff 

C:\Users\admin>nslookup 107.253.227.45.bl.spamcop.net
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    107.253.227.45.bl.spamcop.net
Address:  127.0.0.2

Below is the blacklist definition from the MS_SPAM.MER file.

Begin
Name: Spamcop
Enabled: Y
QueryType: Blacklist
QueryForm: Address
Hostname: bl.spamcop.net
Strictness: Normal
Action: Drop
Parameter: Your IP Address is Blacklisted on http://www.spamcop.net
End

Here is the MercuryS section from my mercury.ini file:

[MercuryS]
Debug : 1
Logfile : c:\mercury\logs\mercs.txt
Size : 21000000
Timeout : 120
Relay : 0
Strict_Relay : 0
Alt_Server_Port : 2526
Interface : 
Allow_Illegals : 0
SMTP_Authentication : 1
Auth_File : c:\mercury\smtp_PW.txt
Session_logging : C:\MERCURY\LOGS\smtps
Session_logmode : 0
Compliance_Settings : 800
Maximum_Failed_Rcpts : 10
Max_Relay_Attempts : 3
SSL_Mode : 1
SSL_Certfile : C:\MERCURY\certificate
ST_Blacklisting : 288
TF_Filename : TRANSFLT.MER
No_VRFY : 1
SMTP_ConnFlags : 0
SSLD_Port : 465
Compliance_Exceptions : 
 


<p>My Mercury 4.80 server is not blocking any connections using the defined blacklists. From the mail server, I can take the IP address and do an nslookup from the command prompt on the server and get a positive response so I don't think it is a firewall issue. I am pasting my blacklist definition and MercuryS section from my mecury,ini file. Looking for any ideas on how to troubleshoot this. </p><p><span style="font-size: 10pt;">-jeff </span></p><p> C:\Users\admin>nslookup 107.253.227.45.bl.spamcop.net <span style="font-size: 10pt;">Server:  google-public-dns-a.google.com </span><span style="font-size: 10pt;">Address:  8.8.8.8</span></p> <p>Non-authoritative answer: <span style="font-size: 10pt;">Name:    107.253.227.45.bl.spamcop.net </span><span style="font-size: 10pt;">Address:  127.0.0.2</span></p> <p>Below is the blacklist definition from the MS_SPAM.MER file.</p> <p><span style="font-size: 10pt;">Begin </span><span style="font-size: 10pt;">Name: Spamcop </span><span style="font-size: 10pt;">Enabled: Y </span><span style="font-size: 10pt;">QueryType: Blacklist </span><span style="font-size: 10pt;">QueryForm: Address </span><span style="font-size: 10pt;">Hostname: bl.spamcop.net </span><span style="font-size: 10pt;">Strictness: Normal </span><span style="font-size: 10pt;">Action: Drop </span><span style="font-size: 10pt;">Parameter: Your IP Address is Blacklisted on http://www.spamcop.net </span><span style="font-size: 10pt;">End</span></p> <p>Here is the MercuryS section from my mercury.ini file:</p><p><span style="font-size: 10pt;">[MercuryS] </span><span style="font-size: 10pt;">Debug : 1 </span><span style="font-size: 10pt;">Logfile : c:\mercury\logs\mercs.txt </span><span style="font-size: 10pt;">Size : 21000000 </span><span style="font-size: 10pt;">Timeout : 120 </span><span style="font-size: 10pt;">Relay : 0 </span><span style="font-size: 10pt;">Strict_Relay : 0 </span><span style="font-size: 10pt;">Alt_Server_Port : 2526 </span><span style="font-size: 10pt;">Interface :  </span><span style="font-size: 10pt;">Allow_Illegals : 0 </span><span style="font-size: 10pt;">SMTP_Authentication : 1 </span><span style="font-size: 10pt;">Auth_File : c:\mercury\smtp_PW.txt </span><span style="font-size: 10pt;">Session_logging : C:\MERCURY\LOGS\smtps </span><span style="font-size: 10pt;">Session_logmode : 0 </span><span style="font-size: 10pt;">Compliance_Settings : 800 </span><span style="font-size: 10pt;">Maximum_Failed_Rcpts : 10 </span><span style="font-size: 10pt;">Max_Relay_Attempts : 3 </span><span style="font-size: 10pt;">SSL_Mode : 1 </span><span style="font-size: 10pt;">SSL_Certfile : C:\MERCURY\certificate </span><span style="font-size: 10pt;">ST_Blacklisting : 288 </span><span style="font-size: 10pt;">TF_Filename : TRANSFLT.MER </span><span style="font-size: 10pt;">No_VRFY : 1 </span><span style="font-size: 10pt;">SMTP_ConnFlags : 0 </span><span style="font-size: 10pt;">SSLD_Port : 465 </span><span style="font-size: 10pt;">Compliance_Exceptions :  </span><span style="font-size: 10pt;"> </span></p> <p> </p>

I'm not using DNSBL queries directly from Mercury myself, but I haven't seen any recent reports of such problems.

If multiple name servers are specified you could verify that all work by including the server IP address in nslookup, for instance:

    nslookup 107.253.227.45.bl.spamcop.net 8.8.4.4

If all respond correctly the next step could be to try it with the current beta version of Mercury, which has quite a lot of updates in the networking code. Post here and I'll provide a download link.

 

 

<p>I'm not using DNSBL queries directly from Mercury myself, but I haven't seen any recent reports of such problems.</p><p>If multiple name servers are specified you could verify that all work by including the server IP address in nslookup, for instance:</p><p><span style="font-family: Tahoma, Arial, Helvetica; font-size: 12.096px;">    nslookup 107.253.227.45.bl.spamcop.net</span> 8.8.4.4</p><p>If all respond correctly the next step could be to try it with the current beta version of Mercury, which has quite a lot of updates in the networking code. Post here and I'll provide a download link.</p><p> </p><p> </p>

Hello jeffn,

Blacklists are working for me. I use Spamhaus lists MS_SPAM.MER:-

Begin
Name: Spamhaus ZEN
Enabled: Y
QueryType: Blacklist
QueryForm: Address
Hostname: zen.spamhaus.org
Strictness: Range 127.0.0.2 - 127.0.0.11
Action: Reject
Parameter: Message Rejected - Matched SPAMHAUS ZEN
End

Begin
Name: Spamhaus DBL
Enabled: Y
QueryType: Blacklist
QueryForm: Domain
Hostname: dbl.spamhaus.org
Strictness: Range 127.0.1.2 - 127.0.1.255
Action: Reject
Parameter: Message Rejected - Matched SPAMHAUS DBL
End

 

Has Spamcop changed their result codes recently?

John.

<p>Hello jeffn,</p><p>Blacklists are working for me. I use Spamhaus lists MS_SPAM.MER:-</p><p>Begin Name: Spamhaus ZEN Enabled: Y QueryType: Blacklist QueryForm: Address Hostname: zen.spamhaus.org Strictness: Range 127.0.0.2 - 127.0.0.11 Action: Reject Parameter: Message Rejected - Matched SPAMHAUS ZEN End Begin Name: Spamhaus DBL Enabled: Y QueryType: Blacklist QueryForm: Domain Hostname: dbl.spamhaus.org Strictness: Range 127.0.1.2 - 127.0.1.255 Action: Reject Parameter: Message Rejected - Matched SPAMHAUS DBL End </p><p> </p><p>Has Spamcop changed their result codes recently?</p><p>John. </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft