Error Sending Mail Smtp Server Response 550 5.7.1
that make connections all over the world. Join today Community Community Home Getting Involved Chat Forum SupportInstalling Drupal SMTP server response: 550 5.7.1 Unable to relay - *A Solution* Posted by calderson on August 31, 2005 at 8:31am I just spent the last 3 hours chasing my tail trying to figure out a install problem I was having with Drupal: Symptom When logging into Drupal for the VERY FIRST TIME (read, fresh install), the standard e-mail fails with the following error message: "SMTP server response: 550 5.7.1 Unable to relay.." This causes drupal to provide a temporary password within the same screen (rather than mailing it out) - when you try to navigate away from the screen there are missing menus (specifically the entire admin tree). Anyway, to solve the problem here is what I did to enable SMTP Relaying on my test machine: 1) Go to: start > settings > control panel > Administrative Tools > Internet Information Services 2) Expand the " (local computer)" node 3) Right click on your SMTP server > go to "Properties" 4) Click "Access" tab 5) Under Relay Restrictions, click the "Relay" button 6) Click "Add" 7) Select "Single Computer" and enter IP address 127.0.0.1 8) Hit OK, OK, OK (until the properties dialog is closed) At this point it should work, but just to be extra sure, create a php page called SMTPtest.php and drop in the following code: ---------------- $to = "youremailaddress@domian.com"; $subject = "test from localhost"; $msg = "I completely understand SMTP servers now!"; $headers = "From: localhost@localhost.com\nReply-To: localhost@localhost.com"; $config = "-stfu@noob.com"; mail("$to", "$subject", "$msg", "$headers", "$config"); echo "finished!"; ?> ---------------- Once you have this file, drop it in your drupal root directory, then hit the page with a browser. If you see a "finished!" message, then check your inbox and you should have a test message sent from localhost. If you see anything resembling the relay message again, double-check your steps 1-8 (as described above) and try again. Good luck! Log in or register to post comments Comments Worked. . .once. Axman commented October 14, 2005 at 9:50pm I tried this solution and I was able to have the script send me one email, but the first test user fai
Core Operating System Division. Resolving SMTP error 550 5.7.1 Unable to relay for user@domain.com Error 0x800CCC79 ★★★★★★★★★★★★★★★ John Howard -MSFTOctober 11, 200515 0 0 0 I was struggling with this error message today - everything I had found on the Internet suggested it related to security. Well, it does, of sorts, and a careful look at the configuration of your SMTP server without mis-interpreting a dialog box. If you open the properties for your SMTP server under IIS admin, select the Access Tab, and at the bottom, click "Relay", you will see a https://www.drupal.org/node/30079 check-box at the bottom, which is by default selected, saying "Allow all computers which successfully authenticate to relay, regardless of the list above". In my head-scratching to work out the cause of the error, I had mis-read the message as "Allow all users which succ….". The answer therefore was simple, above that check-box on the relay restrictions tab, there is a options dialog which by default https://blogs.technet.microsoft.com/jhoward/2005/10/11/resolving-smtp-error-550-5-7-1-unable-to-relay-for-userdomain-com-error-0x800ccc79/ Only the list may relay. Simple as adding your server to the list, or selecting All except the list below. The first one is obviously more secure.
Tags Exchange Network Infrastructure Systems Comments (15) Cancel reply Name * Email * Website Anonymous says: October 14, 2016 at 6:01 pm Dear John, Thanks for great tip! I got an other error code when trying to send email from Ubuntu server 12.04 by command lines: postfix/smtp[10700]: 0A083140089: to=, relay=mail.maildomain.com[]:25, delay=0.82, delays=0.08/0/0.63/0.1, dsn=5.7.1, status=bounced (host mail.mydomain.com[] said: 501 5.7.1 … Sender domain must exist (in reply to RCPT TO command)) All information of my email domain (mail.mydomain.com) and email server's IP are correct. Please help to suggest how to solve this error? Reply Anonymous says: October 14, 2016 at 6:01 pm Hello, I too faced SMTP error 550 5.7.1 couple of times but managed to overcome. However gone through an article which discuss about all possible 550 errors related to SMTP.. http://goo.gl/jNtfGI Reply Anonymous says: October 14, 2016 at 6:01 pm Hello, I have the same problem with a single domain name that my users and servers seem to be sharing: the inablility to send to a specific domain. WeIn Register Categories Recent Discussions In this Discussion fr33d0m June 2008 rivta0606 June 2008 osTicket v1.9.12 (stable), osTicket v1.10-RC.2 (Release Candidate) now available! Go http://osticket.com/forum/discussion/884/warning-mail-function-mail-smtp-server-response-550-5-7-1-unable-to-relay-for get it now Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for rivta0606 June 2008 in Troubleshooting and Problems dear all,please help me, i found the problem with my osticket, i try send message to external email for example:xxx@yahoo.com . and the problem if i send the message not send to the [email]xxx@yahoo.com[/email]..so i try sample coding,,and i get the errorWarning: error sending mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [email]xxxx@gmail.com[/email] in \nReply-To: Rival \nSender: Rival ";if(!mail("rivta0606@gmail.com", "Mail test on localhost", "Some text", $strHeaders)) echo "Not sent";else echo "Mail sent";?> please help me Comments fr33d0m June 2008 rivta0606;3431 said:dear all,please help me, i found error sending mail the problem with my osticket, i try send message to external email for example:xxx@yahoo.com . and the problem if i send the message not send to the [email]xxx@yahoo.com[/email]..so i try sample coding,,and i get the errorWarning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [email]xxxx@gmail.com[/email] in \nReply-To: Rival \nSender: Rival ";if(!mail("rivta0606@gmail.com", "Mail test on localhost", "Some text", $strHeaders)) echo "Not sent";else echo "Mail sent";?> please help me If you installed it on Windows OS, you can try this way.Go to IIS, right click on "Defaut SMTP Virtual Server" ==> choose Access tab on new sub-menu ==> click Relay button on "Relay restriction" ==> check "All except the list below" radiobutton and enable "Allow all computers which successfully authenticate to relay, regardless of the list above" checkbox________sc2 replay rivta0606 June 2008 fr33d0m;3432 said:If you installed it on Windows OS, you can try this way.Go to IIS, right click on "Defaut SMTP Virtual Server" ==> choose Access tab on new sub-menu ==> click Relay button on "Relay restriction" ==> chec