1

Topic: Export and Import Users/ Mail Delay Time

Topic: Export and Import Users/ Mail Delay Time
==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.6 MARIADB edition
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
====
1. How can I export and import mail users?
2. Sometimes, when I send to gmail. Mail is not receive immediately. After 10 or 15 minutes, I got it so how to fix that error?
Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Export and Import Users/ Mail Delay Time

*) Currently you can use tool script shipped in iRedMail (create_mail_user_*) to import (or bulk create) users. What information do you use while importing user? Just email address, password and display name?

*) iRedAdmin-Pro doesn't support export mail accounts yet. May i know what information you want to export?

aungsoemin wrote:

2. Sometimes, when I send to gmail. Mail is not receive immediately. After 10 or 15 minutes, I got it so how to fix that error?

From iRedMail to Gmail? This doesn't make much sense to me. There's no software will delay the mail delivery in iRedMail for OUTGOING email, but still some possibilities:

*) You have a slow DNS server. If DNS query takes long time, it will slow down the mail flow.
*) There's something in your network.

Anyway, you have to check Postfix log file to figure out why it's slow.

3

Re: Export and Import Users/ Mail Delay Time

*) Currently you can use tool script shipped in iRedMail (create_mail_user_*) to import (or bulk create) users. What information do you use while importing user? Just email address, password and display name?

Can I create all new mail accounts at the same time with CSV file ?


*) iRedAdmin-Pro doesn't support export mail accounts yet. May i know what information you want to export?

Can I save exitsting mail accounts which I create in excel file? So, I need to export.


From iRedMail to Gmail? This doesn't make much sense to me. There's no software will delay the mail delivery in iRedMail for OUTGOING email, but still some possibilities:
*) You have a slow DNS server. If DNS query takes long time, it will slow down the mail flow.
*) There's something in your network.
Anyway, you have to check Postfix log file to figure out why it's slow.

Yes, iRedMail to Gmail. We buy dns from godaddy.

Postfix log :

May 25 16:37:02 ip-172-31-26-130 postfix/qmgr[20937]: 43CD2C05E88: from=<sogo@imail.bluediamondcement.com>, size=1936, nrcpt=1 (queue active)
May 25 16:37:02 ip-172-31-26-130 postfix/qmgr[20937]: 41DD2C05E86: removed
May 25 16:37:02 ip-172-31-26-130 postfix/pipe[29222]: 43CD2C05E88: to=<postmaster@bluediamondcement.com>, relay=dovecot, delay=0.03, delays=0/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
May 25 16:37:02 ip-172-31-26-130 postfix/qmgr[20937]: 43CD2C05E88: removed
May 25 16:37:55 ip-172-31-26-130 postfix/qmgr[20937]: 069C7C05E8B: from=<niniaung@bluediamondcement.com>, size=834434, nrcpt=1 (queue active)
May 25 16:37:56 ip-172-31-26-130 postfix/smtp[30750]: Untrusted TLS connection established to sniper.lgi.co.kr[165.244.231.228]:25: TLSv1 with cipher AES256-SHA (256/256 bits)
May 25 16:37:58 ip-172-31-26-130 postfix/smtp[30750]: 069C7C05E8B: to=<justin@lgi.co.kr>, relay=sniper.lgi.co.kr[165.244.231.228]:25, delay=410, delays=407/0.01/1.4/1.4, dsn=2.0.0, status=sent (250 [Sniper] OK 1495706832 snipe-queue 11708)
May 25 16:37:58 ip-172-31-26-130 postfix/qmgr[20937]: 069C7C05E8B: removed
May 25 16:38:01 ip-172-31-26-130 postfix/pickup[28941]: CA182C05E85: uid=993 from=<sogo>
May 25 16:38:01 ip-172-31-26-130 postfix/cleanup[30089]: CA182C05E85: message-id=<20170525100801.CA182C05E85@imail.bluediamondcement.com>
May 25 16:38:01 ip-172-31-26-130 postfix/qmgr[20937]: CA182C05E85: from=<sogo@imail.bluediamondcement.com>, size=1147, nrcpt=1 (queue active)
May 25 16:38:02 ip-172-31-26-130 postfix/10025/smtpd[29219]: connect from imailbluediamondcement.com[127.0.0.1]
May 25 16:38:02 ip-172-31-26-130 postfix/10025/smtpd[29219]: 84BE5C05E86: client=imailbluediamondcement.com[127.0.0.1]
May 25 16:38:02 ip-172-31-26-130 postfix/cleanup[30430]: 84BE5C05E86: message-id=<20170525100801.CA182C05E85@imail.bluediamondcement.com>
May 25 16:38:02 ip-172-31-26-130 postfix/10025/smtpd[29219]: disconnect from imailbluediamondcement.com[127.0.0.1]
May 25 16:38:02 ip-172-31-26-130 postfix/qmgr[20937]: 84BE5C05E86: from=<sogo@imail.bluediamondcement.com>, size=1778, nrcpt=1 (queue active)
May 25 16:38:02 ip-172-31-26-130 amavis[30434]: (30434-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] <sogo@imail.bluediamondcement.com> -> <sogo@imail.bluediamondcement.com>, Message-ID: <20170525100801.CA182C05E85@imail.bluediamondcement.com>, mail_id: pR2MdOFLABm6, Hits: 0, size: 1146, queued_as: 84BE5C05E86, 714 ms, Tests: [NO_RELAYS=-0.001,TVD_SPACE_RATIO=0.001]
May 25 16:38:02 ip-172-31-26-130 postfix/cleanup[30089]: 866B3C05E88: message-id=<20170525100801.CA182C05E85@imail.bluediamondcement.com>
May 25 16:38:02 ip-172-31-26-130 postfix/local[28823]: 84BE5C05E86: to=<sogo@imail.bluediamondcement.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (forwarded as 866B3C05E88)

4

Re: Export and Import Users/ Mail Delay Time

aungsoemin wrote:

Can I create all new mail accounts at the same time with CSV file ?

Currently, no.

aungsoemin wrote:

Can I save exitsting mail accounts which I create in excel file? So, I need to export.

What kind of information do you want to export?

aungsoemin wrote:

May 25 16:37:02 ip-172-31-26-130 postfix/qmgr[20937]: 43CD2C05E88: removed
May 25 16:37:55 ip-172-31-26-130 postfix/qmgr[20937]: 069C7C05E8B: from=<niniaung@bluediamondcement.com>, size=834434, nrcpt=1 (queue active)

It's not very clear why it delays for 53 seconds, but it's possible caused by DNS query.