i can't send mail to gmail and any other outside mail

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
mr49r
Posts: 3
Joined: Wed Nov 01, 2017 2:31 pm

i can't send mail to gmail and any other outside mail

Postby mr49r » Wed Nov 01, 2017 2:44 pm

i can't send mail to gmail and any other outside mail.but incoming mails working properly how to fix this issue?
this is mainlog output


Code: Select all

2017-11-01 13:15:16 exim 4.86_2 daemon started: pid=19659, -q30m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 2525 (IPv4) and for SMTPS on port 465 (IPv4)
2017-11-01 13:15:16 Start queue run: pid=19661
2017-11-01 13:15:16 End queue run: pid=19661
2017-11-01 13:15:30 1e9sri-0005tX-Nh <= root@malinda.site U=root P=local S=850
2017-11-01 13:17:38 1e9sri-0005tX-Nh H=gmail-smtp-in.l.google.com [74.125.133.26] Connection timed out
2017-11-01 13:19:45 1e9sri-0005tX-Nh H=alt1.gmail-smtp-in.l.google.com [173.194.221.27] Connection timed out
2017-11-01 13:21:52 1e9sri-0005tX-Nh H=alt2.gmail-smtp-in.l.google.com [74.125.130.26] Connection timed out
2017-11-01 13:23:59 1e9sri-0005tX-Nh H=alt3.gmail-smtp-in.l.google.com [64.233.188.27] Connection timed out
2017-11-01 13:24:01 exim 4.86_2 daemon started: pid=26179, -q30m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 2525 (IPv4) and for SMTPS on port 465 (IPv4)
2017-11-01 13:24:01 Start queue run: pid=26185
2017-11-01 13:24:01 1e9sri-0005tX-Nh Spool file is locked (another process is handling this message)
2017-11-01 13:24:01 End queue run: pid=26185
2017-11-01 13:26:06 1e9sri-0005tX-Nh H=alt4.gmail-smtp-in.l.google.com [74.125.28.26] Connection timed out
2017-11-01 13:26:06 1e9sri-0005tX-Nh == smalinda99@gmail.com R=dnslookup T=remote_smtp defer (110): Connection timed out
2017-11-01 13:27:40 H=(dnscheck.pingdom.com) [176.221.80.21] F=<> rejected RCPT <hostmaster@malinda.site>: Unrouteable address
2017-11-01 13:36:43 no host name found for IP address 172.82.162.156
2017-11-01 13:36:44 H=(WIN-S9D1FJNAAQI) [172.82.162.156] F=<spameri@tiscali.it> rejected RCPT <spameri@tiscali.it>: relay not permitted
2017-11-01 13:53:52 1e9tSq-0001pr-MD <= info@malinda.site U=admin P=local S=10305 id=e3ad64928b3d25b5a5575fa6953286ff@malinda.site
2017-11-01 13:54:01 Start queue run: pid=7082
2017-11-01 13:56:00 1e9tSq-0001pr-MD H=server232.web-hosting.com [198.54.114.178] Connection timed out
2017-11-01 13:56:08 1e9sri-0005tX-Nh H=gmail-smtp-in.l.google.com [74.125.133.26] Connection timed out
2017-11-01 13:56:31 1e9tVP-0001wY-53 <= kamal@malinda.site U=admin P=local S=569 id=ac2edc978dfdc70e091258a4899c2fc7@malinda.site
2017-11-01 13:56:31 1e9tVP-0001wY-53 => info <info@malinda.site> R=localuser T=local_delivery
2017-11-01 13:56:31 1e9tVP-0001wY-53 Completed
2017-11-01 13:58:07 1e9tSq-0001pr-MD H=smx1.web-hosting.com [162.255.118.61] Connection timed out
2017-11-01 13:58:15 1e9sri-0005tX-Nh H=alt1.gmail-smtp-in.l.google.com [173.194.222.27] Connection timed out
2017-11-01 13:59:00 no host name found for IP address 112.134.4.203
2017-11-01 13:59:00 no host name found for IP address 112.134.4.203
2017-11-01 13:59:00 SMTP protocol synchronization error (next input sent too soon: pipelining was not advertised): rejected "EHLO we-guess.mozilla.org" H=[112.134.4.203] next input="QUIT\r\n"
2017-11-01 13:59:04 no host name found for IP address 112.134.4.203
2017-11-01 13:59:04 no host name found for IP address 112.134.4.203
2017-11-01 14:00:14 1e9tSq-0001pr-MD H=smx1.web-hosting.com [162.255.118.62] Connection timed out
2017-11-01 14:00:14 1e9tSq-0001pr-MD == info@blinwebdev.com R=dnslookup T=remote_smtp defer (110): Connection timed out
2017-11-01 14:00:23 1e9sri-0005tX-Nh H=alt2.gmail-smtp-in.l.google.com [74.125.130.26] Connection timed out
2017-11-01 14:00:43 no host name found for IP address 112.134.4.203
2017-11-01 14:00:44 1e9tZU-00022E-KH <= info@malinda.site H=([192.168.1.104]) [112.134.4.203] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=no A=dovecot_plain:info@malinda.site S=676 id=b2988bf4-db42-05b2-177a-f2424b505f76@malinda.site
2017-11-01 14:00:45 1e9tZU-00022E-KH == info@blinwebdev.com R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2017-11-01 14:02:08 1e9taq-00023H-HG DKIM: d=blinwebdev.com s=default c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2017-11-01 14:02:08 1e9taq-00023H-HG <= info@blinwebdev.com H=server232-2.web-hosting.com [198.54.115.52] P=esmtps X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no S=2379 id=069ed7f1-ffd3-fd54-0f27-587a3004b285@blinwebdev.com
2017-11-01 14:02:08 1e9taq-00023H-HG => info <info@malinda.site> R=localuser T=local_delivery
2017-11-01 14:02:08 1e9taq-00023H-HG Completed
2017-11-01 14:02:30 1e9sri-0005tX-Nh H=alt3.gmail-smtp-in.l.google.com [64.233.188.26] Connection timed out
2017-11-01 14:04:26 1e9td4-00024y-Oe DKIM: d=gmail.com s=20161025 c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2017-11-01 14:04:26 1e9td4-00024y-Oe <= smalinda99@gmail.com H=mail-io0-f177.google.com [209.85.223.177] P=esmtps X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=no S=2611 id=CAKv-mA+aQ0XidNTmOLUc7b-7jOHHdhLa6+ebmzoRZcCu9fbgzw@mail.gmail.com
2017-11-01 14:04:26 1e9td4-00024y-Oe => info <info@malinda.site> R=localuser T=local_delivery
2017-11-01 14:04:26 1e9td4-00024y-Oe Completed
2017-11-01 14:04:37 1e9sri-0005tX-Nh H=alt4.gmail-smtp-in.l.google.com [74.125.28.26] Connection timed out
2017-11-01 14:04:37 1e9sri-0005tX-Nh == smalinda99@gmail.com R=dnslookup T=remote_smtp defer (110): Connection timed out
2017-11-01 14:04:37 1e9tSq-0001pr-MD == info@blinwebdev.com R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
2017-11-01 14:04:37 End queue run: pid=7082
2017-11-01 14:04:57 no host name found for IP address 112.134.4.203
2017-11-01 14:04:58 1e9tda-000258-Ka <= info@malinda.site H=([192.168.1.104]) [112.134.4.203] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=no A=dovecot_plain:info@malinda.site S=923 id=beeb585e-fa4c-15f6-8084-dc6185fca087@malinda.site
2017-11-01 14:07:05 1e9tda-000258-Ka H=gmail-smtp-in.l.google.com [64.233.184.26] Connection timed out
2017-11-01 14:09:13 1e9tda-000258-Ka H=alt1.gmail-smtp-in.l.google.com [173.194.221.27] Connection timed out
2017-11-01 14:11:20 1e9tda-000258-Ka H=alt3.gmail-smtp-in.l.google.com [64.233.188.27] Connection timed out
2017-11-01 14:11:20 1e9tda-000258-Ka == smalinda99@gmail.com R=dnslookup T=remote_smtp defer (110): Connection timed out
2017-11-01 14:16:59 1e9tpD-0002JG-Or DKIM: d=gmail.com s=20161025 c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2017-11-01 14:16:59 1e9tpD-0002JG-Or <= smalinda99@gmail.com H=mail-io0-f173.google.com [209.85.223.173] P=esmtps X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=no S=3380 id=CAKv-mAJ=32xFJ1LepFVSNjdd0cy-Z4K=Nrve5oHawHOzGpJJaA@mail.gmail.com
2017-11-01 14:16:59 1e9tpD-0002JG-Or => info <info@malinda.site> R=localuser T=local_delivery
2017-11-01 14:16:59 1e9tpD-0002JG-Or Completed
2017-11-01 14:17:29 no host name found for IP address 112.134.4.203
2017-11-01 14:17:31 1e9tpj-0002JN-7R <= info@malinda.site H=([192.168.1.104]) [112.134.4.203] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=no A=dovecot_plain:info@malinda.site S=2513 id=d4465213-b1d3-d035-6590-192102d80427@malinda.site
2017-11-01 14:18:07 no host name found for IP address 112.134.4.203
2017-11-01 14:18:08 1e9tqK-0002Ja-Kj <= info@malinda.site H=([192.168.1.104]) [112.134.4.203] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=no A=dovecot_plain:info@malinda.site S=3871 id=4368f170-30ec-76ba-8e48-d3773df9317c@malinda.site
2017-11-01 14:19:38 1e9tpj-0002JN-7R H=alt2.gmail-smtp-in.l.google.com [74.125.130.27] Connection timed out

