Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    5

    Default SpamAssassin blocking all mail

    Since today's updates, any accounts with SpamAssassin enabled are not having any mail delivered to them. The exim_mainlog says that mail is being delivered, but the mail itself cannot be found.

    Disabling SpamAssassin allows mail to be sent, and the accounts without SpamAssassin have had no problems.

    Any ideas?

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    132

    Default

    I'm getting exactly the same:

    - When I was on Build 12, with Spam Assassin enabled all mail was getting bounced back to the sender.

    - With S. A. disabled, all works fine.

    - I tried /scripts/convertemails5 and it had no effect.

    - Just a few mins ago did /scripts/upcp to manually update CPanel, which has taken me to Build 18.

    - Now, with S. A. enabled, all mail just disappears -- it does not even get bounced back.

    This last is the same problem that existed a long time ago and eventually got fixed, and allowed us to use Spam Assassin.

    Sure hope that you can fix this asap, we get tons and tons of spam!

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    110

    Default

    Yes, we are seeing this also... All emails are gone.

    If anyone else wants to disable Spam Assassin on all the users accounts, they can do a:
    locate .spamassassinenable

    Then remove all the files that show-up from the locate. They will be in the:
    /home/$username/.spamassassinenable
    Replace $username with the users username.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    105

    Default

    I beleive i have found the error

    pico /etc/exim.conf

    search for this line

    command = &/usr/bin/spamassassin -l ${extract{5}{:}{${lookup{$local_part}lsearch{/etc/passwd}{$value}}}}/mail/inbox-w

    that is the error, mail is being sent to inbox-w

    change it to

    command = &/usr/bin/spamassassin -l ${extract{5}{:}{${lookup{$local_part}lsearch{/etc/passwd}{$value}}}}/mail/inbox -w

    and that should fix it.

    I have reported this to nick
    mshanks@ultraspeed.co.uk
    Http://www.ultraspeed.co.uk
    ICQ: 86889848

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    132

    Default

    Hi Mike,

    Good to see the Brits sorting things out

    I tried that, and on a test account it did seem to stop the problem of mail not getting delivered, now Spam Assassin does not seem to be doing any filtering (ie, no Spam Assassin stuff is getting added to the mail headers).

  6. #6
    bdraco
    Guest

    Default

    Actually that won't fix the problem, it will just pass the mail though (that is what th e -l option does)

    spamassassin 2.4x broke delivery to mboxs. Actually they just removed it completly (the missing space is a result of trying to get a quick fix .. which doesn't fix it anyways).


    I'm actually having to patch up the spamassassin script. FYI, this has nothing to do with cPanel 5 mail, spamassassin just decided to drop mbox deliver support (with no notice) yesterday.

  7. #7
    bdraco
    Guest

    Default

    Running /scripts/sysup exim should install a modified exim.conf what uses this new modified spamassassin (spamassasin-cpanel)

  8. #8
    Member
    Join Date
    Apr 2002
    Posts
    64

    Default

    ran the sysup, restarted exim, still getting

    This message was created automatically by mail delivery software (Exim).

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    user@domain.com
    Child process of virtual_sa_userdelivery transport returned 70 (could mean internal software error) from command:
    /usr/bin/spamassassin
    -rich2

  9. #9
    bdraco
    Guest

    Default

    [quote:2d771ab3fa][i:2d771ab3fa]Originally posted by rich2[/i:2d771ab3fa]

    ran the sysup, restarted exim, still getting

    This message was created automatically by mail delivery software (Exim).

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    user@domain.com
    Child process of virtual_sa_userdelivery transport returned 70 (could mean internal software error) from command:
    /usr/bin/spamassassin
    [/quote:2d771ab3fa]

    Do you have your exim.conf +i ??

    It should be delivering to /usr/bin/spamassassin-cpanel

  10. #10
    Member
    Join Date
    Apr 2002
    Posts
    64

    Default

    not sure what you mean by +i (chmod +i /etc/exim.conf ?) guess i'm a newb.

    but yes the conf looks right, i see the file, and its specified in the conf correctly.

    *scratches head*
    -rich2

  11. #11
    bdraco
    Guest

    Default

    please run

    grep cpanel /etc/exim.conf

  12. #12
    Member
    Join Date
    Apr 2002
    Posts
    64

    Default

    [root@oxygen ] ~ & grep cpanel /etc/exim.conf
    command = &/usr/bin/spamassassin-cpanel -w $sender_address&
    command = &/usr/bin/spamassassin-cpanel -w $sender_address&
    -rich2

  13. #13
    Member
    Join Date
    Jul 2002
    Posts
    5

    Default

    A quick note: Apparently, the latest build of CPanel (5.0.0-24) fixed the problem, because SpamAssassin's working again for me. YAY!

    Thanks, CPanel!

    Mike

  14. #14
    Member
    Join Date
    Apr 2002
    Posts
    64

    Default

    yes i think everything is working fine, did a few tests. we'll see if my customers get to me though
    -rich2

  15. #15
    Member Brad's Avatar
    Join Date
    Aug 2001
    Posts
    236

    Default

    The /scripts/sysup fixed the problem here..

Similar Threads & Tags
Similar threads

  1. UCEProtect Mail Blocking
    By web12 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-15-2006, 07:25 AM
  2. Blocking an E-mail address? [moved]
    By bluefish in forum New User Questions
    Replies: 2
    Last Post: 07-14-2006, 01:41 PM
  3. SpamAssassin Problem - E-Mail Wont work if SpamAssassin enabled!
    By peterquast in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-27-2005, 10:18 AM
  4. Blocking E-Mail
    By crowfield99 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-29-2003, 10:53 AM
  5. Blocking Domain E-mail Address
    By ZachICU in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-16-2003, 07:03 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube