S
S
stavinsky2014-03-27 19:52:03
linux
stavinsky, 2014-03-27 19:52:03

How to solve maildrop problem in ispmanager?

When delivering a letter to a local user, the following error occurs:
Mar 27 17:44:46 loft8103 maildrop[11895]: Home directory owned by wrong user.
How at least to understand where he is trying to put this very mail?
I tried to add a log file parameter to maildroprc, but it seems to start later.
Tell me where to look, please.
PS I know what many people think about ISP manager and support them. But the customer needs him for some reason, and he does not intend to refuse this monster.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Sabynich, 2014-11-17
@vadim_s_sabinich

maildrop stores mail in $HOME/.maildir
or where it is specified in /etc/maildroprc
In ISPmanager, it is configured this way by default.
$HOME - path to the mailbox
/var/www/"user"/data/email/"email-domain"/"email"/.maildir
where

  • "user" - the user who owns the mail domain
  • "email-domain" - Email domain
  • "email" - Mailbox in this domain (part before "@")

the owner of the directory must be a virtual user (virtuser_)
you can see the ratio of the user and the home directory in /etc/passwd
grep "virtuser" /etc/passwd|awk -F: '{print $1 " - " $6}'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question