How to catch outgoing email when using a SMART_HOST relay
by mfoley from LinuxQuestions.org on (#6M3BW)
Our organization has a website where users can send messages via a Contact Us page.those messages are sent to various recipients. The webserver uses sendmail, but is configures to use the company's Exchange server as the SMART_HOST email relay. Therefore, messages sent from the webpage app (jsp) never route through the local sendmail. I conclude this because I have a bcc-milter which saves a copy of all email to a mail folder and none of the webpape app emails go to this folder.
What can I do to route messages through the local Sendmail server first so Spamassassin can catch and remove the endless stream of messages about Casinos and SEO services?
What can I do to route messages through the local Sendmail server first so Spamassassin can catch and remove the endless stream of messages about Casinos and SEO services?