Author Topic: Dovecot IMAP/POP3 email server  (Read 7980 times)

0 Members and 3 Guests are viewing this topic.

Offline
*
Dovecot IMAP/POP3 email server
« on: October 23, 2019, 12:53:44 PM »
Hi i need help for this

dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Wed 2019-10-23 09:48:53 -03; 2min 43s ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
  Process: 25358 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
  Process: 25353 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
 Main PID: 3199 (code=exited, status=0/SUCCESS)

Oct 23 09:47:22 painel.xxx.com.br systemd[1]: Starting Dovecot IMAP/POP3 email server...
Oct 23 09:47:23 painel.xxx.com.br systemd[1]: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: Too many levels of symbolic links
Oct 23 09:48:53 painel.xxx.com.br systemd[1]: dovecot.service start operation timed out. Terminating.
Oct 23 09:48:53 painel.xxx.com.br systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
Oct 23 09:48:53 painel.xxx.com.br systemd[1]: Unit dovecot.service entered failed state.
Oct 23 09:48:53 painel.xxx.com.br systemd[1]: dovecot.service failed.


● amavisd.service - Amavisd-new is an interface between MTA and content checkers.
   Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor preset: disabled)
   Active: activating (start) since Wed 2019-10-23 09:52:35 -03; 11s ago
     Docs: http://www.ijs.si/software/amavisd/#doc
  Process: 27296 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=0/SUCCESS)
 Main PID: 32689 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/amavisd.service
           ├─27304 /usr/sbin/amavisd (master
           ├─27330 /usr/sbin/amavisd (virgin child
           └─27331 /usr/sbin/amavisd (virgin child

Oct 23 09:52:35 painel.xxx.com.br systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers....
Oct 23 09:52:36 painel.xxx.com.br systemd[1]: Can't open PID file /var/run/amavisd/amavisd.pid (yet?) after start: Too many levels of symbolic links


● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
   Loaded: loaded (/usr/lib/systemd/system/opendkim.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Wed 2019-10-23 09:31:29 -03; 21min ago
     Docs: man:opendkim(8)
           man:opendkim.conf(5)
           man:opendkim-genkey(8)
           man:opendkim-genzone(8)
           man:opendkim-testadsp(8)
           man:opendkim-testkey
           http://www.opendkim.org/docs.html
  Process: 9104 ExecStart=/usr/sbin/opendkim $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 3264 (code=exited, status=0/SUCCESS)

Oct 23 09:29:58 painel.xxx.com.br systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Oct 23 09:29:58 painel.xxx.com.br systemd[1]: Can't open PID file /var/run/opendkim/opendkim.pid (yet?) after start: Too many levels of symbolic links
Oct 23 09:31:28 painel.xxx.com.br systemd[1]: opendkim.service start operation timed out. Terminating.
Oct 23 09:31:29 painel.xxx.com.br systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter.
Oct 23 09:31:29 painel.xxx.com.br systemd[1]: Unit opendkim.service entered failed state.
Oct 23 09:31:29 painel.xxx.com.br systemd[1]: opendkim.service failed.

Offline
***
Re: Dovecot IMAP/POP3 email server
« Reply #1 on: October 23, 2019, 01:42:47 PM »
You have too many levels of symbolic links...it's stuck in a loop. I did read on cpanel forum that centos 7.7 has a problem with this https://forums.cpanel.net/threads/ups-177-service-failures-after-centos-7-7-update.659933/

If that is your version and you are on a vps, you might need to look at "Workaround 2"

Note the comment by cpanel themselves...

"cPanelMichaelTechnical Support Community Manager 

 

Staff member

Sep 20, 2019

#9

cbwass said:

What services can be fixed using Workaround 2
.
Can Workaround 2 be used for MySQL?

SpamAssassin is used as the example, but the steps are applicable to any service that's failing as a result of this issue.

Thank you."


« Last Edit: October 23, 2019, 01:49:35 PM by adamjedgar »

Offline
*
Re: Dovecot IMAP/POP3 email server
« Reply #2 on: October 23, 2019, 05:00:44 PM »
Thanks!!!

BUUUUT
i have other problem i dont receive mails


at mail_queue

in details mais have this problem

Sender/Recipient\n\n49D775CC0970   
 3775 Wed Oct 23 13:39:12  ricardorohde@xxx.com.br
(temporary failure. Command output: Can\'t open log file /var/log/dovecot.log: Permission denied)
                                         admin@xxx.com.br

Offline
***
Re: Dovecot IMAP/POP3 email server
« Reply #3 on: October 23, 2019, 08:01:00 PM »
You have the same error in dovecot, dkim and amavisd...this is more than just a single service issue!

from your logs...

Oct 23 09:29:58 painel.xxx.com.br systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Oct 23 09:29:58 painel.xxx.com.br systemd[1]: Can't open PID file /var/run/opendkim/opendkim.pid (yet?) after start:Too many levels of symbolic links
Can't open PID file /var/run/dovecot/master.pid (yet?) after start: Too many levels of symbolic links
Can't open PID file /var/run/amavisd/amavisd.pid (yet?) after start: Too many levels of symbolic links


try the cpanel fix on dkim,amasvid, and dovecot "...the steps are applicable to any service that's failing as a result of this issue."

the issue doesnt happen on all Centos 6 and 7 systems because it depends on the system that its installed on. if yours is that particualry type of architecture, then you will almost certainly need to consider this fix.

We dont know if your architecture is the same or not...you havent specified so we have to guess on likely reasons.
« Last Edit: October 23, 2019, 08:10:33 PM by adamjedgar »

Offline
*
Re: Dovecot IMAP/POP3 email server
« Reply #4 on: October 24, 2019, 12:18:31 AM »
this is openvz related, with the latest centos 7.7 you need to have update kernel to version 140.1.
Since this is related to openvz containers this can be done only by the server provider on the main node.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Dovecot IMAP/POP3 email server
« Reply #5 on: October 24, 2019, 11:36:10 AM »
i resolve the problem using this

https://support.plesk.com/hc/en-us/articles/360035549754-Systemctl-fails-to-start-service-Too-many-levels-of-symbolic-links-  


BUUUUT
i have other problem i dont receive mails


at mail_queue

in details mais have this problem

Sender/Recipient\n\n49D775CC0970   
 3775 Wed Oct 23 13:39:12  ricardorohde@xxx.com.br
(temporary failure. Command output: Can\'t open log file /var/log/dovecot.log: Permission denied)
                                         admin@xxx.com.br

Offline
***
Re: Dovecot IMAP/POP3 email server
« Reply #6 on: October 24, 2019, 07:38:11 PM »
That file needs it's permissions checking. Is it writable by postfix?

Offline
*
Re: Dovecot IMAP/POP3 email server
« Reply #7 on: October 28, 2019, 12:24:57 PM »
That file needs it's permissions checking. Is it writable by postfix?

i dont no, how can i check this ? in file management is 0644


and
last night and since then CSF/LFD is sending Excessive resource usage warnings every hour

Offline
*
Re: Dovecot IMAP/POP3 email server
« Reply #8 on: November 05, 2019, 06:00:58 PM »
:'( :'(


Offline
*
Re: Dovecot IMAP/POP3 email server
« Reply #10 on: December 04, 2019, 12:16:39 PM »
[root@painel ~]# chown vmail:mail dovecot.log
chown: cannot access 'dovecot.log': No such file or directory