1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

spamassassin woes - headers only

Discussion in 'Plesk for Linux - 8.x and Older' started by psifx, Nov 2, 2005.

  1. psifx

    psifx Guest

    0
     
    FC3
    PSA 7.5.4
    PSA Spamassassin.
    ClamAv : http://www.grafxsoftware.com/util/PLESK-HOWTO.txt


    If a user has spamassassin enabled, then their incoming email is stripped and left as the following:

    Return-Path: <sender@domain.com>
    Delivered-To: 5-recip@domain.com


    I have narrowed it down to spamassassin as the culprit - although I cannot determine why.

    They only thing recently performed on the server was plsek migration. Alhtough a disastorous event in itself, I do not see what the relationship could be????


    The following extract shows spamassassin working ok (noting the existing bad protocol message)


    Nov 2 20:10:34 hostname spamd[614]: server started on UNIX domain socket /tmp/spamd_full.sock (running version 3.0.4)
    Nov 2 20:10:34 hostname spamd[614]: server successfully spawned child process, pid 618
    Nov 2 20:10:34 hostname spamd[614]: server successfully spawned child process, pid 619
    Nov 2 20:10:34 hostname spamd[614]: server successfully spawned child process, pid 620
    Nov 2 20:10:34 hostname spamd[615]: server started on UNIX domain socket /tmp/spamd_light.sock (running version 3.0.4)
    Nov 2 20:10:34 hostname spamd[615]: server successfully spawned child process, pid 622
    Nov 2 20:10:34 hostname spamd[615]: server successfully spawned child process, pid 623
    Nov 2 20:10:34 hostname spamd[615]: server successfully spawned child process, pid 624
    Nov 2 20:10:34 hostname spamd[615]: server successfully spawned child process, pid 625
    Nov 2 20:10:34 hostname spamd[614]: server successfully spawned child process, pid 621
    Nov 2 20:10:34 hostname spamd[614]: server successfully spawned child process, pid 627
    Nov 2 20:10:34 hostname spamd[617]: spamd starting
    Nov 2 20:10:34 hostname spamd[618]: got connection over /tmp/spamd_full.sock
    Nov 2 20:10:34 hostname spamd[618]: bad protocol: header error: (closed before headers)
    Nov 2 20:10:34 hostname spamd[615]: server successfully spawned child process, pid 626
    Nov 2 20:17:51 hostname spamd[619]: got connection over /tmp/spamd_full.sock
    Nov 2 20:17:51 hostname spamd[619]: bad protocol: header error: (closed before headers)
    Nov 2 20:17:51 hostname spamd[622]: got connection over /tmp/spamd_light.sock
    Nov 2 20:17:51 hostname spamd[622]: bad protocol: header error: (closed before headers)
    [root@hostname new]#


    NOthing of interest in the messages file.....
     
  2. psifx

    psifx Guest

    0
     
    Just in case anyone else has this problem...

    The .qmail file which calls psa-spamc (/usr/local/psa/bin/psa-spamc) is empty.

    Copying the contents of the psa-spamc file, and modifying the location of the spamc program seems to work - although I will let Plesk know....

    This thread provides some useful reading : http://forum.plesk.com/showthread.php?s=&threadid=21384&highlight=psaspamc
     
  3. semba

    semba Guest

    0
     
    psa-spamc

    I also came across this problem just now, after updating my plesk configuration. Seems the problem in my case was that /usr/local/psa/bin/psa-spamc was no longer executable!

    The error message in maillog was:


    delivery 7200: success: /bin/sh:_line_1:_/usr/local/psa/bin/psa-spamc:_Permission_denied/Get_mailbox_size_error:_unable_to_get_size_of_subdir_in_mail_user_home_dir(please_report_about_to_development_group).//Get_mailbox_size_error:_unable_to_get_size_of_subdir_in_mail_user_home_dir(please_report_about_to_development_group).//did_1+0+2/did_0+0+1/

    chmod a+x /usr/local/psa/bin/psa-spamc quickly solved the problem.

    I sure wish Plesk would TEST their updates. :eek:
     
Loading...