• Resolved jordanwierengo

    (@jordanwierengo)


    I am trying to route email from ubuntu wordpress environment to our Exchange 2010 open relay. I am only looking for email to work internally on our local LAN.

    My first question is do I have to install postfix or sendmail for this to work? My thought was no because I already have an email server. Would wordpress create the email with php mail() and use PHPMailer to pass the email to our open relay Exchange 2010?

    On the Ubuntu server I am able to ping our exchange environment by IP address and hostname. I have added the Ubuntu server IP address on the Exchange side to receive mail from remote server with Anonymous users.

    I know about SMTP plugins, but would rather use php mail().

    Environment:
    Localhost VM in VMWare
    Ubuntu Server 16.04 LTS LAMP
    Multisite WordPress 4.6
    PHP 7.0.8
    Apache 2.4.18

    Thanks for any help in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    WordPress just calls php_mail, which looks for a local MTA. So you need one. In your case you then need to configure it to route mail through your Exchange 2010 (2010? Seriously?) server.

    Thread Starter jordanwierengo

    (@jordanwierengo)

    Thank you! I will proceed with postfix then.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php mail() configuration Exchange 2010 relay’ is closed to new replies.