<html><head></head><body style="zoom: 0%;"><div dir="auto">If systemd doesn't recognize that service has started, that mean probably pid file has other location than previously.<br></div>
<div dir="auto">You can check what systemd is doing via strace:<br><br></div>
<div dir="auto">strace -s 1024 systemctl start dovecot</div>
<div class="gmail_quote" >W dniu 17 kwi 2021, o 19:39, użytkownik Felix Zielcke <<a href="mailto:fzielcke@z-51.de" target="_blank">fzielcke@z-51.de</a>> napisał:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">Hello *,<br><br>I have upgraded today a Debian buster (stable) system to bullseye<br>(still testing). After upgrade I did a complete reboot of the VM.<br><br>Dovecot version changed from 1:<a href="http://2.3.4.1">2.3.4.1</a>-5+deb10u6 to 1:2.3.13+dfsg1-1<br><br>`systemctl start dovecot` now complains<br>Job for dovecot.service failed because a timeout was exceeded.<br><br>As a workaround I set "TimeoutStartSec=infinity" in dovecot.service.<br>But `systemctl status` now says:<br><br>Active: activating (start) since Sat 2021-04-17 17:53:58 CEST; 1h 23min ago<br><br>Dovecot itself is working fine without problems. LMTP accepts new mails and IMAP works.<br>It's just that systemd doestn't notice it running.<br><br>Any idea what causes this?<br><br>Config is unchanged from the working <a href="http://2.3.4.1">2.3.4.1</a> system.<br><br># doveconf -n<br># 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf<br># Pigeonhole version 0.5.13 (cdd19fe3)<br># OS: Linux 5.10.0-6-cloud-amd64 x86_64 Debian bullseye/sid <br># Hostname: <a href="http://daedalus.z-51.de">daedalus.z-51.de</a><br>auth_master_user_separator = *<br>auth_mechanisms = plain login<br>auth_ssl_username_from_cert = yes<br>auth_verbose = yes<br>auth_verbose_passwords = plain<br>default_vsz_limit = 2 G<br>first_valid_uid = 8<br>import_environment = TZ<br>last_valid_uid = 8<br>lda_mailbox_autocreate = yes<br>lda_mailbox_autosubscribe = yes<br>login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e<br>%c ssl_security=%k<br>login_trusted_networks = <a href="http://127.0.0.1">127.0.0.1</a> ::1<br>mail_gid = mail<br>mail_location = maildir:~/Maildir<br>mail_plugins = acl zlib quota fts fts_xapian<br>mail_privileged_group = mail<br>mail_uid = mail<br>maildir_very_dirty_syncs = yes<br>managesieve_notify_capability = mailto<br>managesieve_sieve_capability = fileinto reject envelope encoded-<br>character vacation subaddress comparator-i;ascii-numeric relational<br>regex imap4flags copy include variables body enotify environment<br>mailbox date index ihave duplicate mime foreverypart extracttext<br>imapsieve vnd.dovecot.imapsieve<br>namespace inbox {<br> inbox = yes<br> location = <br> mailbox Drafts {<br> special_use = \Drafts<br> }<br> mailbox Junk {<br> special_use = \Junk<br> }<br> mailbox Sent {<br> special_use = \Sent<br> }<br> mailbox "Sent Messages" {<br> special_use = \Sent<br> }<br> mailbox Spam {<br> special_use = \Junk<br> }<br> mailbox Trash {<br> special_use = \Trash<br> }<br> prefix = <br> separator = /<br>}<br>passdb {<br> args = scheme=CRYPT username_format=%Lu /etc/dovecot/users<br> driver = passwd-file<br>}<br>plugin {<br> acl = vfile:/etc/dovecot/global-acls:cache_secs=300<br> fts = xapian<br> fts_autoindex = yes<br> fts_autoindex_exclude = \Junk<br> fts_autoindex_exclude2 = \Trash<br> fts_xapian = partial=3 full=20 attachments=0 verbose=0<br> imapsieve_mailbox1_before = file:/var/mail/sieve/report-spam.sieve<br> imapsieve_mailbox1_causes = COPY<br> imapsieve_mailbox1_name = Spam<br> imapsieve_mailbox2_before = file:/var/mail/sieve/report-ham.sieve<br> imapsieve_mailbox2_causes = COPY<br> imapsieve_mailbox2_from = Spam<br> imapsieve_mailbox2_name = *<br> sieve = file:~/sieve;active=~/.dovecot.sieve<br> sieve_before = /var/mail/sieve/before.sieve<br> sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute<br> sieve_pipe_bin_dir = /var/mail/sieve<br> sieve_plugins = sieve_imapsieve sieve_extprograms<br> sieve_redirect_envelope_from = recipient<br> sieve_vacation_default_period = 1d<br> stats_refresh = 30 secs<br> stats_track_cmds = yes<br>}<br>postmaster_address = postmaster@z-51.de<br>protocols = " imap lmtp sieve"<br>service auth-worker {<br> user = $default_internal_user<br>}<br>service auth {<br> unix_listener auth-client {<br> group = Debian-exim<br> mode = 0777<br> user = Debian-exim<br> }<br> unix_listener auth-userdb {<br> group = Debian-exim<br> mode = 0777<br> user = Debian-exim<br> }<br> vsz_limit = 2 G<br>}<br>service imap-login {<br> inet_listener imap {<br> port = 143<br> }<br> inet_listener imaps {<br> port = 993<br> ssl = yes<br> }<br>}<br>service indexer-worker {<br> vsz_limit = 0<br>}<br>service lmtp {<br> user = mail<br>}<br>service managesieve-login {<br> inet_listener sieve {<br> address = <a href="http://127.0.0.1">127.0.0.1</a> ::1<br> port = 4190<br> }<br> service_count = 1<br>}<br>service managesieve {<br> process_limit = 1024<br>}<br>service stats {<br> fifo_listener stats-mail {<br> mode = 0600<br> user = mail<br> }<br> unix_listener stats-writer {<br> user = mail<br> }<br>}<br>ssl = required<br>ssl_cert = </etc/letsencrypt/live/<a href="http://daedalus.z-51.de/fullchain.pem">daedalus.z-51.de/fullchain.pem</a><br>ssl_client_ca_dir = /etc/ssl/certs<br>ssl_dh = # hidden, use -P to show it<br>ssl_key = # hidden, use -P to show it<br>ssl_prefer_server_ciphers = yes<br>userdb {<br> args = username_format=%Lu /etc/dovecot/users<br> default_fields = uid=mail gid=mail home=/var/mail/%d/%n<br> driver = passwd-file<br>}<br>verbose_proctitle = yes<br>protocol lmtp {<br> auth_username_format = %Lu<br> mail_plugins = acl zlib quota fts fts_xapian sieve<br>}<br>protocol lda {<br> mail_plugins = acl zlib quota fts fts_xapian sieve<br>}<br>protocol imap {<br> mail_plugins = acl zlib quota fts fts_xapian imap_zlib imap_acl<br>imap_quota imap_sieve<br>}<br><br><br></pre></blockquote></div></body></html>