Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I'm having a Linux EL AS 3 running as a mail server (Sendmail). Once I started receiving Spam ,I thought of controlling it and configured Sendmail (in sendmail.mc) to use the RBL this way,
FEATURE(`dnsbl', `list.dsbl.org', `"550 Mail from "$`'&{client_addr} " refused - see http://dsbl.org/"')dnl
FEATURE(`dnsbl', `bl.spamcop.net', `"550 Mail from "$`'&{client_addr} " refused - see http://spamcop.net/bl.shtml/"')dnl
These 2 entries were given and ran the commands
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
service sendmail restart
But I couldn't find any of the spam mails blocked.What could have gone wrong? Is there any other way to control the spam.Please give me a solution.
first of all view your log file in /var/log/. find out the spam source. then edit the file /etc/mail/access and add the line
From:xx.xx.xx.xx REJECT
here the xx.xx.xx.xx line specifies the ip add: of the source. also you can specify the subnet or fqdn.sava the file and issue the command " make access.db". then restart your service. i hope it would work. bye
No. There is no point in doing that. Every day I get spam from different domains.So even if I add the entry n /etc/mail/access , tomorrow the mails are sent in another domain .So every day I have to do the same process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.