Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello,
on a small server, I use Postfix version 2.11 (debian) and want to reject some spam domains which for example dbl[dot]spamhaus[dot]org doesn't seem to recognize.
her a part of my configuration:
host globe-yellow-pages.com
globe-yellow-pages.com has address 192.64.119.78
globe-yellow-pages.com mail is handled by 10 mail.globe-yellow-pages.com.
host mail.globe-yellow-pages.com
mail.globe-yellow-pages.com has address 80.211.229.185
but this is from 185.111.183.36 so it seems to be lying.
jwhois 185.111.183.36
netname: Biz-catalogs
Says network 185.111.183.0 - 185.111.183.255 is a good candidate for the block list.
Says network 185.111.183.0 - 185.111.183.255 is a good candidate for the block list.
Agreed. At least none of my customers need to receive email from Lithuania.
I don't know how to do it in postfix, but spam blocking by domain name is pretty hit-and-miss, because of forgeries; but an MTA always knows the IP of the server delivering the email, so blocking by IP address/range is very effective.
[PS: Note that "by IP" is how SORBS, spamcop, and SBL-XBL do their RBL (Real-time Block List) blocking, not by domain name]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.