Unable to create a dot-lock

Mark Constable <[email protected]>
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
I'm testing ISPConfig and postfix on Ubuntu 13.04 with courier-imap
0.68.2 and seeing this weird error where the senders address is
being used as part of the user home path...

Apr 10 22:55:06 hp maildrop[17807]: Unable to create a dot-lock at
 /var/vmail/[email protected]/goldcoast.org/17807.0.hp.

The above path should be more like...

 /var/vmail/goldcoast.org/markc/17807.0.hp.

so I don't think this is a simple case of incorrect permissions.

I put a script in place of /usr/bin/maildrop...

~ ll /usr/bin/maildrop*
-rwxr-xr-x 1 root root       78 Apr 10 13:07 /usr/bin/maildrop*
-rwsr-xr-x 1 root daemon 196000 Jan 23 23:32 /usr/bin/maildrop.orig*

~ cat /usr/bin/maildrop
#!/bin/sh
(echo $*; id ; env) | logger -p mail.info
/usr/bin/maildrop.orig $*

And the result is below just after the above dot-lock error...

Apr 10 22:55:06 hp logger: -d vmail [email protected] markc goldcoast.org [email protected]
Apr 10 22:55:06 hp logger: uid=5000(vmail) gid=5000(vmail) groups=5000(vmail)
Apr 10 22:55:06 hp logger: MAIL_CONFIG=/etc/postfix
Apr 10 22:55:06 hp logger: PATH=/usr/bin:/bin
Apr 10 22:55:06 hp logger: PWD=/var/spool/postfix
Apr 10 22:55:06 hp logger: LANG=C
Apr 10 22:55:06 hp logger: SHLVL=1
Apr 10 22:55:06 hp logger: _=/usr/bin/env

postfix settings for maildrop are...

./master.cf:maildrop  unix  -       n       n       -       -       pipe
./master.cf:  flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}


I know this list is for the standalone maildrop package but I'm not
100% sure if I should be using courier-maildrop or just maildrop in
this situation. ATM this is with courier-maildrop and postfix 2.10.0.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.