Current time: 05-23-2024, 11:54 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] maildir access problem
Author Message
gagi2 Offline
Junior Member
*

Posts: 30
Joined: Mar 2008
Reputation: 0
Post: #1
Rolleyes [ERLEDIGT] maildir access problem
Ich hab ein Problem (bis vor kurzem hat noch alles gefunzt) mit der Mailzustellung

Logauszug:
Quote:warning: maildir access problem for UID/GID=1002/8: create maildir file /var/mail/virtual/saar-fun-crew.de/disaarster/tmp/1206803630.P4641.static.214.39.46.78.clients.your-server.de: Permission denied
warning: perhaps you need to create the maildirs in advance
die Verzeichnisse existieren aber und die Rechte sollten auch ok sein

das ganze läuft auf einem Root unter Debian Etch, ispcp RC3
und wie gesagt als ich das Teil installierte hat noch alles funktioniert
ist n Rootserver von nem befreundeten COD Clan, und anscheinend ham sie es geschafft den zu killen Rolleyes
(This post was last modified: 03-30-2008 09:36 PM by gagi2.)
03-30-2008 01:32 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: maildir access problem
Wie sehen die Rechte aus in dem Bereich der Festplatte?

ls -la /var/mail/virtual/saar-fun-crew.de/disaarster/

/J
03-30-2008 03:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gagi2 Offline
Junior Member
*

Posts: 30
Joined: Mar 2008
Reputation: 0
Post: #3
RE: maildir access problem
joximu Wrote:Wie sehen die Rechte aus in dem Bereich der Festplatte?

ls -la /var/mail/virtual/saar-fun-crew.de/disaarster/

/J

drwxr-xr-x 5 1002 mail 4,0K 2008-03-29 17:13 .
drwx------ 7 vmail mail 4,0K 2008-03-29 17:13 ..
drwx------ 2 1002 mail 4,0K 2008-03-29 17:13 cur
drwx------ 2 1002 mail 4,0K 2008-03-29 17:13 new
drwx------ 2 1002 mail 4,0K 2008-03-29 17:13 tmp
(This post was last modified: 03-30-2008 03:41 AM by gagi2.)
03-30-2008 03:37 AM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #4
RE: maildir access problem
gagi2 Wrote:drwxr-xr-x 5 1002 mail 4,0K 2008-03-29 17:13 .
drwx------ 7 vmail mail 4,0K 2008-03-29 17:13 ..
drwx------ 2 1002 mail 4,0K 2008-03-29 17:13 cur <<
drwx------ 2 1002 mail 4,0K 2008-03-29 17:13 new <<
drwx------ 2 1002 mail 4,0K 2008-03-29 17:13 tmp <<

The marked folders have to be owned by the vmail user. Seems as if the userid was changed in any way.

So try setting vmail to be the owner of these directories (and of similar mail-directories, they need all the same permissions).

Greetings
FeG
03-30-2008 04:10 AM
Find all posts by this user Quote this message in a reply
gagi2 Offline
Junior Member
*

Posts: 30
Joined: Mar 2008
Reputation: 0
Post: #5
RE: maildir access problem
nachdem ich den acc neu anlege siehts so aus
drwxr-xr-x 5 vmail mail 4,0K 2008-03-03 19:32 .
drwx------ 6 vmail mail 4,0K 2008-03-29 19:11 ..
drwx------ 2 vmail mail 4,0K 2008-03-03 19:32 cur
drwx------ 2 vmail mail 4,0K 2008-03-03 19:32 new
drwx------ 2 vmail mail 4,0K 2008-03-03 19:32 tmp

es besteht ja bei ALLEN mail accs das selbe prob...
anscheinend gibtz da n prob mit dem user VMAIL denn der hat nicht die uid 1002 wie in der logfile angegeben sondern 1000 !!?

frag mich nur wieso das am anfang ging und jetzt nichtmehr...
(This post was last modified: 03-30-2008 04:16 AM by gagi2.)
03-30-2008 04:14 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: maildir access problem
Sieht so aus, als ob der user vmail ne andere uid bekam (warum, weiss ich nicht).

Es reicht insofern, wenn du den ganzen Ordner /var/mail/virtual mit

chown -R vmail:mail /var/mail/virtual

wieder richtig setzt...

Gruss J
03-30-2008 05:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gagi2 Offline
Junior Member
*

Posts: 30
Joined: Mar 2008
Reputation: 0
Post: #7
RE: maildir access problem
hab ich gemacht... funktioniert aber immer noch nicht...
immernoch der selbe fehler...
03-30-2008 06:45 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: maildir access problem
und wie sieht die main.cf von postfix aus? - da gibt's auch was von gid und uid
03-30-2008 07:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gagi2 Offline
Junior Member
*

Posts: 30
Joined: Mar 2008
Reputation: 0
Post: #9
RE: maildir access problem
joximu Wrote:und wie sieht die main.cf von postfix aus? - da gibt's auch was von gid und uid

Quote:virtual_minimum_uid = 1002
virtual_uid_maps = static:1002
virtual_gid_maps = static:8


EDIT: so ich hab jetzt die 1002 auf 1000 angepasst in der main.cf und im moment läuft wieder alles...
darauf wär ich net gekommen auf die schnelle dass das auch in der main.cf nochmal zu finden is o_O
manchmal sieht man eben den wald vor lauter bäumen nicht ^^
Danke erstmal! Smile
(This post was last modified: 03-30-2008 07:38 PM by gagi2.)
03-30-2008 04:26 PM
Find all posts by this user Quote this message in a reply
nowin Offline
Junior Member
*

Posts: 57
Joined: Jul 2010
Reputation: 0
Post: #10
RE: [ERLEDIGT] maildir access problem
Komisch habe das selbe Problem nur der Fehler kommt wieder
chown -R vmail:mail /var/mail/virtual gemacht
virtual_minimum_uid = 1000
virtual_uid_maps = static:1000
virtual_gid_maps = static:8

Postfix restart
Email neu angelegt.
Log sagt wieder warning: maildir access problem
08-18-2010 09:46 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)