Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24
Thanks for the tip. However, upon attempting the presented strategy, a /etc/procmailrc file could not be found. We're currently using Sendmail version: 8.12 on Fedora/RH 1 ? mtsal...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    May 2003
    Location
    Seattle
    Posts
    37

    Thanks for the tip. However, upon attempting the presented strategy, a /etc/procmailrc file could not be found. We're currently using Sendmail version: 8.12 on Fedora/RH 1 ?

    mtsal

  2. #12
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yes, it does not usually come with one - you'll have to create it.

  3. #13
    Just Joined!
    Join Date
    May 2003
    Location
    Seattle
    Posts
    37
    The closest file with procmail in it was in the /usr/bin as in /usr/bin/procmail. All other files with procmail* were under the /usr/share/docs directory via a "find / -name procmail*"

  4. #14
    Just Joined!
    Join Date
    May 2003
    Location
    Seattle
    Posts
    37
    Didn't know you'd replied. Will touch /etc/procmailrc do the trick? If so, will the default permissions work? Thanks.

  5. #15
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yeah, 644 will work just fine. You don't have to touch it - just open a text editor, type that in and save it as /etc/procmailrc. Or run "cat >/etc/procmailrc" and type it in terminated with Ctrl+D. The possibilities are endless, really.

  6. #16
    Just Joined!
    Join Date
    May 2003
    Location
    Seattle
    Posts
    37
    Thank you. Well, looks like everything is in place. Adding domain.com to /etc/mail/access with a 550 "Spam isn't welcomed message" and restarting sendmail could be tested because you know you'd receive the rejected message to confirm the test however, that doesn't seem to be the case with Spamassassin. And the final question is: How can Spamassassin be tested?

    mtsal

  7. #17
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    The best way is to either send a message to yourself from a blacklisted address.

  8. #18
    Just Joined!
    Join Date
    May 2003
    Location
    Seattle
    Posts
    37
    Yea, I included the yahoo.com account in the local.cf file then restarted sendmail and spamassassin. I then sent myself an email from a yahoo account and yet, still received an email.

    Here are all of the steps I've taken.
    1) created a procmailrc file under /etc
    2) typed in the following to the procmailrc file:
    :0fw
    |/usr/bin/spamassassin -P

    (w/out adding anything else to this file (assumed '0' is a zero))
    3) see the spamassassin directory in /etc/mail/
    4) checked it in ntsysv as to start up at bootup.
    5) included the *blacklist_from *@yahoo.com* (w/out the asteriks) under /etc/mail/spamassassin/local.cf
    6) restarted both sendmail and spamassassin
    7) sent a test email from yahoo to the domain

    Once I get this to work, I will send/post all effective steps to spamassassin.org to help others avoid what I'm going through.

    Did I miss anything

    mtsal :o

  9. #19
    Just Joined!
    Join Date
    May 2003
    Location
    Seattle
    Posts
    37
    Correction:

    5) included the *blacklist_from *@yahoo.com* (w/out the asteriks) under /etc/mail/spamassassin/local.cf

    Meant to say w/out the outside *asteriks*. I did include the wildcard asterik * in from of yahoo.com , though.

  10. #20
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Did you check the contents of the email? You see, spamassassin doesn't reject SPAMs, it just "marks" them as SPAM. For example, when I get a SPAM, it looks something like this:
    Code:
    From&#58; "Ricky Travis" <pldievffltsnu@yahoo.com>
    To&#58; fredrik@dolda2000.cjb.net
    Subject&#58; RE&#58;Status of your account
    Date&#58; Mon, 02 Feb 2004 12&#58;17&#58;04 +0500
    
    Spam detection software, running on the system "pc7.dolda2000.com", has
    identified this incoming email as possible spam.  The original message
    has been attached to this so you can view it &#40;if it isn't spam&#41; or block
    similar future email.  If you have any questions, see
    fredrik@dolda2000.com for details.
    
    Content preview&#58;  What do women tell if their partner take Generic
      V'1'a'g'r'a&#58; "My s'e'x'u'a'I life became more vivid because my lover
      could keep erection much longer than usual"! "..my husband worried
      about his erection even when it was good, and our sex failed!.. Taking
      Viagra helped him to gain self-reliance. That's wonderful!" &#91;...&#93; 
    
    Content analysis details&#58;   &#40;7.9 points, 5.0 required&#41;
    
     pts rule name              description
    ---- ---------------------- --------------------------------------------------
     4.3 GENERIC_VIAGRA         BODY&#58; Mentions Generic Viagra
     0.5 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received' headers
     1.2 MISSING_MIMEOLE        Message has X-MSMail-Priority, but no X-MimeOLE
     0.1 MISSING_OUTLOOK_NAME   Message looks like Outlook, but isn't
     1.9 FORGED_MUA_EUDORA      Forged mail pretending to be from Eudora
    
    The original message was not completely plain text, and may be unsafe to
    open with some email clients; in particular, it may contain a virus,
    or confirm that your address can receive spam.  If you wish to view
    it, it may be safer to save it to a file and open it with an editor.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

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