Re: Debian: Dovecot 2.3.0.1 won't start if dovecot-pop3d is missing

2018-03-03 Thread Markus Schönhaber
Stephan Bosch, Sat, 3 Mar 2018 08:59:16 +0100:

> Op 3/2/2018 om 8:58 PM schreef Markus Schönhaber:

>> Yep, explicitly setting
>> protocols =
>> before
>> !include_try /usr/share/dovecot/protocols.d/*.protocol
>> helps.
>>
>> IMO Something like that should be changed in the official packages too.
> 
> The official packages patch Dovecot to set the protocols to none in the
> defaul config.

First: Many thanks for providing the package repository!

WRT the default config: doesn't seem so.
I purged all Dovecot packages, removed /etc/dovecot and did

> apt -V install dovecot-imapd dovecot-lmtpd dovecot-managesieved dovecot-mysql 
> dovecot-sqlite dovecot-solr dovecot-lucene

but the freshly installed dovecot won't start because
/usr/lib/dovecot/pop3 is not there.

> # doveconf protocols
> protocols = imap pop3 lmtp imap lmtp sieve

> # LANG=C apt-cache policy dovecot-core 
> dovecot-core:
>   Installed: 2:2.3.0.1-6
>   Candidate: 2:2.3.0.1-6
>   Version table:
>  *** 2:2.3.0.1-6 500
> 500 http://repo.dovecot.org/ce-2.3-latest/debian/stretch stretch/main 
> amd64 Packages
> 100 /var/lib/dpkg/status
>  2:2.3.0-4 500
> 500 http://repo.dovecot.org/ce-2.3-latest/debian/stretch stretch/main 
> amd64 Packages
>  2:2.3.0-3 500
> 500 http://repo.dovecot.org/ce-2.3-latest/debian/stretch stretch/main 
> amd64 Packages
>  2:2.3.0-2 500
> 500 http://repo.dovecot.org/ce-2.3-latest/debian/stretch stretch/main 
> amd64 Packages
>  2:2.2.34-1~ddt1 500
> 500 http://ddt-web5/stretch stretch/main amd64 Packages
>  1:2.2.27-3+deb9u2 500
> 500 http://security.debian.org stretch/updates/main amd64 Packages
>  1:2.2.27-3+deb9u1 500
> 500 http://ftp.de.debian.org/debian stretch/main amd64 Packages

> # doveconf -n
> # 2.3.0.1 (ffd8a29): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.5.0.1 (d33dca2)
> # OS: Linux 4.9.0-6-amd64 x86_64 Debian 9.3 
> doveconf: Error: t_readlink(/var/run/dovecot/dovecot.conf) failed: readlink() 
> failed: No such file or directory
> mail_location = mbox:~/mail:INBOX=/var/mail/%u
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character 
> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
> copy include variables body enotify environment mailbox date index ihave 
> duplicate mime foreverypart extracttext
> namespace inbox {
>   inbox = yes
>   location = 
>   mailbox Drafts {
> special_use = \Drafts
>   }
>   mailbox Junk {
> special_use = \Junk
>   }
>   mailbox Sent {
> special_use = \Sent
>   }
>   mailbox "Sent Messages" {
> special_use = \Sent
>   }
>   mailbox Trash {
> special_use = \Trash
>   }
>   prefix = 
> }
> passdb {
>   driver = pam
> }
> plugin {
>   sieve = file:~/sieve;active=~/.dovecot.sieve
> }
> protocols = imap pop3 lmtp imap lmtp sieve
> ssl = no
> userdb {
>   driver = passwd
> }


-- 
Regards
  mks



Re: Debian: Dovecot 2.3.0.1 won't start if dovecot-pop3d is missing

2018-03-03 Thread Stephan Bosch
Op 3/2/2018 om 8:58 PM schreef Markus Schönhaber:
> Aki Tuomi, Fri, 02 Mar 2018 20:06:35 +0200:
>
>> the problem is default
>>  protocols = imap pop3 
> Ah, OK. I wasn't aware that the default had changed. It seems to be
> protocols = imap pop3 lmtp
> now.
>
>> packaging should use
>> protocols =
>> protocols = $protocols imap
> Yep, explicitly setting
> protocols =
> before
> !include_try /usr/share/dovecot/protocols.d/*.protocol
> helps.
>
> IMO Something like that should be changed in the official packages too.

The official packages patch Dovecot to set the protocols to none in the
defaul config.

Regards,

Stephan.


Re: Debian: Dovecot 2.3.0.1 won't start if dovecot-pop3d is missing

2018-03-02 Thread Markus Schönhaber
Aki Tuomi, Fri, 02 Mar 2018 20:06:35 +0200:

> the problem is default
>  protocols = imap pop3 

Ah, OK. I wasn't aware that the default had changed. It seems to be
protocols = imap pop3 lmtp
now.

> packaging should use
> protocols =
> protocols = $protocols imap

Yep, explicitly setting
protocols =
before
!include_try /usr/share/dovecot/protocols.d/*.protocol
helps.

IMO Something like that should be changed in the official packages too.

-- 
Regards
  mks