RabbieBurns Posted March 30, 2011 Posted March 30, 2011 Im trying to setup a relay to allow a web based application on a local webserver send email through our exchange server. Ideally I would like it to authenticate first. It needs to be able to send as different people, so that when students reply, the replies go to the respective teacher that generated the email. At the moment the webserver is just sending emails using its own buildin postfix, but I would like them to be going through our exchange.. Im just not sure how to go about it? Cheers
sukh Posted March 31, 2011 Posted March 31, 2011 Hi Rabbie From my experience and best practise, I would recommend you create a new receive connector for relaying. Then I would restrict this connector with specific IP's, I.e those servers you trust to relay. Sukh
RabbieBurns Posted March 31, 2011 Author Posted March 31, 2011 Sukh, Thanks for the reply. Yep, thats what Ive done, created a new recieve connector and restricted it to the single server IP. But it doesnt seem to work. What do I need to set in the authentication and other tabs?
RabbieBurns Posted March 31, 2011 Author Posted March 31, 2011 edit: when i try to connect to it via telnet, it gives the error: not allowed to relay
sukh Posted March 31, 2011 Posted March 31, 2011 There are a few ways to do this. I would select Anonymous users under the permission groups and then run the command below to give the relay right Get-ReceiveConnector "Your Receive Connector Name" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient" 1
glennda Posted March 31, 2011 Posted March 31, 2011 You could try using PHP mailer you can then use the auth against the exchange server?
RabbieBurns Posted April 1, 2011 Author Posted April 1, 2011 There are a few ways to do this. I would select Anonymous users under the permission groups and then run the command below to give the relay right Get-ReceiveConnector "Your Receive Connector Name" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient" worked a treat, thanks
RabbieBurns Posted April 1, 2011 Author Posted April 1, 2011 You could try using PHP mailer you can then use the auth against the exchange server? I dont maintain the webserver
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now