• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How can I restart IMAP from CLI, please ?

PFM

New Pleskian
Hello,

I just updated to Plesk 11.5 and I am having some issues with mail server and SMTP (I see that many other users have the same issues).

In addition, I don't know how can I restart Imap server by command line.

Before this 11.5 update, I used this command:

Code:
service imapd restart

but now it doesn't work anymore....

I also tried:

/etc/init.d/courier-imap stop
/etc/init.d/courier-imap start

Also these commands don't work anymore....

-bash: /etc/init.d/courier-imap: No such file or directory

Any ideas, please ?

Thanks, best regards
 
Last edited:
# lsof -i tcp:143
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
couriertc 26112 root 3u IPv6 120298320 0t0 TCP *:imap (LISTEN)

# /etc/init.d/courier-imapd stop
Stopping Courier IMAP server: [ OK ]

# lsof -i tcp:143

# /etc/init.d/courier-imapd start
Starting Courier IMAP server: [ OK ]

# lsof -i tcp:143
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
couriertc 31479 root 3u IPv6 121002079 0t0 TCP *:imap (LISTEN)
 
Hi Igor,

looking at

Code:
tail /usr/local/psa/var/log/maillog

I read:

Code:
Jul  4 11:00:52 server courier-imaps: Maximum connection limit reached for ::ffff:78.x.x.x
Jul  4 11:00:56 server courier-imaps: Maximum connection limit reached for ::ffff:78.x.x.x

I already used:

Code:
perl -p -i -e 's/^MAXDAEMONS=40/MAXDAEMONS=80/g' /etc/courier-imap/imapd
perl -p -i -e 's/^MAXPERIP=4/MAXPERIP=40/g' /etc/courier-imap/imapd

But I still get this error, since I updated to Plesk 11.5...

The problem is that I cannot save anymore my emails in sent-mail, because Thunderbird says that it is impossible....and looking at mail log I read that error ("Maximum connection limit reached..:").

How can I solve, please?

Thanks
 
Last edited:
To restart all services related to Courier-IMAP, you may run:

# plesk sbin mailmng-service --restart-service --mail-component authdaemon --mail-component pop3 --mail-component pop3s --mail-component imap --mail-component imaps
 
Back
Top