1

Topic: receive email ok but can't send out

==== Required information ====
- iRedMail version: iRedMail-0.9.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: CENTOS 6
- Related log if you're reporting an issue:
====
I just setup an iredmail, can receive email from outside but can't send outside, it always timeout from connection. Here is the maillog


Jun 10 14:11:39 mail1 postfix/smtp[1933]: connect to alt1.gmail-smtp-in.l.google.com[74.125.193.26]:25: Connection timed out
Jun 10 14:12:09 mail1 postfix/smtp[1933]: connect to alt2.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out
Jun 10 14:12:39 mail1 postfix/smtp[1933]: connect to alt3.gmail-smtp-in.l.google.com[173.194.204.26]:25: Connection timed out
Jun 10 14:13:09 mail1 postfix/smtp[1933]: connect to alt4.gmail-smtp-in.l.google.com[74.125.141.26]:25: Connection timed out
Jun 10 14:13:09 mail1 postfix/smtp[1933]: 36668562D: to=<xxxxxx@gmail.com>, relay=none, delay=728, delays=578/0.04/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.141.26]:25: Connection timed out)
Jun 10 14:15:38 mail1 postfix/qmgr[1930]: 937B4562E: from=<xxxxxx@xxxxx.com.au>, size=1867, nrcpt=1 (queue active)
Jun 10 14:16:08 mail1 postfix/smtp[1956]: connect to mta7.am0.yahoodns.net[66.196.118.35]:25: Connection timed out
Jun 10 14:16:38 mail1 postfix/smtp[1956]: connect to mta7.am0.yahoodns.net[98.138.112.35]:25: Connection timed out
Jun 10 14:17:08 mail1 postfix/smtp[1956]: connect to mta7.am0.yahoodns.net[66.196.118.33]:25: Connection timed out
Jun 10 14:17:38 mail1 postfix/smtp[1956]: connect to mta5.am0.yahoodns.net[66.196.118.37]:25: Connection timed out
Jun 10 14:18:08 mail1 postfix/smtp[1956]: connect to mta5.am0.yahoodns.net[98.136.217.203]:25: Connection timed out
Jun 10 14:18:08 mail1 postfix/smtp[1956]: 937B4562E: to=<hkeung@yahoo.com>, relay=none, delay=791, delays=641/0.1/150/0, dsn=4.4.1, status=deferred (connect to mta5.am0.yahoodns.net[98.136.217.203]:25: Connection timed out)

----

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

2

Re: receive email ok but can't send out

It is possible that your ISP/Host is blocking outbound port 25, this is often done on Residential Internet Connections to prevent Spamming.