This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMC is unable to relay

Hello everybody here at this board!

I'm new here and with the Sophos Mobile Control. Our SMC should be configured to use it with iPhones. With an activated SIM-card there are no problems, but the hugh amount of the phones must be configured witch inactivated SIM-cards over the push function by SMTP. And here is the problem, that the SMC say in log-files 

SMTPAddressFailedException: 550 5.7.1 Unable to relay

But I don't where the problem is. A mail account on the phones is set up and receive normal mails. In the Sophos Configuration Wizards is the test mail send correctly - so the connection to the exchange server is established. But when I go to the device inventory and press the icon to deploy mobile phone or send an order packet it came to error -7 for this order and in the log is the error from above.

Thank you for your help

Best regards,
Jan

:47940


This thread was automatically locked due to age.
  • Hi jkalten.

    What mail server are you using?

    Are you using SMTP authentication?

    What is the 'originator' address being used in the 'Provisioning via email' settings page?  Is it an existing mailbox that perhaps your mail server is expecting you to authenticate as?  Is it a non-existent address that the SMTP server is rejecting?

    Try setting the originator to the same address that the SMTP test came from.

    Make sure you have specified the email address after creating the device and enter 0 for the telephone number.  If you're using an external directory, SMC does not automatically pull the email address in over LDAP.

    :48036
  • Hi JamieEvans,

    thank you for your answer.

    I'm using an Exchange Server 2007 without SMTP authentication. The receive connectors are set to relay anonymous requests.

    The originator address for the provisioning is ****@outlook.de from Microsoft. This is configured in the mail app from Apple and I can receive normal emails. Therefore, there is no problem with the iPhone.

    I've tested the outlook.de-address in the configuration wizard and behold "Error while testin SMTP: could not send mail: Invalid Addesses. Therefore, there is no problem with the SMC too.

    But where is the problem for the exchange? What are the needs for the SMC on the exchanges site?

    :48086
  • Hi Jan,

    sorry, for the late response.
    I did a short test in my test environment and was able to reproduce the error by disabling the "Anonymous users" in the "Permissions Group" tab of my default Exchange Receive Connector.

    You mentioned that the test email was sent correctly before. Were there any changes performed after the initial setup of SMC? How was the SMTP setting configured before within SMC?

    The root cause is obviously somewhere between your Exchange and the SMC server. Maybe you can check the settings of the exchange again? Is it possible, that the SMC server is not allowed anymore to connect to the Exchange server?

    What do you enter exactly as Originator address in the SMC setup? You should use an address belonging to your company, e.g. smc@company.com which exists on the mail server.

    Best regards

    Stefan

    :48428
  • Hi,

    I am trying to use my company's email address (hosted on Gmail) for SMTP server in SMC.

    However, I am getting the below error :

    2014-05-12 22:29:42,091 ERROR [EJB-Timer-1399897938470[target=jboss.j2ee:jndiName=ejb/Scheduler,service=EJB] smartman.smartMailer.Mailer] could not send mail: 530 5.7.0 Must issue a STARTTLS command first. nv7sm6361895pbc.68 - gsmtp

    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. nv7sm6361895pbc.68 - gsmtp

                    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)

                    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580)

                    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097)

    Details :

    SMTP host : smtp.gmail.com

    SMTP User & Password : email address and password of the email address to be used.

    Please look into the same.

    Regards,

    Suketu Mehta

    :49794