Author Topic: cannot send but can receive mail  (Read 16466 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cannot send but can receive mail
« on: April 01, 2018, 12:47:30 PM »
im using freedns on cwp

and sets like that

@                  A                  (my ip)
@                  MX        10    cwp.mydomain.com
@                  TXT               v=spf1 mx a
subdomain1   A                  (my ip)
cwp               A                  (my ip)
subdomain2   A                  (my ip)
subdomain3   A                  (my ip)
ftp                 A                  (my ip)
mail              A                   (my ip)
www             CNAME           @
_dmarc         TXT                v=DMARC1; p=none; rua=mailto:webmaster@mydomain.com


master.cf

added this line
2525         inet        n         -        n     -       -      smtpd

iptables added 2525 accept

forwarded 2525 port on modem to my server ip and open port check 2525 is success

when i try to send out mail, always queue and not complete to deliver. what shoud i do?

meanwhile, have two master.cf in server

first path
/etc/postfix/master.cf
and other way
/usr/libexec/postfix/master.cf

and i changed both of them 2525 inet line

please help..

Offline
**
Re: cannot send but can receive mail
« Reply #1 on: April 01, 2018, 05:10:52 PM »
Are you getting any error message while sending an email?
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Offline
*
Re: cannot send but can receive mail
« Reply #2 on: April 01, 2018, 05:21:50 PM »
roundcube says mail sent..

postfix status message this

Apr 01 13:21:06 cwp.rehacan.com postfix/smtp[1192]: 8149C409A86F: to=, relay=none, delay=174177, delays=174177/0.01/0.36/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c00::1a]:25: Network is unreachable)
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1195]: connect to hotmail-com.olc.protection.outlook.com[104.47.1.33]:25: No route to host
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1195]: connect to hotmail-com.olc.protection.outlook.com[104.47.0.33]:25: No route to host
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1193]: connect to gmail-smtp-in.l.google.com[108.177.15.26]:25: No route to host
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1193]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c0c::1b]:25: Network is unreachable
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1193]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4010:c0f::1b]:25: Network is unreachable
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1193]: connect to alt1.gmail-smtp-in.l.google.com[108.177.14.26]:25: No route to host
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1193]: connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c00::1b]:25: Network is unreachable
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1195]: 8D7EE409A851: to=, relay=none, delay=162171, delays=162169/0.01/1.3/0, dsn=4.4.1, status=deferred (connect to hotmail-com.olc.protection.outlook.com[104.47.0.33]:25: No route to host)
Apr 01 13:21:07 cwp.rehacan.com postfix/smtp[1193]: 854F5409A86A: to=, relay=none, delay=19033, delays=19032/0.01/1.4/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c00::1b]:25: Network is unreachable)

Offline
*
Re: cannot send but can receive mail
« Reply #3 on: April 01, 2018, 05:28:46 PM »
its still trying to use 25 port.. and its blocked in Turkey.

Offline
*
Re: cannot send but can receive mail
« Reply #4 on: April 01, 2018, 08:46:02 PM »
[root@cwp postfix]# tail -f /var/log/maillog
Apr  1 16:44:32 cwp postfix/smtp[6109]: 11F63409AE12: to=<rcdursun@gmail.com>, relay=none, delay=175533, delays=175428/0.11/105/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: No route to host)
Apr  1 16:44:47 cwp postfix/smtp[6110]: connect to alt3.gmail-smtp-in.l.google.com[64.233.188.26]:25: Connection timed out
Apr  1 16:44:47 cwp postfix/smtp[6104]: connect to alt3.gmail-smtp-in.l.google.com[64.233.188.27]:25: Connection timed out
Apr  1 16:44:47 cwp postfix/smtp[6106]: connect to alt3.gmail-smtp-in.l.google.com[64.233.188.26]:25: Connection timed out
Apr  1 16:45:17 cwp postfix/smtp[6110]: connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: Connection timed out
Apr  1 16:45:17 cwp postfix/smtp[6104]: connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: Connection timed out
Apr  1 16:45:17 cwp postfix/smtp[6106]: connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: Connection timed out
Apr  1 16:45:17 cwp postfix/smtp[6110]: F3BC6409ADED: to=<rcdursun@gmail.com>, relay=none, delay=174665, delays=174515/0.12/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: Connection timed out)
Apr  1 16:45:17 cwp postfix/smtp[6104]: DD6B9409ADF3: to=<rcdursun@gmail.com>, relay=none, delay=31283, delays=31133/0.06/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: Connection timed out)
Apr  1 16:45:17 cwp postfix/smtp[6106]: 05BBD409ADF9: to=<rcdursun@gmail.com>, relay=none, delay=186428, delays=186278/0.07/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.199.27]:25: Connection timed out)

Offline
*
Re: cannot send but can receive mail
« Reply #5 on: April 06, 2018, 08:18:56 PM »
can anybody help?

Offline
***
Re: cannot send but can receive mail
« Reply #6 on: April 08, 2018, 03:16:30 PM »
its still trying to use 25 port.. and its blocked in Turkey.

Nothing you can do about it,
You need relay server to send out from your server if port 25 blocked
« Last Edit: April 08, 2018, 03:30:02 PM by Jae »

Offline
*
Re: cannot send but can receive mail
« Reply #7 on: March 15, 2020, 01:24:48 AM »
Port 25 is not blocked but still I m not able to send

Offline
****
Re: cannot send but can receive mail
« Reply #8 on: March 15, 2020, 04:20:19 AM »
 No route to host
Says otherwise.  As for your "still using port 25". Correct.   Smtp ports really shouldnt be changed   if you prevent relaying your fine.  If you are receiving mail from the outside world, I'm amazed unless you use port redirection which is doing nothing for you.
Google Hangouts:  rcschaff82@gmail.com

Offline
*****
Re: cannot send but can receive mail
« Reply #9 on: March 15, 2020, 09:09:11 AM »
`25: Connection timed out` is ISP/server provider level restriction kindly contact them.

Offline
*
Re: cannot send but can receive mail
« Reply #10 on: June 02, 2020, 05:22:49 PM »
I have the following error

Jun  2 22:46:27 serve1 postfix/smtp[2069]: connect to alt4.gmail-smtp-in.l.googl                          e.com[74.125.129.26]:25: No route to host