I'm in need of a sender dependent relayhost. The config is there in postfix, the fields are there in the mail_domain table, but I have no way to configure it in the panel Unlike this screenshot that I found in another thread this is what I get in the panel The relay fields are missing
The screenshot was as admin so client limits where out of the question. Already searched the server config. Found it in the interface config.
It isn't working for whatever reason Added a domain with relay settings in the panel (with and without local delivery checked, which should not matter for sender dependent relayhost config in postfix). Relay is just skipped completely and messages are send directly to their destination.
Of course not. If it was then the mail would have been delivered locally and not have been sent to the recipient's server in its mx record (instead of to the set relay server).
That's why I asked. Then I don't know why it does not work on your system. I know several users are using it, so it should generally work.
@till Other somewhat related question: Why can't domain relay and advanced mail routing be done simultaniously? It are 2 separate things. Domain relay triggers on the sender address and mail routing triggers on the recipient address. The panel won't let you add a domainname into both. Use case:
This is not domain relay vs. advanced mail routing, it's local server domain vs. routing the email of a domain to an external server. And as the domain relay functions are part of the local domain settings, they affect each other.
It only became a local server domain because that is ispc's only option to do sender based relaying. In the given use case the ispc mailserver isn't used for local delivery for the sender based relayed domains (also why local delivery isn't checked). How would they affect each other?? One is sender and the other is recipient. Only when customers would send mail to each other the priority within postfix what is handled first, sender based relay or recipient based relay, may become an issue. Though not for postfix itself as either way relayed mail is going outbound.