Skip to content

amavis uid does not match ownership of /var/mail/amavis #1701

@MakerMatrix

Description

@MakerMatrix

I'm enjoying my shiny new mail server. Thank you, it's terrific. I almost went with mailu but quite by accident landed here.
In hindsight that was a great thing.

I was perusing the logs this evening and ran across this:

(cannot update mailbox /var/mail/amavis for user amavis. destination /var/mail/amavis is not owned by recipient)

And, indeed:

root@mail:/var/mail# id amavis
uid=112(amavis) gid=114(amavis) groups=114(amavis),110(clamav)

root@mail:/var/mail# ls -la /var/mail/amavis
-rw------- 1 docker docker 871 Dec 3 03:18 /var/mail/amavis

And from the host side:
-rw------- 1 5000 5000 871 2020-12-02 21:18 amavis

So I chowned it to 112. Not sure what if anything of interest will show up here, but I thought I should report it.

Related: Is there a lightweight curses-based mail client somewhere in the image? I'm thinking along the lines of pine, so I can manage that mailbox locally, and maybe even remote in for shell-based or scripted email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions