Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-17 Thread gmail

Running and working installation by following:

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.7.2 ()
# OS: Linux 5.9.0-rc5-lja-tv+ x86_64 Ubuntu 20.04.2 LTS
# Hostname: superman.sillywalk.org
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_username_format = %Ln
auth_verbose = yes
auth_verbose_passwords = plain
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir/
mbox_write_locks = fcntl
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
}
protocols = imap pop3 lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = mail
    mode = 0660
    user = postfix
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = mail
    mode = 0660
    user = postfix
  }
}
ssl_cert = mydestination = $myhostname $mydomain paxsudos.fi paxsudos.com 
localhost.$mydomain localhost.localdomain localhost

mydomain = lja.fi
myhostname = mail.lja.fi
mynetworks = 127.0.0.0/8 192.168.1.0/24
myorigin = lja.fi
recipient_delimiter = +
relayhost = [smtp.dnainternet.net]:465
smtp_tls_ciphers = high
smtp_tls_security_level = encrypt
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_tls_wrappermode = yes
smtp_use_tls = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/letsencrypt/live/lja.fi/chain.pem
smtpd_tls_cert_file = /etc/letsencrypt/live/lja.fi/fullchain.pem
smtpd_tls_ciphers = high
smtpd_tls_key_file = /etc/letsencrypt/live/lja.fi/privkey.pem
smtpd_tls_loglevel = 2
virtual_maps = hash:/etc/postfix/virtual
virtual_transport = lmtp:unix:private/dovecot-lmtp

WORKS LIKE A CHARM :) ... thank you for pointing me the lmtp :) ..


Works with Thunderbird 78.8.1 (latest release)


-- Lauri Jakku


Marc kirjoitti 15.3.2021 klo 10:43:


I assume you are refering to incomming mail. I had sometimes similar issues 
with mbox and having sendmail deliver straight to the mbox file. When I 
switched to delivering to lmtp, I never encountered it anymore. Just put this 
lmtp inbetween.




-Original Message-
From: dovecot  On Behalf Of gmail
Sent: 14 March 2021 23:30
To: dovecot@dovecot.org
Subject: Re: Latest dovecot does not work with latest MUA (thunderbird)


Stuart Henderson kirjoitti 14.3.2021 klo 23.38:

On 2021-03-14, lja@koti  wrote:

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

That's nowhere near the latest Dovecot.



Updated dovecot to bleeding edge, and still got same issue.

# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS
# Hostname: superman.sillywalk.org
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir/
mbox_write_locks = fcntl
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
}
protocols = imap pop3
service auth {
    unix_listener /var/spool/postfix/private/auth {
      group = mail
      mode = 0660
      user = postfix
    }
}
ssl_cert = 

Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread gmail



I think i found cultpir: PAM is not compiled in, now i'm compiling new 
version that has PAM in.


Marc kirjoitti 15.3.2021 klo 10.43:

I assume you are refering to incomming mail. I had sometimes similar issues 
with mbox and having sendmail deliver straight to the mbox file. When I 
switched to delivering to lmtp, I never encountered it anymore. Just put this 
lmtp inbetween.




-Original Message-
From: dovecot  On Behalf Of gmail
Sent: 14 March 2021 23:30
To: dovecot@dovecot.org
Subject: Re: Latest dovecot does not work with latest MUA (thunderbird)


Stuart Henderson kirjoitti 14.3.2021 klo 23.38:

On 2021-03-14, lja@koti  wrote:

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

That's nowhere near the latest Dovecot.



Updated dovecot to bleeding edge, and still got same issue.

# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS
# Hostname: superman.sillywalk.org
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir/
mbox_write_locks = fcntl
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
}
protocols = imap pop3
service auth {
    unix_listener /var/spool/postfix/private/auth {
      group = mail
      mode = 0660
      user = postfix
    }
}
ssl_cert = 

Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread gmail



I think i found cultpir: PAM is not compiled in, now i'm compiling new 
version that has PAM in.



Aki Tuomi kirjoitti 15.3.2021 klo 9.18:

On 15/03/2021 00:33 gmail  wrote:



  Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
  > On 2021-03-14, lja@koti  wrote: >> # 2.3.7.2 (3c910f64b): 
/etc/dovecot/dovecot.conf > That's nowhere near the latest Dovecot. > >Updated dovecot to 
bleeding edge, and still got same issue.
  
  # 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf



