sender dependent relayhosts - not possible?
Posted: 09 May 2017 04:34
Guys,
we need to accomplish to disable spam/virus filtering for a list of domains (FROM, not TO) and use a smarthost for those domains.
Therefore we found the postfix option "sender_dependent_relayhosts", therefore we added it to postfix main.cf:
which works generally BUT still get the mail to be processed as all other mails within mailscanner. any idea how to disable this, it would be nice (but not mandatory) to see those mails in mailwatch but there must not be any rules (spamchecks, viruschecks, etc.) for those mails beeing processed.
best regards!
we need to accomplish to disable spam/virus filtering for a list of domains (FROM, not TO) and use a smarthost for those domains.
Therefore we found the postfix option "sender_dependent_relayhosts", therefore we added it to postfix main.cf:
Code: Select all
sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps
best regards!