Bonjour, Malgré le délais, le sujet était toujours dans mes préoccupations, merci Frédéric de ta réponse. Me concernant, c'est, je pense le meme cas de figure que toi ls -al /var/spool/clientmqueue/" drwxrwx--- 2 mail mail 176 Jan 4 00:25 . drwxr-xr-x 18 root root 464 Jun 2 2009 .. -rw------- 1 mail mail 54 Dec 10 20:59 sm-client.pid -rw-rw---- 1 root mail 1448 Jan 4 00:25 sm-client.st et: root 22188 0.0 0.2 51228 2396 ? Ss 2009 3:43 sendmail: accepting connections mail 22193 0.0 0.1 40400 1336 ? Ss 2009 0:00 sendmail: Queue control mail 22194 0.0 1.6 53692 13388 ? S 2009 0:02 sendmail: running queue: /var/spool/clientmqueue on est bien en utilisateur "mail" et pourtant rien n'y fait. Jan 4 14:00:01 smtp sendmail[12209]: NOQUEUE: SYSERR(mail): can not chdir(/var/spool/mqueue/): Permission denied Jan 4 14:25:01 smtp sendmail[15715]: NOQUEUE: SYSERR(mail): can not chdir(/var/spool/mqueue/): Permission denied Jan 4 14:50:01 smtp sendmail[18984]: NOQUEUE: SYSERR(mail): can not chdir(/var/spool/mqueue/): Permission denied Jan 4 15:00:01 smtp sendmail[20312]: NOQUEUE: SYSERR(mail): can not chdir(/var/spool/mqueue/): Permission denied Le Tuesday 15 December 2009 00:53:11 Frederic Gautier, vous avez écrit :
Le Jeu 10 décembre 2009 21:33, Laurent HENRY a écrit :
Bonjour,
Bonjour Laurent,
Je constate une erreur sous sendmail (sur opensuse 11.0)
Dans les logs sendmail, je vois: Dec 10 16:50:01 smtp2 sendmail[27737]: NOQUEUE: SYSERR(mail): can not chdir(/var/spool/mqueue/): Permission denied Dec 10 17:00:01 smtp2 sendmail[28680]: NOQUEUE: SYSERR(mail): can not chdir(/var/spool/mqueue/): Permission denied
Humm, un problème de permissions.
les permissions du répertoire sont: var/spool/clientmqueue # l total 16 drwxrwx--- 2 mail mail 176 déc. 10 20:59 ./ drwxr-xr-x 18 root root 464 juin 2 2009 ../
Pareil... avec opensuse 11.1. Et je reçois des mails...
fred@testsuse:~> su - -c "ls -al /var/spool/clientmqueue/" Mot de passe : total 16 drwxrwx--- 2 mail mail 4096 Dec 15 00:30 . drwxr-xr-x 14 root root 4096 Dec 14 23:42 .. -rw------- 1 mail mail 53 Dec 15 00:30 sm-client.pid -rw-rw---- 1 root mail 1448 Dec 15 00:30 sm-client.st
En parcourant divers forums, il est question de mettre le répertoire en chmod 777 ou autre.
Mouais, pas une bonne idée.
Question, qui lance sendmail-client sur ton serveur? mail ?
fred@testsuse:~> ps aux | grep send root 7089 0.0 0.1 65388 2460 ? Ss 00:30 0:00 sendmail: accepting connections mail 7100 0.0 0.0 34548 1704 ? Ss 00:30 0:00 sendmail: Queue control mail 7101 0.0 0.1 34760 2256 ? S 00:30 0:00 sendmail: running queue: /var/spool/clientmqueue
humm, il y a des choses intéressantes dans /etc/sysconfig/sendmail : ## Type: string ## Default: "-L sendmail-client -Ac -qp1m" # # with what parameters should sendmail _client_ be started? # This is used to start the sendmail client daemon which runs as user # mail and look at /var/spool/clientmqueue/ for any mail which should # put to port 25 (smtp port) of localhost on which the master sendmail # is listen. # "-Ac" will force sendmail to use submit.cf. "-qp1m" will look every # minute with the help of a persistent child for the queue to deliver # mails to the port 25 of localhost where master sendmail daemon is listen. # Note: to ensure that local mails will be delivered as fast as possible # the full qualified host name should be part of SENDMAIL_LOCALHOST. # SENDMAIL_CLIENT_ARGS="-L sendmail-client -Ac -qp1m"
A plus Fred
-- Nop
-- To unsubscribe, e-mail: opensuse-fr+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-fr+help@opensuse.org