I'm trying to accomplish the following:I'm trying to filter e-mail based on the to: field using a regexp header_checks file as follows:
/^To: some...@somedomain.com/ FILTER smtp:192.xxx.xxx.xxxI thought with the above expression it would take the e-mail and deliver to the 192.xxx.xxx.xxx address via port 25. Instead looking at the logs, postfix does an MX record lookup for the domain and of course it fails and comes back that no MX record exits (since it doesn't exist). I could simply add an MX record but the ultimate result is for me to be able to route e-mail based on the to: field to several different servers. Is this possible?
Thanks in advance
smime.p7s
Description: S/MIME Cryptographic Signature