p***@gmail.com
2013-12-25 13:18:42 UTC
I have a fully working configuration with no problems at all. This is a new requirement that I cannot figure out how to achieve. The server is behaving exactly as expected based on the configuration that it has.
However, I want mail received via sendmail/postdrop to be sent via a single specific relayhost - this is basically to pass said mail through a spam filtering system.
Mail received via any other method (specifically SMTP) should NOT be sent via the relayhost, but handled by the postfix server according to the existing configuration.
The mail sent to the relay host will ultimately be processed again by the local postfix process having been received via SMTP rather than sendmail/postdrop. Therefore as far as I can tell sender based rules are inappropriate.
I've looked at various ways of tweaking the numerous relay and transport settings, but I can't determine any way to achieve this using postfix configuration. Is this even possible?
Any thoughts / pointers greatly appreciated.
However, I want mail received via sendmail/postdrop to be sent via a single specific relayhost - this is basically to pass said mail through a spam filtering system.
Mail received via any other method (specifically SMTP) should NOT be sent via the relayhost, but handled by the postfix server according to the existing configuration.
The mail sent to the relay host will ultimately be processed again by the local postfix process having been received via SMTP rather than sendmail/postdrop. Therefore as far as I can tell sender based rules are inappropriate.
I've looked at various ways of tweaking the numerous relay and transport settings, but I can't determine any way to achieve this using postfix configuration. Is this even possible?
Any thoughts / pointers greatly appreciated.