Some basic debug things to do:

Check your /var/log/dovecot*.log to see what happens with that folder.

Also check the filesystem if "postfix" is really delivering mail to the Sent 
folder. Although normally MUA stores sent mails.

Aki


RE: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread Marc
I assume you are refering to incomming mail. I had sometimes similar issues 
with mbox and having sendmail deliver straight to the mbox file. When I 
switched to delivering to lmtp, I never encountered it anymore. Just put this 
lmtp inbetween.



> -Original Message-
> From: dovecot  On Behalf Of gmail
> Sent: 14 March 2021 23:30
> To: dovecot@dovecot.org
> Subject: Re: Latest dovecot does not work with latest MUA (thunderbird)
> 
> 
> Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
> > On 2021-03-14, lja@koti  wrote:
> >> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
> > That's nowhere near the latest Dovecot.
> >
> >
> Updated dovecot to bleeding edge, and still got same issue.
> 
> # 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
> # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS
> # Hostname: superman.sillywalk.org
> auth_debug = yes
> auth_debug_passwords = yes
> auth_mechanisms = plain login
> auth_verbose = yes
> auth_verbose_passwords = plain
> debug_log_path = /var/log/dovecot-debug.log
> info_log_path = /var/log/dovecot-info.log
> log_path = /var/log/dovecot.log
> mail_debug = yes
> mail_location = maildir:~/Maildir/
> mbox_write_locks = fcntl
> 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
> }
> protocols = imap pop3
> service auth {
>    unix_listener /var/spool/postfix/private/auth {
>      group = mail
>      mode = 0660
>      user = postfix
>    }
> }
> ssl_cert =  ssl_key = # hidden, use -P to show it
> userdb {
>    driver = passwd
> }
> protocol imap {
>    imap_metadata = yes
> }
> local_name businessdomain.fi {
>    ssl_cert =     ssl_key = # hidden, use -P to show it
> }
> local_name businessdomain.com {
>    ssl_cert =     ssl_key = # hidden, use -P to show it
> }
> local_name maindomain.fi {
>    ssl_cert =     ssl_key = # hidden, use -P to show it
> }



Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread Aki Tuomi


> On 15/03/2021 00:33 gmail  wrote:
> 
> 
> 
>  Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
>  > On 2021-03-14, lja@koti  wrote: >> # 2.3.7.2 (3c910f64b): 
> /etc/dovecot/dovecot.conf > That's nowhere near the latest Dovecot. > 
> >Updated dovecot to bleeding edge, and still got same issue.
>  
>  # 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
>

Some basic debug things to do:

Check your /var/log/dovecot*.log to see what happens with that folder.

Also check the filesystem if "postfix" is really delivering mail to the Sent 
folder. Although normally MUA stores sent mails.

Aki


Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-14 Thread gmail


Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti  wrote:  >> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf > That's nowhere 
near the latest Dovecot. > > Updated dovecot to bleeding edge, and still 
got same issue.


# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS
# Hostname: superman.sillywalk.org
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir/
mbox_write_locks = fcntl
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
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = mail
    mode = 0660
    user = postfix
  }
}
ssl_cert = 
On 2021-03-14, lja@koti  wrote:

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

That's nowhere near the latest Dovecot.



Updated dovecot to bleeding edge, and still got same issue.

# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS
# Hostname: superman.sillywalk.org
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir/
mbox_write_locks = fcntl
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
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = mail
    mode = 0660
    user = postfix
  }
}
ssl_cert = 

Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-14 Thread gmail



Stuart Henderson kirjoitti 14.3.2021 klo 23.38:

On 2021-03-14, lja@koti  wrote:

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

That's nowhere near the latest Dovecot.



Updated dovecot to bleeding edge, and still got same issue.

# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS
# Hostname: superman.sillywalk.org
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir/
mbox_write_locks = fcntl
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
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = mail
    mode = 0660
    user = postfix
  }
}
ssl_cert = 

Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-14 Thread gmail



Stuart Henderson kirjoitti 14.3.2021 klo 23.38:

On 2021-03-14, lja@koti  wrote:

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

That's nowhere near the latest Dovecot.



Ok, i check where to get latest sources from and test.






Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-14 Thread Stuart Henderson
On 2021-03-14, lja@koti  wrote:
> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

That's nowhere near the latest Dovecot.