Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

Trying to configure exim4 with office365

Discussion in 'Mail Server' started by raphael75, Apr 17, 2014.

  1. raphael75

    raphael75 Guest

    I am a noob to Linux. We have Debian 7.4 with exim4. I'm trying to configure it to use our office365 as a relay, but I have no idea what to do. This is what the logs show when I send a test message (some parts have been changed to generic terms for security):



    Code:
    2014-04-17 08:51:56 1WalnI-0006xO-Uc <= [email protected] U=test P=test S=325
    2014-04-17 08:52:01 1WalnI-0006xO-Uc TLS error on connection to <ip address> [<ip address>] (recv): A TLS packet with unexpected length was received.
    2014-04-17 08:52:01 1WalnI-0006xO-Uc TLS error on connection to <ip address> [<ip address>] (send): The specified session has been invalidated for some reason.
    2014-04-17 08:52:01 1WalnI-0006xO-Uc ** [email protected] R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=1360: host <ip address> [<ip address>]: 530 5.7.1 Client was not authenticated
    2014-04-17 08:52:02 1WalnO-0006xU-0K <= <> R=1WalnI-0006xO-Uc U=Debian-exim P=local S=1223
    2014-04-17 08:52:02 1WalnI-0006xO-Uc Completed

    It looks like exim4 needs to authenticate, but I don't know how to do that. Please help, thanks!
     
    1 person likes this.
  2. raphael75

    raphael75 Guest

    Unfortunately yes, it's M$ office365 :( Our company recently switched to it & I have to change our Debian webserver to be able to work with it.
     
    #3 raphael75, Apr 17, 2014
    Last edited: Apr 17, 2014
  3. Unfortunately, I lack enough knowledge to answer your question. Good luck.
     
  4. raphael75

    raphael75 Guest

    It doesn't have to use exim4, I can use sendmail or something else. Is there anything I can use with Debian/Apache/PHP to enable our webserver to relay email through office 365?
     
  5. ryanvade

    ryanvade Guest

    1 person likes this.

Share This Page