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 firstname.lastname@example.org (using SMTP) to email@example.com, 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?