• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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