LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Emails sent from linux server are rejected by recipient (https://www.linuxquestions.org/questions/linux-server-73/emails-sent-from-linux-server-are-rejected-by-recipient-4175497388/)

postcd 03-07-2014 09:54 AM

Emails sent from linux server are rejected by recipient
 
Hello i have this longterm issue which im unable to solve, i think this is quite simple issue, i hope you may know the cause

It is on CentOS Redhat server with qmail installed.

Quote:

[root@*** /]# service qmail status
[root@*** /]# service qmail start
Starting Qmail:
[root@*** /]# ps aux | grep mail
qmails 1688 0.0 0.0 2020 488 ? S 10:01 0:00 qmail-send
qmaill 1694 0.0 0.0 1768 480 ? S 10:01 0:00 splogger qmail
root 1695 0.0 0.0 1780 372 ? S 10:01 0:00 qmail-lspawn |preline procmail
qmailr 1696 0.0 0.0 1776 372 ? S 10:01 0:00 qmail-rspawn
qmailq 1697 0.0 0.0 1760 352 ? S 10:01 0:00 qmail-clean
root 3137 0.0 0.0 1948 508 pts/0 R+ 10:11 0:00 grep mail
Quote:

[root@*** /]# tail -n 100 /var/log/maillog
Apr 4 18:33:11 test sendmail[1526]: alias database /etc/aliases rebuilt by root
Apr 4 18:33:11 test sendmail[1526]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Apr 4 18:33:11 test sendmail[1531]: starting daemon (8.13.8): SMTP+queueing@01:00:00
Apr 4 18:33:11 test sm-msp-queue[1539]: starting daemon (8.13.8): queueing@01:00:00


I tried to log the email account in webmail
I see all the messages I tried to send like:
Quote:

******SPAM****** te
Connected to **remoteiphere** but sender was rejected.
Remote host said: 550 SC-001 (SNT0-MC3-F45) Unfortunately, messages from **myserverip** weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail...ubleshooting.aspx#errors.

Full message:
Quote:

Hi. This is the qmail-send program at mail.vpshosteddomain.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<mymail@hotmail.com>:
Connected to 65.54.188.72 but sender was rejected.
Remote host said: 550 SC-001 (BAY0-MC1-F59) Unfortunately, messages from MYSERVERIP weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors.

--- Below this line is a copy of the message.

Return-Path: <myemail@mydomain.com>
Received: (qmail 3402 invoked by uid 0); 7 Mar 2014 15:17:45 -0000
Received: from unknown (HELO MYSERVERIP) (myemail@mydomain.com@MYSERVERIP)
by MYSERVERIP with ESMTPA; 7 Mar 2014 15:17:45 -0000
Date: Fri, 7 Mar 2014 10:17:45 -0500
Return-Path: <myemail@mydomain.com>
To: mymail@hotmail.com
From: MyName <myemail@mydomain.com>
Subject: Password recovery request
Message-ID: <*******@MYSERVERIP>
X-Priority: 3
X-Mailer: PHPMailer 5.2.4 (https://github.com/Synchro/PHPMailer/)
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8

You have recently requested a password recovery on mysite.com
To request a new password for your account visit the following page:
http://mysite.com/?key=**
If you have not requested this email, please ignore it.

The sender email account exist on a VPS.

I checked VPS ip against mail blacklists and its NOT listed except one v4bl.org.

Another message:
Quote:

User and password not set, continuing without authentication.
194.153.145.51 does not like recipient.
Remote host said: 550 5.1.1 <*@abv.bg>: Recipient address rejected: User unknown in virtual mailbox table
Giving up on 194.153.145.51.
Please anyone of You have an idea how can i fix this issue?

TB0ne 03-07-2014 11:51 AM

Quote:

Originally Posted by postcd (Post 5130583)
Hello i have this longterm issue which im unable to solve, i think this is quite simple issue, i hope you may know the cause
It is on CentOS Redhat server with qmail installed.

Full message:
Code:

******SPAM****** te
Connected to **remoteiphere** but sender was rejected.
Remote host said: 550 SC-001 (SNT0-MC3-F45) Unfortunately, messages from **myserverip** weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail...ubleshooting.aspx#errors.

The sender email account exist on a VPS. I checked VPS ip against mail blacklists and its NOT listed except one v4bl.org.
Please anyone of You have an idea how can i fix this issue?

The sender has ZERO to do with this, nor does CentOS or qmail. The message is very clear, and even tells you how to fix it.

You do what it says. You contact your ISP and/or the receiver, and tell them to unblock that domain.

postcd 03-07-2014 11:58 AM

This mail is sent from a Linux VPS which is hosted on my linux server. Server is in OVH.com
Whom i need to contact and what should i tell them? I need to contact live.com?

smallpond 03-07-2014 12:06 PM

Lookup your reverse DNS. If it resolves to your domain name, then you are OK. If it resolves to a generic domain like ckt5127498.shawcable.net, then you aren't going to be able to send mail to lots of places. Blocking residential IP addresses is a good way to reduce spam. In general, residential customers should send mail through their ISP smarthost relay so the IP will be a valid mail sender with correct forward and reverse DNS.

If you have a static IP and correct DNS, then maybe your ISP dumped a bad IP on you that was formerly used by a spammer. In that case there is no guaranteed way to get out of all blocklists as any mail admin is free to block whoever they wish. You should demand a new IP.

TB0ne 03-07-2014 03:47 PM

Quote:

Originally Posted by postcd (Post 5130664)
This mail is sent from a Linux VPS which is hosted on my linux server. Server is in OVH.com
Whom i need to contact and what should i tell them? I need to contact live.com?

You need to contact WHOEVER IT IS ON THE OTHER END. AGAIN, the sending server has NOTHING to do with it; the mail is being rejected by the RECIPIENT. You contact whoever the admins are for the recipient's server, and tell them you've been blacklisted.

The error message is VERY clear.


All times are GMT -5. The time now is 07:10 PM.