We are running an outbound SPAM filter, and we'd like to be able to have the mail sent through that filter, even when it's to a local user. Is there a way to force sendmail to use the SMART_HOST, even when it is going to be delivered locally?
Here's what I want. My host is example.com. If I send an email from email@example.com (using SMTP) to firstname.lastname@example.org, I want the email to go from mail.example.com to outbound.example.com to inbound.example.com, then back to mail.example.com. Is this possible without creating an endless loop?