Exemples permissions /var/lib/postfix

Salut je suis en galére de postfix et j’essaye de résoudre mes problèmes de UID ET GID

viewtopic.php?f=3&t=28918

A toute personne utilisant postfix sur sa Debian, pouvez vous me montrer le contenu de vos commandes

ls -al /var
ls -al /var/lib
ls -al /var/lib/postfix

je vous en suis énormément reconnaissant

Salut,
Lenny, installation toute fraîche, pas encore trop de bidouilles…
Postfix + Mysql + Amavisd-new + Dovecot + Imapproxy + Spamassassin & Clamav

[quote]# ls -al /var
total 80
drwxr-xr-x 17 root root 4096 jui 23 16:47 .
drwxr-xr-x 21 root root 4096 jui 20 18:38 …
drwxr-xr-x 2 root root 4096 jui 24 06:25 backups
drwxr-xr-x 16 root root 4096 jui 22 19:19 cache
drwxr-xr-x 51 root root 4096 jui 26 10:25 lib
drwxrwsr-x 3 root staff 4096 jui 21 08:23 local
drwxrwxrwt 3 root root 4096 jui 26 06:00 lock
drwxr-xr-x 11 root root 4096 jui 26 06:25 log
drwx------ 2 root root 16384 jui 20 17:06 lost+found
drwxrwsr-x 2 root mail 4096 jui 20 17:09 mail
drwxr-xr-x 2 root root 4096 jui 20 17:09 opt
drwxr-xr-x 15 root root 4096 jui 26 11:57 run
drwxr-xr-x 6 root root 4096 jui 21 07:43 spool
drwxrwxrwt 2 root root 4096 jui 21 14:39 tmp
drwxr-xr-x 9 www-data www-data 4096 jui 23 16:47 www
[/quote]

[quote]# ls -al /var/lib
total 204
drwxr-xr-x 51 root root 4096 jui 26 10:25 .
drwxr-xr-x 17 root root 4096 jui 23 16:47 …
drwxr-xr-x 2 root root 4096 jui 20 21:39 acpi-support
drwxr-xr-x 7 amavis amavis 4096 jui 26 06:00 amavis
drwxr-xr-x 4 root root 4096 jui 26 10:25 apt
drwxr-xr-x 2 root root 4096 jui 22 19:19 aptitude
drwxr-xr-x 2 root root 4096 jui 21 07:35 apt-listbugs
drwxr-xr-x 2 root root 4096 jui 20 17:24 aspell
drwxr-x— 2 www-data www-data 4096 jui 26 17:07 awstats
drwxrwxr-x 2 root bind 4096 jui 25 22:09 bind
drwxr-xr-x 2 clamav clamav 4096 jui 26 16:25 clamav
drwxr-xr-x 2 root root 4096 jui 20 18:41 dbus
drwxr-xr-x 2 root root 4096 jui 20 18:52 deborphan
drwxr-xr-x 9 root root 4096 jui 20 19:50 defoma
drwxr-xr-x 2 root root 4096 jui 20 17:10 dhcp3
drwxr-xr-x 5 root root 4096 jui 20 17:24 dictionaries-common
drwxr-xr-x 5 root root 4096 jui 20 19:08 doc-base
drwxr-x— 2 root root 4096 jui 20 18:47 dovecot
drwxr-xr-x 7 root root 4096 jui 26 10:25 dpkg
drwxr-xr-x 2 root root 4096 jui 20 18:03 exim4
drwx------ 2 fetchmail nogroup 4096 jui 20 19:26 fetchmail
drwxr-xr-x 4 root root 4096 jui 20 18:41 gconf
drwxr-xr-x 2 root root 4096 jan 8 2009 hal
drwxr-xr-x 3 root root 4096 jui 20 19:26 imapproxy
drwxr-xr-x 2 root root 4096 jui 20 17:22 initramfs-tools
drwxr-xr-x 2 root root 4096 aoû 12 2008 initscripts
drwxrwsr-x 2 libuuid libuuid 4096 jui 20 17:09 libuuid
drwxr-xr-x 2 root root 4096 jui 21 06:25 logrotate
drwxr-xr-x 2 root root 4096 déc 4 2008 misc
drwxr-xr-x 2 root root 4096 jui 26 06:25 mlocate
drwxr-xr-x 7 mysql mysql 4096 jui 26 06:00 mysql
drwxr-xr-x 2 root root 4096 jun 5 20:44 mysql-cluster
drwxr-xr-x 6 statd root 4096 jui 26 06:01 nfs
drwx-wx-wt 2 root root 4096 jui 26 17:09 php5
drwxr-xr-x 2 root root 4096 jui 21 09:46 phpmyadmin
drwxr-xr-x 2 postfix postfix 4096 jui 20 18:56 postfix
drwx------ 2 postgrey postgrey 4096 jui 26 06:01 postgrey
drwxr-xr-x 3 root root 4096 jui 22 19:19 python-support
drwxr-xr-x 43 root root 4096 jui 20 18:52 scrollkeeper
drwxr-xr-x 2 root root 4096 jui 20 18:52 sgml-base
drwxr-xr-x 2 root root 4096 déc 16 2008 snmp
drwxr-xr-x 2 root root 4096 fév 1 2009 synaptic
drwxr-xr-x 5 root root 4096 jui 20 19:08 tex-common
drwxr-xr-x 5 root root 4096 jui 20 19:09 texmf
drwxr-xr-x 3 root root 4096 jui 20 21:21 ucf
drwxr-xr-x 2 root root 4096 jui 26 06:00 urandom
drwxr-xr-x 2 root root 4096 jui 20 17:21 usbutils
drwxr-xr-x 3 root root 4096 jui 20 17:10 vim
drwxr-xr-x 2 root root 4096 jui 20 19:02 x11
drwxr-xr-x 2 root root 4096 mai 9 2008 xkb
drwxr-xr-x 2 root root 4096 jui 20 18:52 xml-core[/quote]

