The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Geek Stuff

Linux - Protecting Yourself From Being A Spam Base

(2 posts)
  • Started 8 years ago by Zig
  • Latest reply from Michael
  • Topic Viewed 1238 times

PARTNER SPOTLIGHT

Recommended: Clean Your PC the Easy Way with CleanMyPC

If you want to clean up your PC the easy way, CleanMyPC is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyPC for Free Today

Posted yesterday 
Top
Zig
Posts: 140

Protecting yourself from being a spam base
Sendmail allows for someone to telnet to port 25 and do an expn (expand) to see what users and aliases are on your machine. Also, vrfy (verify) means someone can get legal e-mail addresses from your box and send spam through your machine.

Don't want that, so look in your /etc/sendmail.cf file for a line that looks like this:

###############
# Options #
###############

Now cut and paste these next few lines below that:

# turning off the expand option and requiring a helo from
# a remote computer
Opnoexpn,novrfy,needmailhelo

Now there is no expansion, no verify, and sendmail requires a helo with a legitimate DNS in order to use the mailer.

Then look in your /etc/mail/aliases file and ensure you have only your own boxen and/or subnet in there as OK or RELAY. That will help cut down on spammers' ability to find relay machines to do their dirty work for them.

Posted 8 years ago
Top
 
michael
Posts: 568

Thanks, this will help me when I start to get into Linux. :)

Posted 8 years ago
Top
 



Topic Closed

This topic has been closed to new replies.