This problem has been giving me some headaches for a while now.
I have two servers running in my office, one running Ubuntu Hardy Server Edition, which functions as my web server, as well as a Win2K3 machine that runs Exchange 2003, as well as several access databases.
I have a php based help desk tracking system on the webserver that uses a mail() function to send confirmation messages to registered supporters indicating that a change has been made to a ticket. the linux machine runs sendmail to manage mail transport.
Here is the problem: I need the linux machine to use the exchange server to send the messages. I have tried configuring sendmail to relay through the exchange server, but exchange drops the messages. Previously, this had worked, but the domain of the mail was incorrect. the messages should be coming through as
helpdesk@domain.com, but instead were coming through as "Web Administrator webadmin@webserver" (verbatim, not edited).
How can I get sendmail to send messages properly? I have an account set up in exchange titled
helpdesk@domain.com which I would like sendmail to use for ALL outgoing mail, regardless of the user that created it.
Is this feasible? I'm not particularly attached to sendmail. Actually, I hate it. My server runs webmin if that would make things easier.
Thank you for any help, and I can provide any information you need (so long as it doesn't compromise security)
Thndrchld