Take the 2-minute tour ×

I'm currently trying to send emails with the PHPmail class from my domain example.com. Currently only emails to my own address admin@example.com arrives. I have tried to send different headers and bodies to @gmail.com and @hotmail.com with no luck whatsoever..

Currently I'm using MS Exchange, and have the MX set to example-com.mail.protection.outlook.com in the domain DNS. I however been able to get any response other than 501 5.5.4 Unrecognized parameter when testing the service with telnet example-com.mail.protection.outlook.com 25 I have tried to run both postfixand sendmail, but I can't seen to find any configuration tutorials with exchange.

I'm assuming exchange blocks the mails.. Does anyone have any experience with MS exchange and setting a Centos server up to relay emails through it? Could I maybe reconfigure to get a more stable solution?

share|improve this question
add comment

Your Answer



Browse other questions tagged or ask your own question.