Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

maildir problems

0 views
Skip to first unread message

Wietse Venema

unread,
Sep 6, 2003, 8:39:16 PM9/6/03
to
Jeremy May:
> Sep 6 12:00:25 enola postfix/virtual[14770]: 26421A4D9:
> to=<jer...@inetking.net>, relay=virtual, delay=3520, status=deferred
> (maildir delivery failed: create
> /usr/local/virtual/jer...@inetking.net/tmp/1062864025.P14770.enola.inetking.net:
> Permission denied)
>
>
> /usr/local/virtual is set to 770 owned by: postfix:postfix

On order to automatically create the maildir, the RECIPIENT UID or GID
must have write permission.

Wietse

Jeremy May

unread,
Sep 6, 2003, 9:16:18 PM9/6/03
to
it does

i got it set so it will use postfix/postfix for all users (following the
high5.net howto)


--jeremy

> Jeremy May:
>> Sep 6 12:00:25 enola postfix/virtual[14770]: 26421A4D9:

>> to=3D<jer...@inetking.net>, relay=3Dvirtual, delay=3D3520, status=3Dde=
ferred
>> (maildir delivery failed: create
>> /usr/local/virtual/jer...@inetking.net/tmp/1062864025.P14770.enola.ine=

Wietse Venema

unread,
Sep 6, 2003, 9:39:21 PM9/6/03
to
Obviously, the recipient GID has NO write permission.

What is the output from:

ls -ld /usr/local/virtual
grep postfix /etc/group
postconf virtual_gid_maps

Wietse

Jeremy May:


> it does
>
> i got it set so it will use postfix/postfix for all users (following the
> high5.net howto)
>
>
> --jeremy
>
> > Jeremy May:
> >> Sep 6 12:00:25 enola postfix/virtual[14770]: 26421A4D9:

> >> to=<jer...@inetking.net>, relay=virtual, delay=3520, status=deferred
> >> (maildir delivery failed: create
> >> /usr/local/virtual/jer...@inetking.net/tmp/1062864025.P14770.enola.inetking.net:

Victor Duchovni

unread,
Sep 6, 2003, 11:41:24 PM9/6/03
to
On Sat, 6 Sep 2003, Jeremy May wrote:

> it does
>
> i got it set so it will use postfix/postfix for all users (following the
> high5.net howto)
>

The the "howto" is wrong. The postfix uid (and group) should not be used
for access control to anything other than the Postfix queues. Use a
different uid/gid for maildirs.

This does not explain your problem, but it cast the quality of the "howto"
in doubt.

--
Viktor.

crux

unread,
Sep 7, 2003, 5:07:29 AM9/7/03
to
Jeremy May wrote :

>hey all,
>
>need somehelp with a postfix install.
>
>
>here is what i got
>
>
>this exact config works on my debian box just not on my redhat box not
>sure why.
>
>i compiled postfix my self.
>
>i get:


>
>
>Sep 6 12:00:25 enola postfix/virtual[14770]: 26421A4D9:
>to=<jer...@inetking.net>, relay=virtual, delay=3520, status=deferred
>(maildir delivery failed: create
>/usr/local/virtual/jer...@inetking.net/tmp/1062864025.P14770.enola.inetking.net:
>Permission denied)
>
>

When i experimented with Postfix+LDAP on my test machine (Linux Mandrake
9.1), i got such error too.
Postfix was installed from standard rpm of this distro
(postfix-2.0.6-1mdk.i586.rpm). I tested different parameters in
configuration of Postfix and users in LDAP, but problem suddenly
disappeared only when i uninstalled postfix's rpm and compiled postfix
from source (postfix-2.0.10). Postfix's configuration was the same, but
this error vanish into thin air... I thought it was bug of Mandrake's
build of postfix, but it seems problem in a compilation process (may be
its need some 'right' devel-files?)

Keith Matthews

unread,
Sep 7, 2003, 5:43:33 AM9/7/03
to
On Sun, 07 Sep 2003 13:08:15 +0400
crux <cr...@syktsu.ru> wrote:


> >Sep 6 12:00:25 enola postfix/virtual[14770]: 26421A4D9:
> >to=<jer...@inetking.net>, relay=virtual, delay=3520, status=deferred
> >(maildir delivery failed: create
> >/usr/local/virtual/jer...@inetking.net/tmp/1062864025.P14770.enola.i

> >netking.net: Permission denied)


> >
> >
> When i experimented with Postfix+LDAP on my test machine (Linux
> Mandrake 9.1), i got such error too.
> Postfix was installed from standard rpm of this distro
> (postfix-2.0.6-1mdk.i586.rpm). I tested different parameters in
> configuration of Postfix and users in LDAP, but problem suddenly
> disappeared only when i uninstalled postfix's rpm and compiled postfix
>
> from source (postfix-2.0.10). Postfix's configuration was the same,
> but this error vanish into thin air... I thought it was bug of
> Mandrake's build of postfix, but it seems problem in a compilation
> process (may be its need some 'right' devel-files?)
>

This may be a chroot problem. Apparantly the Mandrake rpms install
chrooted as default.

0 new messages