Hi, After a change of server, I cannot see my mails. postfix is OK and I receive emails. If I send emails, with roundcube or thunderbird, I can see these new sent emails. Access rights seems OK. Dovecot with debug trace does not complain. Any tips ?
append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes compatibility_level = 2 content_filter = smtp-amavis:[127.0.0.1]:10024 home_mailbox = Maildir/ local_recipient_maps = $virtual_mailbox_maps local_transport = virtual mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -m "${EXTENSION}" message_size_limit = 30720000 milter_default_action = accept milter_protocol = 2 mydestination = localhost non_smtpd_milters = inet:localhost:12345 readme_directory = no slow_destination_concurrency_limit = 2 slow_destination_recipient_limit = 20 smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt smtp_use_tls = yes smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_milters = inet:localhost:12345 smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/dovecot-auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_restrictions = reject_unknown_sender_domain smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/dovecot/private/dovecot.pem smtpd_tls_key_file = /etc/dovecot/private/dovecot.key smtpd_tls_mandatory_ciphers = medium smtpd_tls_mandatory_protocols = SSLv3, TLSv1 smtpd_tls_received_header = yes smtpd_use_tls = yes tls_random_source = dev:/dev/urandom transport_maps = hash:/etc/postfix/transport vacation_destination_recipient_limit = 1 virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf virtual_gid_maps = static:8 virtual_mailbox_base = /home/Mails virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_domains_maps.cf virtual_mailbox_limit = 204800000 virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf virtual_minimum_uid = 8 virtual_transport = virtual virtual_uid_maps = static:8 yahoo_destination_concurrency_limit = 4 yahoo_destination_rate_delay = 1s yahoo_destination_recipient_limit = 2 yahoo_initial_destination_concurrency = 1
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Le 26/04/2021 à 11:22, Jean-Max Reymond a écrit :
Hi, After a change of server, I cannot see my mails. postfix is OK and I receive emails. If I send emails, with roundcube or thunderbird, I can see these new sent emails. Access rights seems OK. Dovecot with debug trace does not complain. Any tips ?
# dovecot -n # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.21 (92477967) # OS: Linux 4.15.0-142-generic x86_64 Ubuntu 18.04.5 LTS auth_mechanisms = plain login first_valid_uid = 8 log_path = /var/log/dovecot.log mail_location = maildir:~/Maildir 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 passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap service auth { unix_listener /var/spool/postfix/private/dovecot-auth { group = postfix mode = 0660 user = postfix } } ssl_cert = was automatically rejected:%n%r }
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
Hi, After a change of server, I cannot see my mails. postfix is OK and I receive emails. If I send emails, with roundcube or thunderbird, I can seethese new sent emails. Access rights seems OK. Dovecot with debug trace does not complain. Any tips ?
Hello Jean-Max
You see sent mails but not received mails ? You see new mails but not old mails ? as if your inbox has just been created ?
-- Yassine
Le 26/04/2021 à 13:13, Yassine Chaouche a écrit :
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
Hi, After a change of server, I cannot see my mails. postfix is OK and I receive emails. If I send emails, with roundcube or thunderbird, I can seethese new sent emails. Access rights seems OK. Dovecot with debug trace does not complain. Any tips ?
Hello Jean-Max
You see sent mails but not received mails ? You see new mails but not old mails ? as if your inbox has just been created ?
-- Yassine
not exactly. I cannot see any received mails, old or new and I am sure I received new emails. I can see new mails I sent. If I move an email from Sent to Inbox with roundcube or thunderbird, I can see these emails in Inbox.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
After a change of server
When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored.
You can also use imap-sync from old to new server. This should automatically transfer your old mail there (if old server is still operationnal)
-- Yassine
Le 26/04/2021 à 13:24, Yassine Chaouche a écrit :
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
After a change of server
When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored.
You can also use imap-sync from old to new server. This should automatically transfer your old mail there (if old server is still operationnal)
yep, the 144 GB of mails are copied. The correct owner is mail:mail. Database posfixadmin is copied and authentification by sql works fine.dovecot does not report any issues, postfix works like a charm. I have deleted for only one mailbox, the dovecot files but no changes.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
On 26/04/2021 14:28 Jean-Max Reymond jmreymond@ckr-solutions.com wrote:
Le 26/04/2021 à 13:24, Yassine Chaouche a écrit :
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
After a change of server
When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored.
You can also use imap-sync from old to new server. This should automatically transfer your old mail there (if old server is still operationnal)
yep, the 144 GB of mails are copied. The correct owner is mail:mail. Database posfixadmin is copied and authentification by sql works fine.dovecot does not report any issues, postfix works like a charm. I have deleted for only one mailbox, the dovecot files but no changes.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Does output of doveadm user your-user-name
match with where you copied all your mails to?
Aki
Le 26/04/2021 à 13:31, Aki Tuomi a écrit :
On 26/04/2021 14:28 Jean-Max Reymond jmreymond@ckr-solutions.com wrote:
Le 26/04/2021 à 13:24, Yassine Chaouche a écrit :
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
After a change of server
When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored.
You can also use imap-sync from old to new server. This should automatically transfer your old mail there (if old server is still operationnal)
yep, the 144 GB of mails are copied. The correct owner is mail:mail. Database posfixadmin is copied and authentification by sql works fine.dovecot does not report any issues, postfix works like a charm. I have deleted for only one mailbox, the dovecot files but no changes.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Does output of
doveadm user your-user-name
match with where you copied all your mails to?Aki
# doveadm user jmreymond@normaal.fr field value uid 8 gid 8 home /home/Mails/jmreymond@normaal.fr/ mail maildir:~/Maildir maildir jmreymond@normaal.fr/
# ls -ld /home/Mails/jmreymond@normaal.fr/* drwx------ 2 mail mail 4096 Mar 26 07:12 /home/Mails/jmreymond@normaal.fr/cur drwx------ 3 mail mail 4096 Nov 8 2014 /home/Mails/jmreymond@normaal.fr/mail drwx------ 8 mail mail 4096 Apr 26 13:24 /home/Mails/jmreymond@normaal.fr/Maildir drwx------ 2 mail mail 4096 Apr 26 11:12 /home/Mails/jmreymond@normaal.fr/new -rw------- 1 mail mail 18 Jun 10 2019 /home/Mails/jmreymond@normaal.fr/subscriptions drwx------ 2 mail mail 4096 Apr 26 11:12 /home/Mails/jmreymond@normaal.fr/tmp
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
On 26/04/2021 14:38 Jean-Max Reymond jmreymond@ckr-solutions.com wrote:
Le 26/04/2021 à 13:31, Aki Tuomi a écrit :
On 26/04/2021 14:28 Jean-Max Reymond jmreymond@ckr-solutions.com wrote:
Le 26/04/2021 à 13:24, Yassine Chaouche a écrit :
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
After a change of server
When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored.
You can also use imap-sync from old to new server. This should automatically transfer your old mail there (if old server is still operationnal)
yep, the 144 GB of mails are copied. The correct owner is mail:mail. Database posfixadmin is copied and authentification by sql works fine.dovecot does not report any issues, postfix works like a charm. I have deleted for only one mailbox, the dovecot files but no changes.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Does output of
doveadm user your-user-name
match with where you copied all your mails to?Aki
# doveadm user jmreymond@normaal.fr field value uid 8 gid 8 home /home/Mails/jmreymond@normaal.fr/ mail maildir:~/Maildir maildir jmreymond@normaal.fr/
# ls -ld /home/Mails/jmreymond@normaal.fr/* drwx------ 2 mail mail 4096 Mar 26 07:12 /home/Mails/jmreymond@normaal.fr/cur drwx------ 3 mail mail 4096 Nov 8 2014 /home/Mails/jmreymond@normaal.fr/mail drwx------ 8 mail mail 4096 Apr 26 13:24 /home/Mails/jmreymond@normaal.fr/Maildir drwx------ 2 mail mail 4096 Apr 26 11:12 /home/Mails/jmreymond@normaal.fr/new -rw------- 1 mail mail 18 Jun 10 2019 /home/Mails/jmreymond@normaal.fr/subscriptions drwx------ 2 mail mail 4096 Apr 26 11:12 /home/Mails/jmreymond@normaal.fr/tmp
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
home /home/Mails/jmreymond@normaal.fr/ mail maildir:~/Maildir
this is what matters, so dovecot expects to see your maildir structure under
/home/Mails/jmreymond@normaal.fr/Maildir/
Aki
Le 26/04/2021 à 13:45, Aki Tuomi a écrit :
On 26/04/2021 14:38 Jean-Max Reymond jmreymond@ckr-solutions.com wrote:
Le 26/04/2021 à 13:31, Aki Tuomi a écrit :
On 26/04/2021 14:28 Jean-Max Reymond jmreymond@ckr-solutions.com wrote:
Le 26/04/2021 à 13:24, Yassine Chaouche a écrit :
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit :
After a change of server
When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored.
You can also use imap-sync from old to new server. This should automatically transfer your old mail there (if old server is still operationnal)
yep, the 144 GB of mails are copied. The correct owner is mail:mail. Database posfixadmin is copied and authentification by sql works fine.dovecot does not report any issues, postfix works like a charm. I have deleted for only one mailbox, the dovecot files but no changes.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
Does output of
doveadm user your-user-name
match with where you copied all your mails to?Aki
# doveadm user jmreymond@normaal.fr field value uid 8 gid 8 home /home/Mails/jmreymond@normaal.fr/ mail maildir:~/Maildir maildir jmreymond@normaal.fr/
# ls -ld /home/Mails/jmreymond@normaal.fr/* drwx------ 2 mail mail 4096 Mar 26 07:12 /home/Mails/jmreymond@normaal.fr/cur drwx------ 3 mail mail 4096 Nov 8 2014 /home/Mails/jmreymond@normaal.fr/mail drwx------ 8 mail mail 4096 Apr 26 13:24 /home/Mails/jmreymond@normaal.fr/Maildir drwx------ 2 mail mail 4096 Apr 26 11:12 /home/Mails/jmreymond@normaal.fr/new -rw------- 1 mail mail 18 Jun 10 2019 /home/Mails/jmreymond@normaal.fr/subscriptions drwx------ 2 mail mail 4096 Apr 26 11:12 /home/Mails/jmreymond@normaal.fr/tmp
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
home /home/Mails/jmreymond@normaal.fr/ mail maildir:~/Maildir
this is what matters, so dovecot expects to see your maildir structure under
/home/Mails/jmreymond@normaal.fr/Maildir/
Aki
YES, it works :-) thanks a lot, Aki and Yassine.
-- Jean-Max Reymond CKR Solutions Open Source https://www.ckr-solutions.com
participants (3)
-
Aki Tuomi
-
Jean-Max Reymond
-
Yassine Chaouche