Skip to content

Remove pipe users, add lmtp, bugfixes#316

Open
runout-at wants to merge 4 commits into
vexim:masterfrom
runout-at:remove_pipe_users_lmtp_bugfix_exim_config
Open

Remove pipe users, add lmtp, bugfixes#316
runout-at wants to merge 4 commits into
vexim:masterfrom
runout-at:remove_pipe_users_lmtp_bugfix_exim_config

Conversation

@runout-at

@runout-at runout-at commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

I couldn't change PR #247 anymore. Thats why I offer a new PR.

This PR would introduce the LMTP transport which is also in PR #307. The difference is that this version let you define in lismacrodefs if you would like to use a socket or a command:

#LMTP_COMMAND = /some/local/lmtp/delivery/program
LMTP_SOCKET = /var/run/dovecot/lmtp

Fallback is a normal delivery if no LMTP SOCKET/COMMAND is defined.

This PR removes pipe user functionality as discussed in PR #300 from the exim router. It seems we don't have the corresponding transport in our files.

I found and fixed a small bug which occurs in some special cases when using addresses with VEXIM_LOCALPART_SUFFIX.

In a query in the virtual_dom_groups router i fixed: use the email address instead of the username. As in veximpy the username might not be the address.

In listmacrodefs I added

CHECK_MIME_LOCAL_ACL_FILE = /etc/exim4/vexim-acl-check-mime.conf

(used in acl/50_exim4-config_check_mime - at least in my debian setup)

remove router for pipe user functionality

introduce LMTP support

bug fix:
using local_part_suffixes enables possibility to use user-"something" localparts which could cause you trouble if you're creating email-adresses with dashes in between.
Add definitions for LMTP
@rimas-kudelis

Copy link
Copy Markdown
Collaborator

Do the three parts in the subject really have to go together in the same PR?

change the default to not use LMTP
@runout-at

Copy link
Copy Markdown
Contributor Author

Do the three parts in the subject really have to go together in the same PR?

not really. but it would be lots of work to separate it. I did just copy my running router config.

@runout-at

Copy link
Copy Markdown
Contributor Author

I did think about splitting this PR but the change for LMTP would need to split out the pipe router from virtual_delivery anyways and and the review work would be more.

The bugfixes are really small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants