This is a rewrite of my original LMTP idea ( #150 ).
I do run this in production for about 2 month now.
As @Udera mentioned it in #233 i'd put the code for a PR together.
Right now config is very simple. Later this could be integrated in the DB, UI,...
Do we want this per domain or per user or a combination?
If 'per user' we could set the user table type-field to 'lmtp' and the smtp field to the socket or command.
Configuration is done in /etc/exim4/conf.d/main/00_vexim_listmacrosdefs
I did some modification of the original vexim routers. (Not to have an additional file like in my first version #150 )
And an additional file for the lmtp transport.
Actually this PR fixes an issue if VEXIM_LOCALPART_SUFFIX is set.
Mails with a To:localpart+suffix... were not handled correctly in the vacation and forward routers.
This is a rewrite of my original LMTP idea ( #150 ). I do run this in production for about 2 month now. As @Udera mentioned it in #233 i'd put the code for a PR together.
Right now config is very simple. Later this could be integrated in the DB, UI,... Do we want this per domain or per user or a combination? If 'per user' we could set the user table type-field to 'lmtp' and the smtp field to the socket or command.
Actually this PR fixes an issue if VEXIM_LOCALPART_SUFFIX is set. Mails with a To:localpart+suffix... were not handled correctly in the vacation and forward routers.