You are here » Home Page » Articles » Different SMTP relays in postfix based on regular expressions Use Case: Choosing SMTP routes based on the email subject So I had this particular situation where a site sends lots of emails to its registered users, and some of those emails go directly to the Spam folder of hotmail, yahoo, or gmail, for various reasons. This was acceptable for the majority