Attached to the ticket for this feature is a cleaned up patch (tested to apply cleanly to r1204, without fuzz). Sorry, but the forum will not let me attach new files (is this only me?)
I modified the admin templates so that MX relay can be set from the Admin interface (in addition to the reseller).
To use it add this to /etc/postfix/main.cf
relay_domains = $mydestination,hash:/etc/postfix/ispcp/transport
Still Missing, quoting from kilburn (optional):
kilburn Wrote:-) Just don't allow to set relaying if there are any mail accounts and/or aliases for this domain (this is a gui-only check that shouldn't take much effort).
-) Shouldn't we add "reject_unverified_recipients" to the smtpd_recipient_restrictions in the default postfix config?
Hope you like the mod and can push it mainstream.
ispcomm.