XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Dns Blacklist Return Status Code Filtering

Reply to this topicStart new topicStart Poll

> Dns Blacklist Return Status Code Filtering
FiftySix
Posted: Jul 17 2009, 01:17 PM
Quote Post


Newbie
*

Group: Members
Posts: 3
Member No.: 3339
Joined: 17-July 09



Hi all,

I've been searching the forums, but I couldn't find a similar topic.

I'm wondering if there's a way to let Xmail filter the Return Status Codes returned by looking up the IP of the sending mailserver.

For example, if an DNSBL returns the statuscode 127.0.0.2, I still want to accept the incoming connection, but alle other statuscodes for this blacklist should result in a block of the incoming connection, as normal.

Thanks in advance for the answer!

Regards,

Christian
PMEmail Poster
Top
atomant
Posted: Jul 25 2009, 08:03 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



An example DNSBL with status code:

CODE
sbl-xbl.spamhaus.org.:0,combined.njabl.org.:0,bl.spamcop.net.:0


If the return code is different than 0 the sender is not accepted.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
FiftySix
Posted: Aug 3 2009, 01:28 AM
Quote Post


Newbie
*

Group: Members
Posts: 3
Member No.: 3339
Joined: 17-July 09



Thank you for your answer.

Can I, for example, use it like this:
CODE
sbl-xbl.spamhaus.org.:127.0.0.2


Or, for allowing multiple status codes:

CODE
sbl-xbl.spamhaus.org.:127.0.0.1,127.0.0.2


Or do I have to use multiple entries, like this:
CODE
sbl-xbl.spamhaus.org.:127.0.0.1,sbl-xbl.spamhaus.org.:127.0.0.2


So, if the status code is anything other than 127.0.0.1 or 127.0.0.2 the message will be blocked.
PMEmail Poster
Top
atomant
Posted: Aug 10 2009, 03:44 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



I am not sure that you can use exit codes like 127.0.0.2. If you stick to the sample I provided then you'll be ok.

You have to provide multiple entries and not multiple exit codes.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
FiftySix
Posted: Aug 27 2009, 11:06 AM
Quote Post


Newbie
*

Group: Members
Posts: 3
Member No.: 3339
Joined: 17-July 09



Thank you for your help. I will play around with the exit codes.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll