Added LMTP transport to Dovecot and Exim configs#307
Conversation
|
I had a short check if you do something different.
But I like the idea to add suggestions for configuring dovecot. Possibly this could go to the wiki page too: https://github.com/vexim/vexim2/wiki/Server-configuration:-Dovecot-v2.x |
|
your router is not backwards compatible. I provide it this way: |
|
Another question because I'm not sure we need the 'piped' user in the dovecot sql query. It's on my server too. But do we need it? A 'pipe' account would give the mail to a command and not to a mailbox. So dovecot won't find the file structure. Should 'piped' be removed? |
Makes sense (to me) to have 2 different example files so that way the user can choose which way they want to install it. Dovecot, was just an example. Been running 2.4 since it came out and there's been a fair few upgrades that have never overwritten it.. It also gives a example of what it will look like from a fresh install. Feel free to mod it. |
In my opinion, yes. I disabled it about 10 years ago, allowing users to run unchecked scripts that are triggered via an email is, imo, a gaping hole in a systems security. |
|
OK. I have removed the 'piped' user from the queries on the wiki page. |
| FROM users \ | ||
| WHERE username = '%{original_user}' \ | ||
| AND enabled = 1 \ | ||
| AND type IN ('local', 'piped') |
There was a problem hiding this comment.
You still accept the 'piped' user here and in the 2 sql statements below.
|
VExim2 supports pipe.. We have 0 ways of having an email delivered to a pipe command in our systems but it's supported by VExim. Our views on pipe don't match all other sys-admins views. If Vexim is moving away from supporting pipe then it needs to go but as it stands pipes are supported. But that was taken from our internal mail server, so that is pure laziness in updating the config ;) |
LMTP is a more modern way of delivering mail, these are the configs I use on my system to make that magic work.