mehargags
Moderators
Posts: 785
Joined: Sat Sep 06, 2014 9:58 pm
Contact:

Re: i can't send mail to gmail and any other outside mail

Postby mehargags » Thu Nov 02, 2017 1:44 pm

Are you able to ping google.com and the SMTPs listed in the log ?

Looks like you need to edit your nameservers in /etc/resolv.conf and give Google's IPs there

Code: Select all

nano  /etc/resolv.conf


Paste in this:

Code: Select all

# Google IPv4 nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4


Then check ping and check if you are able to send mails. If all works well, REBOOT your server and check the whole thing again.

mr49r
Posts: 3
Joined: Wed Nov 01, 2017 2:31 pm

Re: i can't send mail to gmail and any other outside mail

Postby mr49r » Thu Nov 02, 2017 7:29 pm

mehargags wrote:Are you able to ping google.com and the SMTPs listed in the log ?

Looks like you need to edit your nameservers in /etc/resolv.conf and give Google's IPs there

Code: Select all

nano  /etc/resolv.conf


Paste in this:

Code: Select all

# Google IPv4 nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4


Then check ping and check if you are able to send mails. If all works well, REBOOT your server and check the whole thing again.


i did according this but still not working mail receiving from gmail but can't send

mehargags
Moderators
Posts: 785
Joined: Sat Sep 06, 2014 9:58 pm
Contact:

Re: i can't send mail to gmail and any other outside mail

Postby mehargags » Fri Nov 03, 2017 6:29 pm

Can you ping google.com ? please read instructions carefully

mr49r
Posts: 3
Joined: Wed Nov 01, 2017 2:31 pm

Re: i can't send mail to gmail and any other outside mail

Postby mr49r » Fri Nov 03, 2017 6:57 pm

mehargags wrote:Can you ping google.com ? please read instructions carefully


yes ping is working

mehargags
Moderators
Posts: 785
Joined: Sat Sep 06, 2014 9:58 pm
Contact:

Re: i can't send mail to gmail and any other outside mail

Postby mehargags » Sat Nov 04, 2017 7:25 am

Where is your server hosted ?
Can you open a ticket with your provider and ask why the connection is timing out ? May be they are blocking out all SMTP traffic. Many hosts do this by default and open the ports on specific request (or refuse).


Return to “Mail Server”



Who is online

Users browsing this forum: No registered users and 7 guests

cron