Page 1 of 1

problems with Sendmail and exchange 2007

Posted: 11 Jan 2011, 15:27
by Ryan_Cooper
I have a program that runs on a linux server that needs to send out emails.
i've configured sendmail to use our exchange 2007 server as a smart host and also configured sendmail to masq the sending domain to another domain.

i can send emails from the command line sometimes but when the application is tries to send i get the following errors:

Code: Select all

Jan 11 15:24:21 impcptnag1 sendmail[9309]: p0BDNuGB009309: collect: premature EOM: unexpected close
Jan 11 15:24:21 impcptnag1 sendmail[9309]: p0BDNuGB009309: collect: unexpected close on connection from impcptnag1.xxxxx.co.za, sender=<nagios@impcptnag1.xxxxxxxx.co.za>
note: impcptnag1.xxxxxxxx.co.za is the linux server not the exchange server

can anyone please help me with this?

Re: problems with Sendmail and exchange 2007

Posted: 13 Jan 2011, 09:26
by Ryan_Cooper
Ok I sorted out this problem by removing sendmail and installing postfix which I then Setup for SmartHost Relay with our exchange server