This is unfortunate known issue, can at the moment I can recommend either using 
LMTP (which is greatly preferred over lda), or you can try

!try_include /etc/dovecot/ssl.conf

and put ssl_server certificate settings to that file, and finish by chmod 0600 
/etc/dovecot/ssl.conf

Aki

> On 17/12/2025 19:30 EET onyeibo via dovecot <[email protected]> wrote:
> 
>  
> I have covered some mileage. Well, It is not yet delivering but I ihink I am 
> close.  If only I can figure out a few things like:
> 
> Dec 17 18:15:00 mail postfix/error[1551]: 157091F46D: to=<[email protected]>, 
> relay=none, delay=84972883, delays=84972883/0.07/0/0, dsn=4.3.0, 
> status=deferred (mail transport unavailable)
> 
> The above message is recurring ... a lot. Why are my mails getting deferred? 
> Now when I reactivate dovecot-lda, the above message changes to a permission 
> error, because LDA doesn't have the privileges to access certs. At the moment 
> I have no entry for dovecot in /etc/postfix/master.cf (I read somewhere that 
> it is not necessary while using lmtp). Yet somehow, dovecot appears to be 
> absent for mail delivery. 
> 
> What should I do?
> 
> > dovecot -n
> > # Pigeonhole version 2.4.1-4 (0a86619f)
> > # OS: Linux 6.17.11-300.fc43.x86_64 x86_64 Fedora release 43 (Forty Three)
> > dovecot_config_version = 2.4.1
> > auth_debug = yes
> > auth_mechanisms = plain login
> > dovecot_storage_version = 2.4.1
> > first_valid_uid = xxxx
> > mail_driver = maildir
> > mail_home = /home/mails/%{user | domain}/%{user | username}
> > mail_path = %{home}/Maildir
> > mail_privileged_group = mail
> > passdb_default_password_scheme = BLF-CRYPT
> > protocols {
> > imap = yes
> > lmtp = yes
> > sieve = yes
> > }
> > sql_driver = pgsql
> > ssl = required
> > ssl_cipher_list = PROFILE=SYSTEM
> > pgsql localhost {
> > parameters {
> > dbname = postfix
> > password = xxxxxxx
> > user = postfix
> > }
> > }
> > passdb sql {n
> > query = SELECT username AS user, password FROM mailbox WHERE username = 
> > '%{user}' AND active='1'
> > }
> > userdb sql {
> > query = SELECT '/home/mails/' || maildir AS home, xxxx as uid, xxxx as gid 
> > FROM mailbox WHERE username = '%{user}' AND active = '1'
> > }
> > namespace inbox {
> > inbox = yes
> > mailbox Drafts {
> > auto = create
> > special_use = "\\Drafts"
> > }
> > mailbox Junk {
> > auto = create
> > special_use = "\\Junk"
> > }
> > mailbox Trash {
> > auto = create
> > special_use = "\\Trash"
> > }
> > mailbox Sent {
> > auto = create
> > special_use = "\\Sent"
> > }
> > mailbox "Sent Messages" {
> > special_use = "\\Sent"
> > }
> > }
> > service lmtp {
> > executable = lmtp -L
> > process_min_avail = 5
> > user = vmail
> > unix_listener /var/spool/postfix/private/dovecot-lmtp {
> > group = postfix
> > mode = 0600
> > user = postfix
> > }
> > }
> > service auth {
> > unix_listener /var/spool/postfix/private/auth {
> > group = postfix
> > mode = 0600
> > user = postfix
> > }
> > }
> > service stats {
> > unix_listener stats-reader {
> > group = vmail
> > mode = 0660
> > user = vmail
> > }
> > unix_listener stats-writer {
> > group = vmail
> > mode = 0660
> > user = vmail
> > }
> > }
> > ssl_server {
> > cert_file = /etc/letsencrypt/live/xxxxxxx.com/fullchain.pem
> > dh_file = /etc/dovecot/dh.pem
> > key_file = /etc/letsencrypt/live/xxxxxxx.com/privkey.pem
> > prefer_ciphers = server
> > }
> > protocol lmtp {
> > info_log_path = /var/log/lmtp/dovecot-lmtp.log
> > mail_plugins {
> > sieve = yes
> > }
> > }
> > service managesieve-login {
> > inet_listener sieve {
> > port = 4190
> > }
> > }
> > service managesieve {
> > }
> > protocol sieve {
> > managesieve_implementation_string = Dovecot Pigeonhole
> > }
> > sieve_script personal {
> > active_path = ~/.dovecot.sieve
> > path = ~/sieve}
> > 
> 
> Regards
> Onyeibo
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to