1

Topic: can not send mai lto outside

==== Required information ====
- iRedMail version: 0.7.3
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
I don't know what happen with my email
can receive but can not sent to outside but in localhost can sent and receive

Thank you

----

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

2

Re: can not send mai lto outside

Hi! Provide some logs when you are trying to send mail.

3

Re: can not send mai lto outside

Jan 29 10:01:01 mail policyd-cleanup: expired: 0 records
Jan 29 10:01:01 mail policyd-cleanup: expiring helo records older than 7 days (1359428461)
Jan 29 10:01:01 mail policyd-cleanup: expired: 3 records
Jan 29 10:01:01 mail policyd-cleanup: connected..
Jan 29 10:01:01 mail policyd-cleanup: expiring throttlesender records older than 31 days (1356750061)
Jan 29 10:01:01 mail policyd-cleanup: expired: 0 records
Jan 29 10:01:01 mail policyd-cleanup: expiring throttlesender instances older than 1 hour (1359424861)
Jan 29 10:01:01 mail policyd-cleanup: expired: 0 records
Jan 29 10:02:36 mail postfix/smtp[8510]: E7E5CE9006E: lost connection with mx1.hotmail.com[65.55.92.136] while receiving the initial server greeting
Jan 29 10:05:45 mail postfix/smtp[8510]: E7E5CE9006E: lost connection with mx4.hotmail.com[65.54.188.110] while receiving the initial server greeting
Jan 29 10:08:16 mail postfix/qmgr[2948]: 0C5C2E90064: from=<daovanh@mpt.gov.la>, size=1302255, nrcpt=1 (queue active)
Jan 29 10:08:50 mail postfix/smtpd[9135]: connect from localhost.localdomain[127.0.0.1]
Jan 29 10:08:50 mail postfix/trivial-rewrite[9136]: warning: do not list domain mpt.gov.la in BOTH mydestination and virtual_mailbox_domains
Jan 29 10:08:50 mail postfix/smtpd[9135]: 4B9C4E9006B: client=localhost.localdomain[127.0.0.1], sasl_method=LOGIN, sasl_username=souvanny@mpt.gov.la
Jan 29 10:08:50 mail postfix/cleanup[9140]: 4B9C4E9006B: message-id=<65db0e7ec94ad086a60e8a88ff403b53@mpt.gov.la>
Jan 29 10:08:50 mail postfix/qmgr[2948]: 4B9C4E9006B: from=<souvanny@mpt.gov.la>, size=571, nrcpt=1 (queue active)
Jan 29 10:08:50 mail roundcube: User souvanny@mpt.gov.la [127.0.0.1]; Message for souvanny789@gmail.com; 250: 2.0.0 Ok: queued as 4B9C4E9006B
Jan 29 10:08:50 mail postfix/smtpd[9135]: disconnect from localhost.localdomain[127.0.0.1]
Jan 29 10:08:50 mail postfix/smtpd[9146]: connect from localhost.localdomain[127.0.0.1]
Jan 29 10:08:50 mail postfix/trivial-rewrite[9136]: warning: do not list domain mpt.gov.la in BOTH mydestination and virtual_mailbox_domains
Jan 29 10:08:50 mail postfix/smtpd[9146]: 710ECE9006D: client=localhost.localdomain[127.0.0.1]
Jan 29 10:08:50 mail postfix/cleanup[9140]: 710ECE9006D: message-id=<65db0e7ec94ad086a60e8a88ff403b53@mpt.gov.la>
Jan 29 10:08:50 mail postfix/smtpd[9146]: disconnect from localhost.localdomain[127.0.0.1]
Jan 29 10:08:50 mail postfix/qmgr[2948]: 710ECE9006D: from=<souvanny@mpt.gov.la>, size=1550, nrcpt=1 (queue active)
Jan 29 10:08:50 mail amavis[2878]: (02878-20) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <souvanny@mpt.gov.la> -> <souvanny789@gmail.com>, Message-ID: <65db0e7ec94ad086a60e8a88ff403b53@mpt.gov.la>, mail_id: LOOJx+gOmwiv, Hits: -, size: 571, queued_as: 710ECE9006D, 117 ms
Jan 29 10:08:50 mail postfix/smtp[9144]: 4B9C4E9006B: to=<souvanny789@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.18, delays=0.06/0.01/0/0.12, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02878-20, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 710ECE9006D)
Jan 29 10:08:50 mail postfix/qmgr[2948]: 4B9C4E9006B: removed
Jan 29 10:08:54 mail postfix/smtp[8510]: E7E5CE9006E: lost connection with mx2.hotmail.com[65.54.188.94] while receiving the initial server greeting

4

Re: can not send mai lto outside

Please fix this issue first:

Jan 29 10:08:50 mail postfix/trivial-rewrite[9136]: warning: do not list domain mpt.gov.la in BOTH mydestination and virtual_mailbox_domains

I guess you use "mpt.gov.la" as system hostname, and iRedMail uses it in Postfix parameter "myhostname =".
During iRedMail installation, it prompts you cannot use system hostname as a virtual domain.

5

Re: can not send mai lto outside

We use this mail for one year around two month ago can receive from outside but can not to sent outside. How do we do

6

Re: can not send mai lto outside

Please, let's fix current issues one by one.