OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: (no subject)
From: Lukas Efler (lukasefler.net)
Date: Mon Feb 28 2000 - 09:26:43 CST


obviosly my first post contained far too little info about my setup, so i'm repo

sting with all i know and think is relevant.
(see quote below for original post/problem)

The system is a standard, up to date debian 2.1 (stable). i downloaded and compi

led postfix beta 19991231 patchlevel 04, all settings were taken as INSTALL.sh
p
roposed as default( system root, binary location, don't setgid etc.)
mail directory is /var/spool/mail with the directory mail having perms drwxr-sr-

x , owner root and group mail.
the postfix installation is absolutely basic, in main.cf i just set myhostname
=
 <fully.qualified.domainname>, mydomain = <domain.name>, myorigin = $mydomain
an
d mydestination = $myhostname, localhost.$mydomain, $mydomain.
nothing more, the rest is all default settings, running as user postfix.
postfix is also the local delivery agent.

the mailfile /var/spool/mail/<username> is created (by postfix, i assume) with
p
ermissions 600, don't know whether this is ok, debian afaik is using groups
in a
 strange way, each user also has his own group and everything is setgid'ed...

what troubles me is that it doesn't seem to be a permission problem (see post
be
low, i can access the mailbox like it should be when giving the whole path).
i'm
 not even sure it's a postfix problem, it's just that it wasn't there before...

i hope this time it's enough info for someone to give me a hint :-)

thx
lukas

>Hi
>I compiled and installed postfix on my debian 2.1 linux box. it's
>working fine except when i get a mail in the inbox and try to read it,
>mutt opens it read only. when i use mail, i can see the messages but not
>delete it, it says "Unable to lock mailbox: Permission denied".
>I checked all permissions and everything and it looks all right. when i
>do the same thing with the same unprivileged user but explicitly give
>the mailbox via "mail -f /var/spool/mail/<username>" then it's ok and i
>have write permission...
>any ideas?
>
>many thanks
>
>Lukas Efler