I am using in my main.cf file for virtual_transport = dovecot. But when i visit in ispconfig the server config page for that server and click on the mail tab and back on another tab, without changing anything or clicking the "save" button, the virtual_transport gets changed to "lmtp:unixrivate/dovecot-lmtp". I assume this is a bug? And how would I be able to set the virtual_transport always automatically to dovecot?
Why would you want to change the ISPC server's default??? It's there (and reset) for a reason! So there's no bug, the system is fixing your error.
@remkoh Why? Different users, different needs. See my need from 2020 ;-) https://forum.howtoforge.com/thread...reaks-x-original-to-header-due-to-lmtp.85580/
For your X-ORIGINAL-TO Header you could just do the following and don't need to worry about anything else. This will work with a default ISPConfig setup. Edit the `smtpd_recipient_restrictions`: Code: smtpd_recipient_restrictions = check_recipient_access regexp:/etc/postfix/kits_ra_xoriginalto ... Then in the file `/etc/postfix/kits_ra_xoriginalto`: Code: /(.+)/ prepend X-Original-To: $1 The name `kits_ra_xoriginalto` can be whatever you want. This setup will just add the original envelop-to address to all incoming mails.