• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

cannot remove mail via command line

altec_lansing

Basic Pleskian
Hi there,
I've got a problem while removing mail accounts from my domain.

Creating them via command line (root, ssh):
/usr/local/psa/bin/mail -c [email protected] -passwd workingpassword -forwarding false -mailbox true -mbox_quota 20971520

/usr/local/psa/bin/user -c [email protected] -cname [email protected] -role Mail_User_Spamfilter -passwd workingpassword -owner kunde_admin
works without a problem,
trying to delete that one gives:

/usr/local/psa/bin/user -d [email protected]
SUCCESS: User was successfully deleted.

/usr/local/psa/bin/mail -r [email protected]
object not found: email account NAME

Anyone knows what to do?
Thanks, Altec
 
Looks like that mailbox is already deleted and doesn't exists.
 
Looks like, but:

/usr/local/psa/bin/mail -c [email protected] -passwd workingpassword -forwarding false -mailbox true -mbox_quota 20971520

/usr/local/psa/bin/user -c [email protected] -cname [email protected] -role Mail_User_Spamfilter -passwd workingpassword -owner kunde_admin

afterwards:
/usr/local/psa/bin/mail -r [email protected]
object not found: email account NAME

/usr/local/psa/bin/user -d [email protected]
SUCCESS: User was successfully deleted.

See what i mean?
Even without deleting the user before, I get the same result....
 
As far as I noticed at the moment,
there are only mailaccounts with upper case affected by this misbehavior.

As a workaround i suggest to remove the mailaccounts with
/usr/local/psa/bin/mail -r [email protected]
(Therefore the accountname needs to be read and set to lower case)

instead of:
/usr/local/psa/bin/mail -r [email protected]
(or: [email protected], [email protected])
So changing from upper to lower case did the trick for me,
thanks anyway!
Altec

(Is there someone who knows how to reconfigure plesk, to be able to delete with upper case?)
 
Back
Top