On 26/10/2024 19:17, Benny Pedersen via dovecot wrote:
Nick Howitt via dovecot skrev den 2024-10-26 19:55:
I don't think UID of 0 is a mistake at all? The message was going to root, UID=0, and was not successfully being rewritten so LMTP got the hump. Now it is being rewritten by virtual_alias_maps, the issue has gone away and mail delivery seems to be successful.
if uid 0 is not a problem then you could run whole dovecot server as root, dont blame it have no security then
simply remove all users and keep only root system user left, it works :)
Then how do you have proper users?
its maybe too late to learn ?
Sorry, please explain what I need to learn.
remove webmin, first step on make it better
Sorry, but I don't understand the issue. To me it looks like LMTP was complaining it was trying to send an email to root (UID=0) and was blocking it. Now root is successfully aliased to nick (UID=1000), LMTP delivers the message. The UID=0 was a symptom of a misconfiguration of postfix.