Plesk for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to activate mail autodiscover for all existing domains without syncing all subscriptions?
Answer
-
Go to Tools & Settings > Mail Server Settings > Settings tab > General options > Enable the Enable mail autodiscover option.
For Linux
- Connect to the server via SSH
- Create dom.list file with list of domains:
# plesk bin domain -l > dom.list
-
Run the utility in a loop for all domains from dom.list file:
# cat dom.list | while read i; do plesk bin site --update $i -mail_autodiscover true ; done
For Windows
-
Connect to the server via RDP and open command prompt as Administrator
-
Get the list of domains:
C:\> plesk bin domain -l > C:\domains.txt
-
Enable autodiscover for them:
C:\> for /f "tokens=*" %d in ('type C:\domains.txt') do plesk bin site --update %d -mail_autodiscover true
Comments
4 comments
Doing:
# plesk bin site --update <domain> -mail_autodiscover true
Results in:
Unrecognized option: '-mail_autodiscover'
Plesk version is 18.0.31 Update #3
Same result on Obsidian 18.0.33.
Has some one any tip?
Hello @Jorge,
Thank you for the feedback.
To be able to manage mail autodiscover on domain level it is required to enable this option globally at
Tools & Settings > Mail Server Settings > Settingstab> General options >eEnable mail autodiscover option.
Unfortunately I don't have the option "Enable mail autodiscover" under "Tools & Settings > Mail Server Settings > Settings tab > General options".
Is there any admin panel feature that I have to activate to see that option? I do not have DNS enabled in Plesk, it is managed externally. Could that be a reason? Thanks.
Please sign in to leave a comment.