[quote]# ls -al /var/lib/postfix
total 36
drwxr-xr-x 2 postfix postfix 4096 jui 20 18:56 .
drwxr-xr-x 51 root root 4096 jui 26 10:25 …
-rw------- 1 postfix postfix 17 jui 26 06:01 master.lock
-rw------- 1 postfix postfix 1024 jui 26 16:46 prng_exch
-rw------- 1 postfix postfix 12288 jui 26 16:31 smtpd_scache.db
-rw------- 1 postfix postfix 8192 jui 26 09:23 smtp_scache.db[/quote]

merci beaucoup, je bosse dessus et si je trouve le solution, j vous dis tout !

je t’embête une dernier fois lol :017
peux tu me montrer le résultat de tes commandes :

ls -al /var/spool
ls -al /var/spool/postfix

merci beaucoup :023

Re,
Pas de problèmes, j’ai déjà au des soucis dans ce genre, et c’est bien galère…

lol:~# ls -al /var/spool total 24 drwxr-xr-x 6 root root 4096 jui 21 07:43 . drwxr-xr-x 17 root root 4096 jui 23 16:47 .. drwxr-xr-x 5 root root 4096 jui 20 17:23 cron drwxr-xr-x 3 root root 4096 jui 20 18:41 cups drwxr-x--- 5 Debian-exim Debian-exim 4096 jui 20 18:20 exim4 lrwxrwxrwx 1 root root 7 jui 20 17:09 mail -> ../mail drwxr-xr-x 20 root root 4096 jui 20 18:20 postfix lol:~# ls -al /var/spool/postfix total 92 drwxr-xr-x 20 root root 4096 jui 20 18:20 . drwxr-xr-x 6 root root 4096 jui 21 07:43 .. drwx------ 2 postfix root 16384 jui 26 18:08 active drwx------ 2 postfix root 4096 jui 24 09:42 bounce drwx------ 2 postfix root 4096 jui 20 18:20 corrupt drwx------ 18 postfix root 4096 jui 21 17:06 defer drwx------ 18 postfix root 4096 jui 21 17:06 deferred drwxr-xr-x 2 root root 4096 jui 26 06:25 dev drwxr-xr-x 3 root root 4096 jui 26 17:18 etc drwx------ 2 postfix root 4096 jui 21 14:48 flush drwx------ 2 postfix root 4096 jui 20 18:20 hold drwx------ 2 postfix root 4096 jui 26 18:08 incoming drwxr-xr-x 2 root root 4096 jui 26 17:18 lib drwx-wx--T 2 postfix postdrop 4096 jui 26 18:08 maildrop drwxr-xr-x 2 postfix root 4096 jui 24 10:50 pid drwx------ 2 postfix root 4096 jui 26 17:18 private drwx--s--- 2 postfix postdrop 4096 jui 26 17:18 public drwx------ 2 postfix root 4096 jui 20 18:20 saved drwx------ 2 postfix root 4096 jui 20 18:20 trace drwxr-xr-x 3 root root 4096 jui 20 18:20 usr

je viens de tout vérifier un par un, j’ai effectivement fais quelques modifs mais j’ai toujours cette saleté de message d’erreur,
en tout cas je te remercie pour ton aide lol, je retourne au message initial pour pas faire de doublon…
Encore merci :041