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

Rename mail account error

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by gregnvision, Jul 14, 2010.

  1. gregnvision

    gregnvision Guest

    0
     
    Hi,

    i did not find anything about this error, when i rename a email account i can see this message :

    the database is modified as i can see the new name in the panel

    but the folder in /var/qmail/domain/account is not modified. I try to send a mail to the "new" name and it doesn't work (the account does not exist in plesk virtual...)

    I check the sw-cp-server log and i see this error :

    i use plesk 9.5.2, with Centos 5.5

    I don't use the psa-spamassassin packackage but the 4psa mail-guardian. I also ask them for this error, they do tests and also see this error when the psa-spamassassin is not installed

    Is the anything to do in order to correct this problem ?

    Greg
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to rename it with /usr/local/psa/bin/mail utility with --rename option (--help for details).
     
  3. gregnvision

    gregnvision Guest

    0
     
    first thanks for the reply

    so i try to rename an account with the command line utility

    as i read the documentation the syntax seems to be correct

    as result i have the same error:
    and account is modified in the plesk interface but not physical (also mail to the new adress are not delivered)
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to update status of spamfilter for this mailbox with

    After that try to rename it.
     
  5. gregnvision

    gregnvision Guest

    0
     
    i think that is the problem

    i don't use the plesk spamassassin, so when i try to update the user account i have this :

    which is fairly normal as i don't use it

    but it should not impact the mail utility because it is not installed
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Ok. Did you tried rebuild mailsettings with mchk utility?
     
  7. gregnvision

    gregnvision Guest

    0
     
    i didn't try this yet

    which is the best option, should i rebuilt the settings with or without the spam options ?

    the documentation is not very clear about it (is the option --whitout-spam will desactive the spamfilter options ?)
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You can use --without-spam option if you really do not have any enabled spamfilters there.
     
  9. gregnvision

    gregnvision Guest

    0
     
    i run the mchk --without-spam command

    result is good but it is not what i expect, the command has rebuilt mail setting so renamed account can now recieveid email (which is a good thing :) )

    but it does not correct the initial rename problem which is still there

    i don't understand why this error "spam filter does not exist " is shown because the psa-spamassassin is not installed ?
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Yes. Try to install Spamassassin via autoinstaller.
     
  11. gregnvision

    gregnvision Guest

    0
     
    but i can't install it,

    as i said before i have no license for psa-spamassassin because i use 4psa-mailguardian
     
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    If you run /usr/local/psa/admin/sbin/autoinstaller you can install Spamassassin packages without any license restrictions.
     
  13. gregnvision

    gregnvision Guest

    0
     
    so i try the install of the spamassassin component

    but the autoinstaller send me this error :

    as the 4PSA team said, both package cannot be installed together

    Maybe i can modify the spamassin config in order to correct the "Spamfilter is not installed" error ?
     
  14. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I don't know what is it - 4psa-mailguardian. Seems it is some third-party software. Try to use original psa-spamassassin antispam solution and it will help to fix problem.
     
  15. gregnvision

    gregnvision Guest

    0
     
    the 4psa-mailguardian is a third party software

    i already ask the software providers about the problem and they made tests (as i said before) what they try :

    they made the same config as me : plesk 9.5.2 up2date only with the 4PSA spamassasin -> the y see the same problem

    they uninstall the 4psa spamassassin -> same probleme when renaming user

    they also build a fresh install of plesk without psa-spamassin and whitout 4psa spamassassin -> the problem is still here

    we can discuss about which version of antispam i should use , but in fact the problem is simple :

    i would like to rename a mail account i d'ont know what spamassassin is doing here ?
     
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    The issue is caused by known problem in Parallels Plesk -- if Spamassassin is allowed on license key but not installed, then on mailname creation spamfilter settings are not created in psa.spamfilter table (because Spamassassin is not installed), but when mailname renamed, Plesk tries to rename its spamfilter settings (because Spamassassin is allowed on license).

    For now as a workaround I suggest you installing Spamassassin on the server and executing these commands in 'psa' database - they will create spamfilter settings for all existing mailnames, thus eliminating the problem:

    Contact Parallels support team if you can't do it by yourself.
     
  17. gregnvision

    gregnvision Guest

    0
     
    It solved the problem

    Thanks for your help
     
Loading...