[tpop3d-discuss] [freebsd@chef-ingenieur.de: Re: Problems with tpop3d 1.3.4 and mailbox mode]

Chris Elsworth chris at shagged.org
Sun, 9 Sep 2001 14:38:09 +0100


Just after some help with this guy who's having problems with the FreeBSD 
port.. I thought the error he quotes was because it's not running as root, 
but apparently not .. what might be causing it?



----- Forwarded message from "Thomas Krause, CI" <freebsd@chef-ingenieur.de> -----

From: "Thomas Krause, CI" <freebsd@chef-ingenieur.de>
To: Chris Elsworth <chris@shagged.org>
Subject: Re: Problems with tpop3d 1.3.4 and mailbox mode
Date: Sun, 09 Sep 2001 14:24:57 +0200

At 11:22 09.09.2001 +0100, you wrote:
>On Sun, Sep 09, 2001 at 11:22:54AM +0200, Thomas Krause, CI wrote:
> >
> > Hi,
> >
> > I've installed tpop3d from the ports. I'm using standard mailboxes in
> > /var/mail. With tpop3d I'm unable to retrieve mails. In maillog I have:
> >
> > Sep  8 18:12:15 tom-test tpop3d[5993]: dotfile_lock(/var/mail/tom): 
> unable to
> > create hitching post: Permission denied
> >
> > I belive this is a problem with permission of /var/mail. It's working when
> > setting /var/mail to 777, standard is 775.
>
>Are you running tpop3d as root, or in the group that has write access to
>/var/mail ? It's trying to create a $user.lock file in /var/mail and failing
>because it doesn't have permission to do so.

tpop3d is running as root and root has all permissions on /var/mail

# ps -jxc -U root | grep tpop3d
root 39880     1 39879 1011c00    0 S     ??    0:00.02 tpop3d

# ls -ld /var/mail
drwxrwxr-x  2 root  mail  512 Sep  8 18:25 /var/mail

(btw. ipop3d is working here, but I want replace it).

Regards,
Thomas.



----- End forwarded message -----

-- 
Chris Elsworth  -  Software & Systems Developer  /  Systems Administrator