I am using virtual domains, and I'd like to setup the server to alias to custom scripts. I manage all accounts using postfix mappings to mysql.
It seems that postfix automatically appends a virtual domain regardless of how the forwarded/aliased result comes back. So even though i have:
postfix is reading it as:
Is there any work-around, or setting I can fix?
It would seem than
append_at_myorigin=no would be ideal, but that's unsupported according to the documentation.
Another option, maybe I can skip virtual aliases altogether and use the "/etc/postfix/aliases" table - assuming all emails go to the main domain. I'll try this, but if anyone has any other ideas how to make it work with virtual domains, please let me know as this would be very useful!