+ Post New Thread
Results 1 to 8 of 8
Enterprise Software Thread, exchange 2007 enable a relay of mail from a specific local IP in Technical; Im trying to setup a relay to allow a web based application on a local webserver send email through our ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199

    exchange 2007 enable a relay of mail from a specific local IP

    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

  2. #2

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    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

  3. #3

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    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?

  4. #4

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    edit: when i try to connect to it via telnet, it gives the error: not allowed to relay

  5. #5

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    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"

  6. Thanks to sukh from:

    RabbieBurns (1st April 2011)

  7. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,808
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    You could try using PHP mailer you can then use the auth against the exchange server?

  8. #7

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Quote Originally Posted by sukh View Post
    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

  9. #8

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Quote Originally Posted by glennda View Post
    You could try using PHP mailer you can then use the auth against the exchange server?
    I dont maintain the webserver

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 10
    Last Post: 20th August 2010, 09:36 AM
  2. Replies: 5
    Last Post: 27th May 2010, 02:20 PM
  3. Exchange 2007 Mail Contacts
    By IGB in forum Windows
    Replies: 19
    Last Post: 1st March 2010, 04:17 PM
  4. Exchange 2003 Mail delivery issues (SMTP Smart Host / Relay)
    By mb2k01 in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 4th November 2009, 11:55 PM
  5. Mail talking to exchange 2007
    By HMCTech in forum Mac
    Replies: 2
    Last Post: 21st July 2009, 08:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •