1

Topic: cant send mail...

Linux ubuntu 10.04LTS fresh!

Hello! Where is problem? Why i cant send mail to @gmail.com?




Jan 30 06:03:46 mail postfix/master[16047]: terminating on signal 15
Jan 30 06:03:46 mail postfix/master[16272]: daemon started -- version 2.7.0, configuration /etc/postfix
Jan 30 06:03:46 mail postfix/qmgr[16274]: A278561CE9: from=<www@digilive.lv>, size=1441, nrcpt=1 (queue active)
Jan 30 06:03:49 mail postfix/smtp[16278]: connect to gmail-smtp-in.l.google.com[209.85.137.27]:25: No route to host
Jan 30 06:04:10 mail postfix/smtp[16278]: connect to alt1.gmail-smtp-in.l.google.com[74.125.81.26]:25: Connection timed out
Jan 30 06:04:31 mail postfix/smtp[16278]: connect to alt2.gmail-smtp-in.l.google.com[209.85.225.27]:25: Connection timed out
Jan 30 06:04:52 mail postfix/smtp[16278]: connect to alt3.gmail-smtp-in.l.google.com[74.125.157.26]:25: Connection timed out
Jan 30 06:04:54 mail postfix/smtpd[16299]: connect from localhost[127.0.0.1]
Jan 30 06:04:54 mail postfix/smtpd[16299]: 3B59B61CA0: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=www@digilive.lv
Jan 30 06:04:54 mail postfix/cleanup[16301]: 3B59B61CA0: message-id=<4f3549c8e35ea1f5fb56662c45fa2251@digilive.lv>
Jan 30 06:04:54 mail postfix/qmgr[16274]: 3B59B61CA0: from=<www@digilive.lv>, size=520, nrcpt=1 (queue active)
Jan 30 06:04:54 mail roundcube: User www@digilive.lv [80.232.242.114]; Message for kpalens@gmail.com; 250: 2.0.0 Ok: queued as 3B59B61CA0
Jan 30 06:04:54 mail postfix/smtpd[16299]: disconnect from localhost[127.0.0.1]
Jan 30 06:04:58 mail postfix/smtpd[16314]: connect from localhost[127.0.0.1]
Jan 30 06:04:58 mail postfix/smtpd[16314]: 624C761D0F: client=localhost[127.0.0.1]
Jan 30 06:04:58 mail postfix/cleanup[16301]: 624C761D0F: message-id=<4f3549c8e35ea1f5fb56662c45fa2251@digilive.lv>
Jan 30 06:04:58 mail postfix/qmgr[16274]: 624C761D0F: from=<www@digilive.lv>, size=1441, nrcpt=1 (queue active)
Jan 30 06:04:58 mail amavis[14638]: (14638-03) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <www@digilive.lv> -> <kpalens@gmail.com>, Message-ID: <4f3549c8e35ea1f5fb56662c45fa2251@digilive.lv>, mail_id: G8HcwuIUD+hf, Hits: -10, size: 520, queued_as: 624C761D0F, 4163 ms
Jan 30 06:04:58 mail postfix/smtpd[16314]: disconnect from localhost[127.0.0.1]
Jan 30 06:04:58 mail postfix/smtp[16302]: 3B59B61CA0: to=<kpalens@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.4, delays=0.16/0/0/4.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=14638-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 624C761D0F)
Jan 30 06:04:58 mail postfix/qmgr[16274]: 3B59B61CA0: removed
Jan 30 06:05:13 mail postfix/smtp[16278]: connect to alt4.gmail-smtp-in.l.google.com[74.125.91.26]:25: Connection timed out
Jan 30 06:05:14 mail postfix/smtp[16278]: A278561CE9: to=<kpalens@gmail.com>, relay=none, delay=3376, delays=3289/0.01/87/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.91.26]:25: Connection timed out)
Jan 30 06:05:19 mail postfix/smtp[16315]: connect to gmail-smtp-in.l.google.com[209.85.137.27]: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: cant send mail...

emirats wrote:

Jan 30 06:05:19 mail postfix/smtp[16315]: connect to gmail-smtp-in.l.google.com[209.85.137.27]:25: Connection timed out

Seems your server cannot connect to Google mail server. Is there any firewall/router blocking the connection?

3

Re: cant send mail...

ZhangHuangbin wrote:
emirats wrote:

Jan 30 06:05:19 mail postfix/smtp[16315]: connect to gmail-smtp-in.l.google.com[209.85.137.27]:25: Connection timed out

Seems your server cannot connect to Google mail server. Is there any firewall/router blocking the connection?



No... i open all ports in firewall/router... maybe my ISP not allow something?

In bind9 i create TXT record for SPF ( digilive.lv.           3600    IN      TXT     "v=spf1 mx mx:mail.digilive.lv -all" )

4

Re: cant send mail...

It might be a temporary network issue.
Were all emails sent to @gmail.com deferred?

5 (edited by subhasis.stpl 2012-04-07 17:18:41)

Re: cant send mail...

Same problem with me. I've configured in CentOS-5.7 with iRedmail-0.74.

Mail can be received from Outside world but all mails are dropped by the Outside mail servers. I've googled a lot with no solution.

Changed the entry to "relayhost = [mail1.semaphoreindia.com]"






Apr  7 14:29:32 mail1 postfix/smtp[10394]: 4849A4B0007C: to=<scpl@wbphed.gov.in>, relay=none, delay=10414, delays=10384/0.03/30/0, dsn=4.4.1, status=deferred (connect to mail1.semaphoreindia.com[27.251.58.141]:25: Connection timed out)
Apr  7 14:29:32 mail1 postfix/smtp[10395]: 1077D4B00061: to=<subhasis.stpl@gmail.com>, relay=none, delay=88402, delays=88372/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail1.semaphoreindia.com[27.251.58.141]:25: Connection timed out)
Apr  7 14:29:32 mail1 postfix/qmgr[10361]: 1077D4B00061: from=<www@semaphoreindia.com>, status=expired, returned to sender
Apr  7 14:29:32 mail1 postfix/cleanup[10401]: EB8144B00062: message-id=<20120407085932.EB8144B00062@mail1.semaphoreindia.com>
Apr  7 14:29:32 mail1 postfix/bounce[10399]: 1077D4B00061: sender non-delivery notification: EB8144B00062
Apr  7 14:29:32 mail1 postfix/qmgr[10361]: EB8144B00062: from=<>, size=3603, nrcpt=1 (queue active)
Apr  7 14:29:32 mail1 postfix/qmgr[10361]: 1077D4B00061: removed



Mail reaches to the recipients smtp server but then "Connection timed out happens".

Please help.

6

Re: cant send mail...

subhasis.stpl wrote:

Changed the entry to "relayhost = [mail1.semaphoreindia.com]"

You should try below setting instead:

relayhost = :[mail1.semaphoreindia.com]
relayhost = smtp:[mail1.semaphoreindia.com]:25

Refer to Postfix official doc for correct syntax of this setting:
http://www.postfix.org/transport.5.html