Find the answer to your Linux question:
Results 1 to 6 of 6
Hey sendmail admins. I need a suggestion on what to do with the root account. I am getting spammed hard on the root account. It is hard to defend this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058

    Root on Sendmail


    Hey sendmail admins. I need a suggestion on what to do with the root account. I am getting spammed hard on the root account. It is hard to defend this because once they figure out it is a Linux server then they know there is a root account. I get so many spams it is hard to pick out the logwatch mails.

    What do you do?

    Mike
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  2. #2
    Just Joined! richiefrich's Avatar
    Join Date
    May 2006
    Location
    Houston
    Posts
    88
    Install a spam filter

    I use Spambayes
    but theres also the other favorite
    Spamassassin

    then dont forget you'll need a mail sorter I use procmail

    Hope that help.

    Or make alias then your root won't be getting the mail

  3. #3
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    I do use spamassassin, but it isn't enough. How would the alias work the same mail would now come to an alias account right?

    I was hoping I could filter by subject to the root account that would only accept email with a certain subject line. Is there any way to do that in sendmail?

    Then have all other email /null
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  4. #4
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,845
    The way I do it is to use real time black lists - this is a bit severe though. You could always remove (or rename) the root account and let em all bounce.
    Linux user #126863 - see http://linuxcounter.net/

  5. #5
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Quote Originally Posted by Roxoff
    The way I do it is to use real time black lists
    Can you explain more on this? How do I set this up?
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  6. #6
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,845
    Yeah, I added these lines to my M4 config file for sendmail:

    Code:
    FEATURE(`blacklist_recipients')dnl
    FEATURE(dnsbl,`cbl.abuseat.org',` Mail from $&(client_addr) rejected: see http://cbl.abuseat.org')dnl
    FEATURE(dnsbl,`relays.mail-abuse.org',` Mail from $&(client_addr) rejected; see http://www.mail-abuse.org/rss/')dnl
    There are other real-time black hole references you could use, too.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •