When Sending Mail To New Server, 550 Relay Not Permitted Is Returned. Simple Fix?
Mar 15, 2006
I've been working on this for some time now, but I'm not sure on how the settings were transfered over to this server. I wish I was there when it was done.
Anyways, we got a new server and we transfered all the accounts to the new one. The old one is gone. When people send emails to their email accounts on the server, this is returned:
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
admin@crewxp.com
Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 550 relay not permitted ....
So basically it due to the MX change, it looks like it sees any incoming email (addressed to local domain) as relaying.
< gateway4.lastspam.com #5.1.1 SMTP; 550-gateway4.lastspam.com [209.172.54.237]:36995 is currently not permitted to relay>
EXIM errors:
2007-05-19 09:39:32 H=gateway4.lastspam.com [209.172.54.237]:37074 I=[xxx.xxx.67.88]:25 F=<eslight@domain.com> rejected RCPT <test@xtdv.com>: gateway4.lastspam.com [209.172.54.237]:37074 is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.
So right now I'm getting lots of emails going out to a bunch of random email address with the message:
"Undelivered Mail Returned to Sender"
I have all accounts set to "Reject" and not send a reply to messages to undeliverables. The other thing is that these emails are being sent from "MAILER-DAEMON@rack.stnhost.com (Mail Delivery System)" Which is my server. So how do I stop this and why is it doing it.
I had this issue some minutes ago, i was trying to send a large email list using outlook, the email client didn't show any errors and delivered everything ok.. but mails never go out of the box... so I decided to search the logs and found this:
Code: 2007-08-15 14:07:41 H=xx.xx.xx.xx.dynamicip.rima-tde.net (info@mywebsite.com) [xx.xx.xx.xx] F=<info@mywebsite.com> rejected RCPT <micheltoria@libero.it>: xx.xx.xx.xx.dynamicip.rima-tde.net (info@mywebsite.com) [xx.xx.xx.xx] is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client. 2007-08-15 14:07:42 unexpected disconnection while reading SMTP command from xx.xx.xx.xx.dynamicip.rima-tde.net (info@mywebsite.com) [xx.xx.xx.xx] Authentication required was active at the email account configuration, everything was well configured.. it was a server wide error.
Searching over the net i found this solution: ran /scripts/mailperm and after that I added "127.0.0.1" to /etc/relayhosts list, restarted Exim and the problem was resolved, all mails were delivered OK.
My question is, what is the function of /etc/relayhosts, /scripts/mailperm (fixing mailbox permissions?) and /etc/localdomains ? Is it OK to have 127.0.0.1 in /etc/relayhosts list?
I'm problem with crone sender email. I changed the version of the panel from 11.5 to 12. After start the corne and sehedule task in one of users I recived email. The crone task starts from email.
For this example, I replaced the user name in Plesk Panel, which is assigned cron jobs on “support”.
This is the mail system at host servername.domainname.
I'm sorry to have to inform you that message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<-f@domainname> (expanded from <-f>): bad address syntax <support@domainname>: Host or domain name not found. Name service error for name=support.domainnametype=AAAA: Host not found
I have Plesk 12 on CentOS 7. I have only MSMTP installed not Postfix or Qmail. No matter what settings I use in the external SMTP settings the mail is never sent and I cannot find any error logs.
I have tried gmail smtp, sendgrid smtp and another smtp server that I own.
This is not a firewall issue as far as I can tell since if I install postfix it just works. Also any Wordpress or Joomla installs that use SMTP settings with gmail or sendgrid work just fine.
Screenshot for information only. I used accurate usernames, passwords, etc.
↑
Quick update. I tried the recommended CentOS 7 with the same result. Can installing Plesk 12 without a mail server and using the msmtp relay option actually works?Click to expand...
I'm running Apache 2.4.7 on a RHEL 6.4 server. I'm using the Oracle WebLogic Proxy Plugin ver 12.c to connect to a back end server.What's happening is that Apache answers URL.. and proxies the request via the WebLogic Proxy Plugin to internal.blah.com. Unfortunately, the downstream system encounters a problem and issues an http 302 redirect to internal.blah.com/whathappened. I would like to have Apache intercept this http 302 and redirect the client to URL...
Of course, you need to past your own real values here. Then you need to launch this script every minute since the server restarted and follow the logs of what is happening there.
2) As we see you are using Microsoft FTP Service. The most probable reason for this is the issue with windows mail function - either the service itself is not reliable or it is just set incorrectly. Our administrator says that the issue with mail sending on this server happens quite often. So you can try to google the problem with the queue of windows mail function, for sure there must be some more advice as to how to resolve this.
It is possible that there is set a restriction on the order of the sending mail so when the queue is full, the mail stops sending.
Anyway that's all that we can advise you on this case because if the notification is sent at all then it means this function is working in our shopping cart and the issue is with something else.
i have problem in my server from 2 weeks ago server stop sending mail to yahoo and hotmail but to gmail send good without any problem i make SPF and add it for all domains after that mail worked Good in 1 day after that the problem come again
I know how to do this by analysing the headers, but we have a customers who doesn't believe what we are telling them.
Is there some kind of 3rd party service or script that we can point them to? So they can send an email to the service (or paste headers, or whatever) and it tells them who is the sending mail server hostname/ip?
(The problem is that this customer doesn't understand that all email sent from the server uses the same SMTP server hostname/ip. They are convinced that if they connect to "mail.their domain.com" then this is what is reported as the sending mail server/IP.)