Tuesday, October 9, 2012

HowTo : Configure DPM to use an SMTP server that does not require authentication

To use a SMTP server that does not require authentication to send DPM notifications you have to follow these steps: (works on DPM2010 & DPM 2012)

First you should verify that your DPM server is allowed to relay on your SMTP server.

If you are using Microsoft IIS, you will find this security settings in IIS MMC  by right-clicking SMTP virtual Server then Properties. Select Access tab / Relay restriction  / Relay. Check box Only the list below , then click Add and provide IP, Subnet or Domain Name.

In the DPM Administrator Console go to the Monitoring tab / Options / SMTP Server and fill in SMTP settings according to your environment:
  • SMTP server name: YourSMTPServer
  • SMTP Server Port: 25
  • From Address: Address of the sender

Important: You must also fill in Authenticated SMTP server fields.

Why ? Because DPM requires ALL the fields under the SMTP Server options to be filled in regardless if your SMTP server accepts anonymous connections or not.  if your SMTP server does not require authentication the credentials are useless, it's just that GUI is expecting all fields to be filled in.

The GUI could have been more precise or at least a mouse over option might help. Technet article is also a little bit unclear... http://technet.microsoft.com/en-us/library/hh758196.aspx :)


If you click on Send Test E-mail without filling in Username or Password, you will receive the following error: ID: 2013 Details: Logon Failure: unknown user name or bad password.

If you fill in a Username and Password of a local DPM account (No administrative rights) and try to send a Test E-mail again :



DPM will ask you to provide the e-mail address to sent the test message: 



Then after clicking on Send button.

You will receive a new message: An E-mail message has been successfully sent to ...



Good job, finally open your mailbox and verify that you receive the test message.

10 comments:

  1. Hi,

    If I wish to use Gmail as an Outgoing SMTP in this case, is it possible?

    I was thinking to fill in the field as per below.
    SMTP server name: smtp.gmail.com
    SMTP server port: 587
    From address: XXX@gmail.com

    Username: XXX@gmai.com
    Password: .....

    Thank you in advance.

    ReplyDelete
    Replies
    1. Thanks for your thoughts. It was helpful cause now i learned exactly hot to configure dpm for smpt server. I think you shoud post this information on Instagram where a large amount of users could see it and don`t forget to use the help of https://viplikes.net/ to quickly boost the number of likes.

      Delete
  2. Hi Jack,
    You should make a try. But I don't think google will let you use his SMTP has "open relay". :)

    ReplyDelete
  3. Google requires a TLS connection so no you cannot use gmail to send notifications.

    ReplyDelete
  4. Thanks for sharing blog regarding SMTP. I agree with the Ben as you don’t have TLS connection so you are not able to use Gmail to send notifications.

    SMTP Services

    ReplyDelete
  5. You can configure local SMTP server (IIS) to relay to google, set the authenticaton there, then set your DPM to use itselft as SMTP server. That will do it.

    ReplyDelete
  6. It's the Management not the Monitoring section

    ReplyDelete
  7. Benefits of an SMTP server
    http://smtpimap.email/

    ReplyDelete
  8. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
    Reverse Engineering Services in Delhi
    3D Laser Scanning Services

    ReplyDelete