Re: [Obm] Fwd: Problem after mail migration from old server to a new one
Hi, I answer to my own question cause the 2nd problem was due to a typo error in /etc/postfix/master.cf. Thanks Benoit CROQUIN [labsoft] Filiale du Groupe Eklas Tél. 05 61 80 02 71 - Fax 05 61 54 66 19 ACTYS 1, voie l'Occitane - BP 87305 31673 Labège cedex www.labsoft.fr<blocked::http://www.labsoft.fr/> P Pensez à l'environnement avant d'imprimer / Before printing, think about the environment. De : Obm [mailto:obm-boun...@list.obm.org] De la part de Benoit CROQUIN Envoyé : lundi 4 avril 2016 15:15 À : David DOLCIMASCOLO; obm@list.obm.org Objet : [Obm] Fwd: Problem after mail migration from old server to a new one Hi, Please find below some good news about the empty files ! 1.-- Files are no longer empty when the yellow pill is clicked. I ran perl -T /usr/share/obm/www/auto/update.pl --global --domain-id 2 And the files -/etc/postfix/transport -/etc/postfix/virtual_alias -/etc/postfix/virtual_domains -/etc/posrtif/virtual_mailbox have been well regenerated. Hope it helps ! 2. -- Obm users now can send and receive emails, but when someone send a mail to a Obm user, he is receiving a mail error from Mail Delivery System : Échec de la remise pour ces destinataires ou groupes : milter_macro_daemon_name=ORIGINATING L'adresse de messagerie que vous avez entrée est introuvable. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message. Si le problème persiste, contactez le support technique. -o Le format de l'adresse de messagerie n'est pas correct. Une adresse valide se présente comme suit : x...@example.com<mailto:x...@example.com>. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message. reject L'adresse de messagerie que vous avez entrée est introuvable. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message. Si le problème persiste, contactez le support technique. smtpd_client_restrictions=permit_sasl_authenticated L'adresse de messagerie que vous avez entrée est introuvable. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message. Si le problème persiste, contactez le support technique. smtpd_sasl_auth_enable=yes L'adresse de messagerie que vous avez entrée est introuvable. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message. Si le problème persiste, contactez le support technique. smtpd_tls_security_level=encrypt L'adresse de messagerie que vous avez entrée est introuvable. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message. Si le problème persiste, contactez le support technique. Do you know why this error mail is sent ? Thanks in advance ! Benoit Croquin De : Obm [mailto:obm-boun...@list.obm.org] De la part de Benoit CROQUIN Envoyé : mercredi 23 mars 2016 10:22 À : David DOLCIMASCOLO; obm@list.obm.org<mailto:obm@list.obm.org> Objet : Re: [Obm] Fwd: Problem after mail migration from old server to a new one Hi, Yes, S1 is both SMTP and IMAP, so localhost is in fact S1. On another fully functional server, we have the same logs in obm-services.log. I have tried to log all the process, and I confirm that as soon as a contact is added in obm GUI, the /etc/postfix/ files are updated but empty. What I have not found so far is how to trace, LDAP execution to postix or mailbox map process between obm and postfix. Benoit Croquin De : Obm [obm-boun...@list.obm.org] de la part de David DOLCIMASCOLO [ddolcimasc...@linagora.com] Envoyé : lundi 21 mars 2016 18:10 À : obm@list.obm.org<mailto:obm@list.obm.org> Objet : Re: [Obm] Fwd: Problem after mail migration from old server to a new one Hi, OK so from what I understand, S1 is both you SMTP server and your IMAP backend, right? Is it declared as such in your domain configuration (having roles smtp_in, smtp_out and imap)? Because from what I see in the automaton log files, it generates the Postfix maps on "localhost" only, not on S1... Can you check this? Regards, David DOLCIMASCOLO Resp. Equipe OBM / OBM Team Lead Resp. Adjoint Equipe OpenPaas / OpenPaas Team Deputy --- +33 6 76 20 62 28 --- 80 rue Roque de Fillol 92800 Puteaux FRANCE --- Message envoyé avec OBM, La messagerie Libre : http://www.obm.org/ Le 21/03/2016 17:57, Benoit CROQUIN a écrit : Hello, Thanks for your quick answer. Please find below more info of our migration. Server S1 was well configured and mails were getting well treated for hostname H1. Server S2 was well configured and mails were getting well treated for hostname H2. Our goal is to update S1's configuration files and then copy mails and configuration from S2 to S1 The steps we followed : - Updating S1 configuration files - Updating hostn
Re: [Obm] Fwd: Problem after mail migration from old server to a new one
Hi, Yes, S1 is both SMTP and IMAP, so localhost is in fact S1. On another fully functional server, we have the same logs in obm-services.log. I have tried to log all the process, and I confirm that as soon as a contact is added in obm GUI, the /etc/postfix/ files are updated but empty. What I have not found so far is how to trace, LDAP execution to postix or mailbox map process between obm and postfix. Benoit Croquin De : Obm [obm-boun...@list.obm.org] de la part de David DOLCIMASCOLO [ddolcimasc...@linagora.com] Envoyé : lundi 21 mars 2016 18:10 À : obm@list.obm.org Objet : Re: [Obm] Fwd: Problem after mail migration from old server to a new one Hi, OK so from what I understand, S1 is both you SMTP server and your IMAP backend, right? Is it declared as such in your domain configuration (having roles smtp_in, smtp_out and imap)? Because from what I see in the automaton log files, it generates the Postfix maps on "localhost" only, not on S1... Can you check this? Regards, David DOLCIMASCOLO Resp. Equipe OBM / OBM Team Lead Resp. Adjoint Equipe OpenPaas / OpenPaas Team Deputy --- +33 6 76 20 62 28 --- 80 rue Roque de Fillol 92800 Puteaux FRANCE --- Message envoyé avec OBM, La messagerie Libre : http://www.obm.org/ Le 21/03/2016 17:57, Benoit CROQUIN a écrit : Hello, Thanks for your quick answer. Please find below more info of our migration. Server S1 was well configured and mails were getting well treated for hostname H1. Server S2 was well configured and mails were getting well treated for hostname H2. Our goal is to update S1’s configuration files and then copy mails and configuration from S2 to S1 The steps we followed : - Updating S1 configuration files - Updating hostnames and domain names on S1 server - Recursive Copy /var/spool/cyrus and /var/spool/sieve from S2 to S1 We have 6 mailboxes to migrate. The Perl script run from the yellow pill or directly : perl -T update.pl --incremental --domain-id 2 --user 4 returns no error. We also check log messages in (tail -f /var/log/obm-services/obm-services.log) but no error is returned. As far as we inspect the log file, the problem might occur during : 2016/03/21 17:15:59:14725 [5309]: OBM::Postfix::smtpInEngine:189 INFO - obtention des serveurs SMTP-in à mettre à jour 2016/03/21 17:16:01:16516 [5309]: OBM::ObmSatellite::client:260 INFO - requête 'https://127.0.0.1:3/postfixsmtpinmaps/host/mydomain' : 200 OK Besides, if files are generated from the content of OBM’s LDAP directory, is it possible to browse this content to find a misconfiguration ? Benoit Croquin De : Obm [mailto:obm-boun...@list.obm.org] De la part de David DOLCIMASCOLO Envoyé : lundi 21 mars 2016 15:33 À : obm@list.obm.org Objet : Re: [Obm] Fwd: Problem after mail migration from old server to a new one Hello, These files are all generated and maintained by OBM, more precisely by the "automaton" (the Perl script that runs when you click on the yellow pill in OBM web interface). It is generated from the content of OBM's LDAP directory, and depends on the spreading of the mailboxes on your various email backends. Can you give us some insights on your current configuration: * Number of mailboxes * Number of Cyrus backends * Configuration of your domain (most notably, your domain hosts) Also, what exactly was your mail migration? For instance, did the hostname of the server change? The IP address? The more details you give us, the easier it is for us to help :) Thanks, Regards, David DOLCIMASCOLO Resp. Equipe OBM / OBM Team Lead Resp. Adjoint Equipe OpenPaas / OpenPaas Team Deputy --- +33 6 76 20 62 28 --- 80 rue Roque de Fillol 92800 Puteaux FRANCE --- Message envoyé avec OBM, La messagerie Libre : http://www.obm.org/ Le 21/03/2016 13:29, David DOLCIMASCOLO a écrit : Message transféré Sujet : Problem after mail migration from old server to a new one Date : Mon, 21 Mar 2016 12:09:20 + De : Benoit CROQUIN <b.croq...@labsoft.fr> Pour : obm-ow...@list.obm.org <obm-ow...@list.obm.org> Hello, After a mail migration from a server to another by - copying /var/spool/sieve/ and /var/spool/cyrus - updating all suspected configuration files , email are still not received. After a deep search in mail logs and google searches, we have found that the following files are curiously empty : - /etc/postfix/transport -/etc/postfix/virtual_alias -/etc/postfix/virtual_domains -/etc/posrtif/virtual_mailbox When these files have been replaced by the old ones, emails are sent and received again. But as we add a user in obm interface each file is empty
Re: [Obm] Fwd: Problem after mail migration from old server to a new one
Hi, OK so from what I understand, S1 is both you SMTP server and your IMAP backend, right? Is it declared as such in your domain configuration (having roles smtp_in, smtp_out and imap)? Because from what I see in the automaton log files, it generates the Postfix maps on "localhost" only, not on S1... Can you check this? Regards, David DOLCIMASCOLO Resp. Equipe OBM / OBM Team Lead Resp. Adjoint Equipe OpenPaas / OpenPaas Team Deputy --- +33 6 76 20 62 28 --- 80 rue Roque de Fillol 92800 Puteaux FRANCE --- Message envoyé avec OBM, La messagerie Libre : http://www.obm.org/ Le 21/03/2016 17:57, Benoit CROQUIN a écrit : Hello, Thanks for your quick answer. Please find below more info of our migration. Server S1 was well configured and mails were getting well treated for hostname H1. Server S2 was well configured and mails were getting well treated for hostname H2. Our goal is to update S1’s configuration files and then copy mails and configuration from S2 to S1 The steps we followed : -Updating S1 configuration files -Updating hostnames and domain names on S1 server -Recursive Copy /var/spool/cyrus and /var/spool/sieve from S2 to S1 We have 6 mailboxes to migrate. The Perl script run from the yellow pill or directly : perl -T update.pl --incremental --domain-id 2 --user 4 returns no error. We also check log messages in (tail -f /var/log/obm-services/obm-services.log) but no error is returned. As far as we inspect the log file, the problem might occur during : 2016/03/21 17:15:59:14725 [5309]: OBM::Postfix::smtpInEngine:189 INFO - obtention des serveurs SMTP-in à mettre à jour 2016/03/21 17:16:01:16516 [5309]: OBM::ObmSatellite::client:260 INFO - requête 'https://127.0.0.1:3/postfixsmtpinmaps/host/mydomain' : 200 OK Besides, if files are generated from the content of OBM’s LDAP directory, is it possible to browse this content to find a misconfiguration ? Benoit Croquin *De :*Obm [mailto:obm-boun...@list.obm.org] *De la part de* David DOLCIMASCOLO *Envoyé :* lundi 21 mars 2016 15:33 *À :* obm@list.obm.org *Objet :* Re: [Obm] Fwd: Problem after mail migration from old server to a new one Hello, These files are all generated and maintained by OBM, more precisely by the "automaton" (the Perl script that runs when you click on the yellow pill in OBM web interface). It is generated from the content of OBM's LDAP directory, and depends on the spreading of the mailboxes on your various email backends. Can you give us some insights on your current configuration: * Number of mailboxes * Number of Cyrus backends * Configuration of your domain (most notably, your domain /hosts/) Also, what exactly was your mail migration? For instance, did the hostname of the server change? The IP address? The more details you give us, the easier it is for us to help :) Thanks, Regards, David DOLCIMASCOLO Resp. Equipe OBM / OBM Team Lead Resp. Adjoint Equipe OpenPaas / OpenPaas Team Deputy --- +33 6 76 20 62 28 --- 80 rue Roque de Fillol 92800 Puteaux FRANCE --- Message envoyé avec OBM, La messagerie Libre :http://www.obm.org/ Le 21/03/2016 13:29, David DOLCIMASCOLO a écrit : Message transféré *Sujet : * Problem after mail migration from old server to a new one *Date : * Mon, 21 Mar 2016 12:09:20 + *De : * Benoit CROQUIN <b.croq...@labsoft.fr> <mailto:b.croq...@labsoft.fr> *Pour : * obm-ow...@list.obm.org <mailto:obm-ow...@list.obm.org> <obm-ow...@list.obm.org> <mailto:obm-ow...@list.obm.org> Hello, After a mail migration from a server to another by - copying /var/spool/sieve/ and /var/spool/cyrus - updating all suspected configuration files , email are still not received. After a deep search in mail logs and google searches, we have found that the following files are curiously empty : - /etc/postfix/transport -/etc/postfix/virtual_alias -/etc/postfix/virtual_domains -/etc/posrtif/virtual_mailbox When these files have been replaced by the old ones, emails are sent and received again. But as we add a user in obm interface each file is empty again, and as a result no mail get treated. Do you know what process make these files empty ? Thanks in advance. Benoit CROQUIN ___ Obm mailing list Obm@list.obm.org <mailto:Obm@list.obm.org> http://list.obm.org/listinfo/obm ___ Obm mailing list Obm@list.obm.org http://list.obm.org/listinfo/obm
Re: [Obm] Fwd: Problem after mail migration from old server to a new one
Hello, These files are all generated and maintained by OBM, more precisely by the "automaton" (the Perl script that runs when you click on the yellow pill in OBM web interface). It is generated from the content of OBM's LDAP directory, and depends on the spreading of the mailboxes on your various email backends. Can you give us some insights on your current configuration: * Number of mailboxes * Number of Cyrus backends * Configuration of your domain (most notably, your domain /hosts/) Also, what exactly was your mail migration? For instance, did the hostname of the server change? The IP address? The more details you give us, the easier it is for us to help :) Thanks, Regards, David DOLCIMASCOLO Resp. Equipe OBM / OBM Team Lead Resp. Adjoint Equipe OpenPaas / OpenPaas Team Deputy --- +33 6 76 20 62 28 --- 80 rue Roque de Fillol 92800 Puteaux FRANCE --- Message envoyé avec OBM, La messagerie Libre : http://www.obm.org/ Le 21/03/2016 13:29, David DOLCIMASCOLO a écrit : Message transféré Sujet : Problem after mail migration from old server to a new one Date : Mon, 21 Mar 2016 12:09:20 + De :Benoit CROQUINPour : obm-ow...@list.obm.org Hello, After a mail migration from a server to another by - copying /var/spool/sieve/ and /var/spool/cyrus - updating all suspected configuration files , email are still not received. After a deep search in mail logs and google searches, we have found that the following files are curiously empty : - /etc/postfix/transport -/etc/postfix/virtual_alias -/etc/postfix/virtual_domains -/etc/posrtif/virtual_mailbox When these files have been replaced by the old ones, emails are sent and received again. But as we add a user in obm interface each file is empty again, and as a result no mail get treated. Do you know what process make these files empty ? Thanks in advance. Benoit CROQUIN ___ Obm mailing list Obm@list.obm.org http://list.obm.org/listinfo/obm ___ Obm mailing list Obm@list.obm.org http://list.obm.org/listinfo/obm