[Obm] Fwd: Problem after mail migration from old server to a new one

Benoit CROQUIN b.croquin at labsoft.fr
Mon Apr 4 15:15:29 CEST 2016


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<mailto:>
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<mailto:>
Le format de l'adresse de messagerie n'est pas correct. Une adresse valide se présente comme suit : xyz at example.com<mailto:xyz at example.com>. Vérifiez l'adresse de messagerie du destinataire et essayez de renvoyer le message.


reject<mailto:>
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<mailto:>
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<mailto:>
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<mailto:>
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-bounces at list.obm.org] De la part de Benoit CROQUIN
Envoyé : mercredi 23 mars 2016 10:22
À : David DOLCIMASCOLO; obm at 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-bounces at list.obm.org] de la part de David DOLCIMASCOLO [ddolcimascolo at linagora.com]
Envoyé : lundi 21 mars 2016 18:10
À : obm at list.obm.org<mailto:obm at 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/<UrlBlockedError.aspx>
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:30000/postfixsmtpinmaps/host/mydomain<UrlBlockedError.aspx>' : 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-bounces at list.obm.org<UrlBlockedError.aspx>] De la part de David DOLCIMASCOLO
Envoyé : lundi 21 mars 2016 15:33
À : obm at list.obm.org<UrlBlockedError.aspx>
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/<UrlBlockedError.aspx>
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 +0000

De :

Benoit CROQUIN <b.croquin at labsoft.fr><UrlBlockedError.aspx>

Pour :

obm-owner at list.obm.org<UrlBlockedError.aspx> <obm-owner at list.obm.org><UrlBlockedError.aspx>



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 at list.obm.org<UrlBlockedError.aspx>

http://list.obm.org/listinfo/obm<UrlBlockedError.aspx>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.obm.org/archives/obm/attachments/20160404/17acbfa7/attachment-0001.html>


More information about the Obm mailing list