Postfix2 & Confixx Failed to create /var/mail/.web2p33.p

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
tsaenger
Posts: 414
Joined: 2003-08-13 01:14

Postfix2 & Confixx Failed to create /var/mail/.web2p33.p

Post by tsaenger » 2005-07-15 13:23

Hallo
Ich habe mir gerade das Postfix neu installiert.
Nun habe ich das Problem, dass ich beim Abrufen der Mails folgende Meldung bekomme:
-ERR [SYS/TEMP] Failed to create /var/mail/.web2p33.pop with uid 715, gid 0. Change permissions. [pop_dropcopy.c:1493]

Die Mailbox gehört dem Nutzer web2p33:root das ist doch richtig so oder? und das Verzeichnis mail postfix:root

Gruß

Tobias

flo
RSAC
Posts: 2297
Joined: 2002-07-28 13:02
Location: Berlin

Re: Postfix2 & Confixx Failed to create /var/mail/.web2p

Post by flo » 2005-07-15 13:51

Stimmen denn außer den Inhabern auch die Schreibberechtigungen in dem Verzeichnis?

flo.

tsaenger
Posts: 414
Joined: 2003-08-13 01:14

Re: Postfix2 & Confixx Failed to create /var/mail/.web2p33.p

Post by tsaenger » 2005-07-15 13:54

Also der Mailordner hat:
drwxr-xr-x 16 root root 4.0K 2005-07-15 13:48 mail
Gruß

Tobuas

flo
RSAC
Posts: 2297
Joined: 2002-07-28 13:02
Location: Berlin

Re: Postfix2 & Confixx Failed to create /var/mail/.web2p33.p

Post by flo » 2005-07-15 15:56

chmod g+w, dann müsste es klappen - nur der User "root" darf derzeit darein schreiben, aber im Ã?brigen schon, daß jder andere das Verzeichnis ansehen darf - Da sind Mails drin ...

flo.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11583
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix2 & Confixx Failed to create /var/mail/.web2p33.p

Post by Joe User » 2005-07-15 17:37

Code: Select all

$ ls -alh /var/mail
lrwxrwxrwx  1 root root 15 Jul  8 01:04 /var/mail -> /var/spool/mail
$ ls -alh /var/spool/mail
total 4.0K
drwxrwxr-x  2 root mail 4.0K Jun 27 19:03 .
drwxr-xr-x  5 root root 4.0K Jun 29 12:41 ..
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.