Can receive email but cannot send email

Hello

I can receive email but cannot send email. From the mail log, it seem like the email function is working properly but not sure why my gmail or hotmail cannot receive email send from my server. I can receive my own email (for example, send from my email to my email (same server)).

Here is the mail log for gmail

Sep 12 23:42:59 s1 postfix/smtp[3898]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c05::1a]:25: Connection timed out
Sep 12 23:42:59 s1 postfix/smtp[3898]: 459FA51E2749: to=xxxx@gmail.com, relay=gmail-smtp-in.l.google.com[74.125.193.26]:25, delay=31, delays=0.28/0.01/31/0.24, dsn=2.0.0, status=sent (250 2.0.0 OK 1442115771 90si5001860ioq.190 - gsmtp)
Sep 12 23:42:59 s1 postfix/qmgr[894]: 459FA51E2749: removed
Sep 12 23:43:26 s1 postfix/smtpd[3895]: connect from mail-ig0-f174.google.com[209.85.213.174]
Sep 12 23:43:26 s1 postfix/smtpd[3895]: 6215D51E270D: client=mail-ig0-f174.google.com[209.85.213.174]
Sep 12 23:43:26 s1 postfix/cleanup[3856]: 6215D51E270D: message-id=CAEtwicW9HMzcVRtg2HkDkMaRTp3PFk=gYj3tiNU4CPdkkOK0sg@mail.gmail.com
Sep 12 23:43:26 s1 postfix/qmgr[894]: 6215D51E270D: from=xxxx@gmail.com, size=1690, nrcpt=1 (queue active)
Sep 12 23:43:26 s1 postfix/smtpd[3895]: disconnect from mail-ig0-f174.google.com[209.85.213.174]
Sep 12 23:43:28 s1 dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3989, secured
Sep 12 23:43:28 s1 dovecot: imap(xxx): Disconnected: Logged out bytes=272/1203
Sep 12 23:43:31 s1 dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3991, secured
Sep 12 23:43:31 s1 dovecot: imap(xxx): Disconnected: Logged out bytes=272/1203

Here is the mail log for hotmail:

23:46:08 s1 postfix/smtp[4074]: 79FAD51E270D: to=xxx@hotmail.com, relay=mx3.hotmail.com[65.55.37.104]:25, delay=4.8, delays=0.37/0.01/4/0.45, dsn=2.0.0, status=sent (250 74e11f86b3f73121cac61e435a9036a8@premiumapk.com Queued mail for delivery)
Sep 12 23:46:08 s1 postfix/qmgr[894]: 79FAD51E270D: removed
Sep 12 23:46:08 s1 dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4082, secured
Sep 12 23:46:08 s1 dovecot: imap(xxx): Disconnected: Logged out bytes=303/1317
Sep 12 23:46:08 s1 dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4084, secured
Sep 12 23:46:08 s1 dovecot: imap(xxx): Disconnected: Logged out bytes=82/565

Did you check spam folder on gmail and hotmail?

Ya. I have checked but still have not receive. Do you think is there by any chance that the vps IP got blacklisted or any other reason?

Check if port 25 is open, you can use telnet to try to connect and see if you can. If you cant that means its probably closed by FW and you should open it using iptables or firewalld (depending what is your OS).

Howdy,

According to the logs you shared above, both Gmail and Hotmail are saying that the message was received.

That means it did work… unfortunately, it’s tough to know why the recipient didn’t receive it since it was handed off to the remote servers.

Can you try sending it to a different address and see if that works properly?

It is possible the IP is blacklisted though, you could always check this here:

http://www.anti-abuse.org/multi-rbl-check/