• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Mailing list service was switched off by service provider.

AnNaPF

New Pleskian
Hi!

Customers always get the warning "Mailing list service was switched off by service provider." when they navigate to Mail -> Mailing list, although the mailing list service is enabled in their service plan.

Any suggestions what to check for?
 
Try to reset status of this mailinglist with /usr/local/psa/bin/maillist utility (with -status option)
 
/usr/local/psa/bin/maillist -status enabled
Unknown command: "-status"

I assume I have to specify a command, too.
But I do not see how I can enable this functionality for all of my domains; I definitely do not want to do this for each domain separately.
 
That's what I did!
There does not seem to be a way to say "enable mailing list functionality for all mailing lists/domains" again.

Look at what is offered:

Usage: maillist command [options]

Available commands:
--create or -c <maillist> Create mailing list
--update or -u <maillist> Update mailing list properties
--remove or -r <maillist> Delete mailing list
--update-service <domain> Updates mailing list service for
domain
--info or -i <maillist> List subscribers
--on <domain> Enables mailing list service for
domain
--off <domain> Disables mailing list service for
domain
--help or -h Displays this help page

Available options:
-domain <domain_name> Domain name (required)
-passwd <password> Set mailing list administrator's
password (may be specified only with a
'create' command) [see the note below
for details]
-passwd_type <plain|encrypted> Set mailing list administrator's
password type (may be specified only
with a 'create' command). If
passwd_type is equal encrypted, passwd
should be encrypted by sha1 algorithm.
[see the note below for details]
-email <email> Set mailing lists administrator's
email (may be specified only with a
'create' command)
-notify <true|false> Notify mailing list administrator
about mailing list creation (default:
true, may be specified only with a
'create' command)
-status <enabled|disabled|admin,domadm,parent,client,expired>
Sets status for mailing lists or
mailing list service
-members <add|del>:<email1>,..,<emailN>
Adds/deletes email addresses to/from
mailing list


So, what should I do?
Can one work with wildcards?
If so, that is not documented.

I tried this here:
/usr/local/psa/bin/maillist --update-service * -status enabled

which does not work.

I also tried:
/usr/local/psa/bin/maillist --on *

which ended up with:
Object not found: Domain cert.sh

So, how do you think this should work?

To be honest, Plesk 10 is really buggy and annoying so far.
 
Last edited:
For all domains try something like
# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/maillist --update-service -domain=$i -status disabled;done
 
I enabled the mailing list service via the UI, manually for every single user :-(
Seems to work...
 
Back
Top