Re: courier to dovecot migration
On 29.9.2019 23.38, tovises via dovecot wrote: > I have a quite old home server based on Debian 6.x packages using courier > imap server (exim4, fetchmail, courier, apache2, squirrelmail) to keep my > and my wife emails (about 25G). > I want renew my server to Debian 10 (buster) and got a recommendation to > use dovecot instead of courier. For this purpose I'm using a different PC > as a sandbox. Debian 10 currently offer dovecot version 2.3.4.1 > Installation was "peaceful" but stuck with the migration. I have choose > migration using dsync, from Wiki I was choose this command: > > For per-user user/passwords use: > > doveadm -o imapc_user=foo -o pop3c_user=foo -o imapc_password=bar -o > pop3c_password=bar backup -R -u user@domain imapc: > > (foo and bar placed real username and password) > > But I get error: > doveadm(to...@nusi.tovis-lab.mydomain.org): Error: User doesn't exist > > Strongly I have no real domain, I'm using "freedns". "nusi" is the local > name of my old server, "tovis-lab" is conjunction with "mydomain.org" > choose from freedns. I was trying short as "nusi" which is in /etc/hosts > file even ip address but the same result. 143 and 943 ports are working > only inside the firewall (OpenWrt). > I was checked using telnet courier on the "remote" box and dovecot on the > localhost. I was able to login. > > What should I use as "user@domain" in this situation? > > tovis > > > Hi! -u parameter should be your *local* username, @domain is optional. Aki
Re: lmtp and virtual users
On 27.9.2019 23.21, David Wells - Alfavinil S.A. via dovecot wrote: > Good afternoon. > > I have dovecot setup to authenticate virtual users using either gssapi > or doind a bind to an ldap server to achieve a single sign on capable > imap server connected to a samba active directory DC. What I am also > trying to achieve is to have dovecot's lmtp daemon handle the mails > passed from postfix. However, the only way I've gotten this to work is > setting allow_all_users = yes in the userdb but this causes lmtp to > deliver mails to non existant accounts without rejection. I've been > searching but haven't found a way to set this same thing up but having > dovecots lmtp check the validity of the mails recipient against the same > samba AD DC through ldap before delivering it and rejecting unknown > email addresses. Could someone please provide some insight into how to > achieve this? > > Thank you very much in advance. > Best regards, > David Wells. > > You could setup LDAP userdb without bind authentication, and use a service account instead. Aki
sieve - segmentation fault
I tried to experiment with "index" extension and I found that, in case "0" sieve-filter segfaults. example code was: --8<---cut here---start->8--- if header :index 0 :last :regex "received" "some regex here" { fileinto "dedicated mailbox" ; } --8<---cut here---end--->8--- KJ -- http://stopstopnop.pl/stop_stopnop.pl_o_nas.html I dote on his very absence. -- William Shakespeare, "The Merchant of Venice"
courier to dovecot migration
I have a quite old home server based on Debian 6.x packages using courier imap server (exim4, fetchmail, courier, apache2, squirrelmail) to keep my and my wife emails (about 25G). I want renew my server to Debian 10 (buster) and got a recommendation to use dovecot instead of courier. For this purpose I'm using a different PC as a sandbox. Debian 10 currently offer dovecot version 2.3.4.1 Installation was "peaceful" but stuck with the migration. I have choose migration using dsync, from Wiki I was choose this command: For per-user user/passwords use: doveadm -o imapc_user=foo -o pop3c_user=foo -o imapc_password=bar -o pop3c_password=bar backup -R -u user@domain imapc: (foo and bar placed real username and password) But I get error: doveadm(to...@nusi.tovis-lab.mydomain.org): Error: User doesn't exist Strongly I have no real domain, I'm using "freedns". "nusi" is the local name of my old server, "tovis-lab" is conjunction with "mydomain.org" choose from freedns. I was trying short as "nusi" which is in /etc/hosts file even ip address but the same result. 143 and 943 ports are working only inside the firewall (OpenWrt). I was checked using telnet courier on the "remote" box and dovecot on the localhost. I was able to login. What should I use as "user@domain" in this situation? tovis