Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/04/2008, à 18:57

Samuel222222

Problème d'e-mail

Salut !

J'ai tenté d'installer sendmail. Voyant la difficulté, je me suis rabattu sur ssmtp. Tout fonctionne.
Problème : mon PC (sous debian) me harcèle de mail disant :

/usr/share/sendmail/sendmail: line 826: /usr/sbin/sendmail-msp: Aucun fichier ou répertoire de ce type

Pouvez-vous m'indiquer comment le faire taire ?

Merci

#2 Le 25/04/2008, à 09:55

freko

Re : Problème d'e-mail

Salut,
Peux tu nous poster le résultat de la commande

ls -al /usr/share/sendmail

et

ls -al /usr/sbin/


Inscrit sur http://parrains.linux.free.fr/
Site web : http://frekoland.free.fr
"La connaissance est la seule chose qui s'accroit lorsqu'on la partage"..
www.google.fr/linux

Hors ligne

#3 Le 25/04/2008, à 10:44

Samuel222222

Re : Problème d'e-mail

total 312
drwxr-xr-x  4 root root  4096 2008-04-22 21:19 .
drwxr-xr-x 70 root root  4096 2008-04-22 23:09 ..
-rwxr-xr-x  1 root root  6025 2006-12-09 05:22 buildvirtuser
drwxr-xr-x 12 root root  4096 2008-04-22 21:19 cf
-rwxr-xr-x  1 root root  6295 2006-12-09 05:22 doublebounce.pl
-rwxr-xr-x  1 root root  7418 2006-12-09 05:22 dynamic
drwxr-xr-x 14 root root  4096 2008-04-22 21:19 examples
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 hoststat -> sendmail
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 mailq -> sendmail
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 mailstats -> sendmail
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 newaliases -> sendmail
-rwxr-xr-x  1 root root 29738 2006-12-09 05:22 Parse_conf.pm
-rwxr-xr-x  1 root root  2839 2006-12-09 05:22 parse_mc
-rwxr-xr-x  1 root root 32259 2006-12-09 05:22 Parse_mc.pm
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 purgestat -> sendmail
-rwxr-xr-x  1 root root 24398 2006-12-09 05:22 qtool.pl
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 runq -> sendmail
-rwxr-xr-x  1 root root 30263 2006-12-09 05:22 sendmail
-rwxr-xr-x  1 root root  7523 2006-12-09 05:22 smcontrol.pl
lrwxrwxrwx  1 root root     8 2008-04-22 21:19 status -> sendmail
-rwxr-xr-x  1 root root 10164 2006-12-09 05:22 update_auth
-rwxr-xr-x  1 root root  8030 2006-12-09 05:22 update_authm4
-rwxr-xr-x  1 root root 14274 2006-12-09 05:22 update_conf
-rwxr-xr-x  1 root root 15562 2006-12-09 05:22 update_db
-rwxr-xr-x  1 root root  3565 2006-12-09 05:22 update_ldap
-rwxr-xr-x  1 root root 10663 2006-12-09 05:22 update_mc
-rwxr-xr-x  1 root root 21237 2006-12-09 05:22 update_mk
-rwxr-xr-x  1 root root  7366 2006-12-09 05:22 update_notices
-rwxr-xr-x  1 root root  3526 2006-12-09 05:22 update_sendmail
-rwxr-xr-x  1 root root  2479 2006-12-09 05:22 update_smrsh
-rwxr-xr-x  1 root root  8054 2006-12-09 05:22 update_sys
-rwxr-xr-x  1 root root  1977 2006-12-09 05:22 update_tcpd
-rwxr-xr-x  1 root root  9563 2006-12-09 05:22 update_tls
-rwxr-xr-x  1 root root  7768 2006-12-09 05:22 update_tlsm4

et

total 18404
drwxr-xr-x  2 root root    4096 2008-04-22 23:56 .
drwxr-xr-x 12 root root    4096 2008-04-22 23:09 ..
-rwxr-xr-x  1 root root    1095 2008-01-27 19:19 a2dismod
-rwxr-xr-x  1 root root     742 2008-01-27 19:19 a2dissite
-rwxr-xr-x  1 root root    1655 2008-01-27 19:19 a2enmod
-rwxr-xr-x  1 root root     919 2008-01-27 19:19 a2ensite
-rwxr-xr-x  1 root root   43200 2008-01-27 19:19 ab
-rwxr-xr-x  1 root root   28348 2007-01-29 13:20 accessdb
-rwxr-xr-x  1 root root   18380 2006-01-15 22:24 acpid
lrwxrwxrwx  1 root root       7 2008-04-22 15:18 addgroup -> adduser
-rwxr-xr-x  1 root root     704 2006-07-25 20:04 add-shell
-rwxr-xr-x  1 root root   32445 2007-01-19 08:25 adduser
-rwxr-xr-x  1 root root  324284 2008-01-27 19:19 apache2
-rwxr-xr-x  1 root root    3404 2008-01-27 19:09 apache2ctl
-rwxr-xr-x  1 root root   42648 2005-12-04 05:52 arp
-rwxr-xr-x  1 root root    8720 2007-01-09 09:13 biosdecode
-rwxr-xr-x  1 root root     950 2008-01-27 19:19 check_forensic
-rwxr-xr-x  1 root root    3716 2008-01-27 19:19 checkgid
-rwxr-xr-x  1 root root   23572 2006-12-09 05:22 checksendmail
-rwxr-xr-x  1 root root   28960 2007-02-27 08:53 chgpasswd
-rwxr-xr-x  1 root root   24192 2007-02-27 08:53 chpasswd
-rwxr-xr-x  1 root root   13076 2007-01-30 19:51 chroot
-rwxr-xr-x  1 root root    4902 2007-01-02 00:00 cleanup-info
lrwxrwxrwx  1 root root       4 2008-04-22 15:17 cpgr -> cppw
-rwxr-xr-x  1 root root   26592 2007-02-27 08:53 cppw
-rwxr-xr-x  1 root root   30924 2006-12-20 01:02 cron
-rwxr-xr-x  1 root root    9648 2007-12-22 14:47 cytune
-rwxr-xr-x  1 root root    1351 2006-06-17 17:54 defoma-reconfigure
lrwxrwxrwx  1 root root       7 2008-04-22 15:18 delgroup -> deluser
-rwxr-xr-x  1 root root   14225 2007-01-19 08:25 deluser
-rwxr-xr-x  1 root root   46796 2007-01-09 09:13 dmidecode
-rwxr-xr-x  1 root root   10247 2007-01-02 00:00 dpkg-divert
-rwxr-xr-x  1 root root    3428 2007-09-27 12:27 dpkg-preconfigure
-rwxr-xr-x  1 root root    3403 2007-09-27 12:27 dpkg-reconfigure
-rwxr-xr-x  1 root root    6016 2007-01-02 00:00 dpkg-statoverride
-rwxr-xr-x  1 root root    5688 2007-12-22 14:47 elvtune
-rwxr-xr-x  1 root root    4447 2006-12-09 05:22 etrn
-rwxr-xr-x  1 root root    6356 2007-12-06 20:57 filefrag
-rwxr-xr-x  1 root root   28992 2007-02-27 08:53 groupadd
-rwxr-xr-x  1 root root   21088 2007-02-27 08:53 groupdel
-rwxr-xr-x  1 root root   24512 2007-02-27 08:53 groupmod
-rwxr-xr-x  1 root root   28512 2007-02-27 08:53 grpck
-rwxr-xr-x  1 root root   20576 2007-02-27 08:53 grpconv
-rwxr-xr-x  1 root root   20320 2007-02-27 08:53 grpunconv
-rwxr-xr-x  1 root root  136176 2007-03-30 07:42 grub
-rwxr-xr-x  1 root root    2991 2007-03-30 07:41 grub-floppy
-rwxr-xr-x  1 root root   15253 2007-03-30 07:42 grub-install
-rwxr-xr-x  1 root root    2312 2007-03-30 07:42 grub-md5-crypt
-rwxr-xr-x  1 root root    1461 2007-03-30 07:41 grub-reboot
-rwxr-xr-x  1 root root    3178 2007-03-30 07:42 grub-set-default
-rwxr-xr-x  1 root root    2473 2007-03-30 07:42 grub-terminfo
-rwxr-xr-x  1 root root   16880 2008-01-27 19:19 htcacheclean
-rwxr-xr-x  1 root root    7568 2008-01-27 19:19 httxt2dbm
-rwxr-xr-x  1 root root   26052 2008-01-19 13:14 iconvconfig
-rwxr-xr-x  1 root root   29192 2007-03-21 19:12 inetd
-rwxr-xr-x  1 root root   15923 2007-01-02 00:00 install-info
-rwxr-xr-x  1 root root    4803 2007-01-10 20:29 install-keymap
-rwxr-xr-x  1 root root   10666 2007-01-30 23:27 invoke-rc.d
-rwxr-xr-x  1 root root     980 2005-06-14 13:29 laptop-detect
-rwxr-xr-x  1 root root    1305 2007-04-13 11:17 locale-gen
-rwxr-xr-x  1 root root    7028 2008-01-27 19:19 logresolve
-rwxr-xr-x  1 root root   39700 2006-04-09 00:16 logrotate
-rwxr-xr-x  1 root root   77580 2006-10-10 13:12 lsusb
lrwxrwxrwx  1 root root       5 2008-04-22 21:40 mailq -> ssmtp
-rwxr-xr-x  1 root root   10481 2006-07-25 20:04 mkboot
-rwxr-xr-x  1 root root    7126 2007-04-13 13:17 mkinitramfs
-rwxr-xr-x  1 root root    1866 2007-04-06 23:32 mkinitramfs-kpkg
-rwxr-xr-x  1 root root    4392 2007-12-06 20:57 mklost+found
-rwxr-xr-x  1 root root 6894180 2008-01-27 12:47 mysqld
-rwxr-xr-x  1 root root 1832356 2008-01-27 12:47 mysqlmanager
-rwxr-xr-x  1 root root 1930844 2008-01-27 12:47 ndb_cpcd
-rwxr-xr-x  1 root root 3362044 2008-01-27 12:47 ndbd
-rwxr-xr-x  1 root root 2116220 2008-01-27 12:47 ndb_mgmd
lrwxrwxrwx  1 root root       5 2008-04-22 21:40 newaliases -> ssmtp
-rwxr-xr-x  1 root root   28352 2007-02-27 08:53 newusers
-rwxr-xr-x  1 root root    3156 2007-02-27 08:53 nologin
-rwxr-xr-x  1 root root    4932 2007-01-09 09:13 ownership
-rwxr-xr-x  1 root root    2888 2007-10-21 21:32 pam_getenv
-rwxr-xr-x  1 root root    8500 2007-10-21 21:35 pam_tally
-rwxr-xr-x  1 root root   24416 2007-02-27 08:53 pwck
-rwxr-xr-x  1 root root   22592 2007-02-27 08:53 pwconv
-rwxr-xr-x  1 root root   20320 2007-02-27 08:53 pwunconv
lrwxrwxrwx  1 root root       4 2008-04-22 16:15 ramsize -> rdev
-rwxr-xr-x  1 root root    7532 2007-12-22 14:47 rdev
-rwxr-xr-x  1 root root   10588 2007-12-22 14:47 readprofile
-rwxr-xr-x  1 root root     749 2006-07-25 20:04 remove-shell
-rwxr-xr-x  1 root root   58452 2006-12-09 05:23 rmail
lrwxrwxrwx  1 root root      21 2008-04-22 15:17 rmt -> /etc/alternatives/rmt
-rwxr-xr-x  1 root root   23424 2007-12-26 21:46 rmt-tar
lrwxrwxrwx  1 root root       4 2008-04-22 16:15 rootflags -> rdev
-rwxr-xr-x  1 root root    8140 2008-01-27 19:19 rotatelogs
-rwxr-xr-x  1 root root    5844 2007-02-25 21:06 safe_finger
lrwxrwxrwx  1 root root       5 2008-04-22 21:40 sendmail -> ssmtp
-rwxr-xr-x  1 root root   21675 2006-12-09 05:22 sendmailconfig
-rwsr-xr-x  1 root root    6744 2006-12-09 05:23 sensible-mda
-rwxr-xr-x  1 root root    5692 2006-09-05 18:26 setvesablank
-rwxr-xr-x  1 root root    2390 2008-01-27 19:19 split-logfile
-rwxr-xr-x  1 root root  318524 2007-03-05 17:38 sshd
-rwxr-xr-x  1 root root   28752 2007-03-08 07:24 ssmtp
-rwxr-xr-x  1 root root    3758 2006-05-25 11:38 syslogd-listfiles
-rwxr-xr-x  1 root root    3984 2006-05-25 11:38 syslog-facility
-rwxr-xr-x  1 root root    4280 2007-02-25 21:06 tcpd
-rwxr-xr-x  1 root root   16796 2007-02-25 21:06 tcpdchk
-rwxr-xr-x  1 root root   13916 2007-02-25 21:06 tcpdmatch
lrwxrwxrwx  1 root root      33 2008-04-22 15:19 traceroute -> /etc/alternatives/traceroute.sbin
-rwxr-xr-x  1 root root    4392 2007-02-25 21:06 try-from
-rwxr-xr-x  1 root root    6816 2007-12-22 14:47 tunelp
-rwxr-xr-x  1 root root    3081 2007-04-13 11:17 tzconfig
-rwxr-xr-x  1 root root    6076 2007-03-24 19:15 udevmonitor
-rwxr-xr-x  1 root root   26748 2007-01-02 00:00 update-alternatives
-rwxr-xr-x  1 root root    5083 2006-08-03 00:49 update-fonts-alias
-rwxr-xr-x  1 root root    4097 2006-08-03 00:49 update-fonts-dir
-rwxr-xr-x  1 root root    6482 2006-08-03 00:49 update-fonts-scale
-rwxr-xr-x  1 root root   32771 2007-03-30 07:41 update-grub
-rwxr-xr-x  1 root root    6010 2007-03-12 03:20 update-inetd
-rwxr-xr-x  1 root root    9023 2007-04-13 13:17 update-initramfs
-rwxr-xr-x  1 root root    2997 2007-04-13 11:17 update-locale
-rwxr-xr-x  1 root root    6266 2006-12-05 04:22 update-mime
-rwxr-xr-x  1 root root   16624 2005-12-15 12:06 update-passwd
-rwxr-xr-x  1 root root    6273 2007-01-30 23:27 update-rc.d
-rwxr-xr-x  1 root root     676 2006-10-10 13:12 update-usbids
-rwxr-xr-x  1 root root    9208 2006-10-10 13:12 usbmodules
-rwxr-xr-x  1 root root   60288 2007-02-27 08:53 useradd
-rwxr-xr-x  1 root root   39456 2007-02-27 08:53 userdel
-rwxr-xr-x  1 root root   60160 2007-02-27 08:53 usermod
-rwxr-xr-x  1 root root    1773 2007-04-13 11:17 validlocale
-rwxr-xr-x  1 root root    6264 2006-09-05 18:26 vcstime
lrwxrwxrwx  1 root root       4 2008-04-22 16:15 vidmode -> rdev
lrwxrwxrwx  1 root root       4 2008-04-22 15:17 vigr -> vipw
-rwxr-xr-x  1 root root   27328 2007-02-27 08:53 vipw
-rwxr-xr-x  1 root root    9764 2007-01-09 09:13 vpddecode
-rwxr-xr-x  1 root root    5600 2006-09-05 18:26 writevt
-rwxr-xr-x  1 root root   30116 2008-01-19 13:14 zic

Merci !

#4 Le 25/04/2008, à 11:58

freko

Re : Problème d'e-mail

lrwxrwxrwx  1 root root       5 2008-04-22 21:40 sendmail -> ssmtp

poste la commande ls -al /usr/sbin/sendmail/ssmtp


Inscrit sur http://parrains.linux.free.fr/
Site web : http://frekoland.free.fr
"La connaissance est la seule chose qui s'accroit lorsqu'on la partage"..
www.google.fr/linux

Hors ligne

#5 Le 25/04/2008, à 12:23

Samuel222222

Re : Problème d'e-mail

ls: /usr/sbin/sendmail/ssmtp: N'est pas un répertoire

Merci

#6 Le 28/04/2008, à 14:27

freko

Re : Problème d'e-mail

Voici ce que j'ai trouvé en anglais :

This may not have been the best solution, but I edited the /etc/crod.d/sendmail file and commented out the line:

*/20 * * * * smmsp test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp

Of note, the following line is, by default, commented out:

#*/10 * * * * root test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-mta

Dernière modification par freko (Le 28/04/2008, à 14:31)


Inscrit sur http://parrains.linux.free.fr/
Site web : http://frekoland.free.fr
"La connaissance est la seule chose qui s'accroit lorsqu'on la partage"..
www.google.fr/linux

Hors ligne

#7 Le 04/05/2008, à 10:05

Samuel22222

Re : Problème d'e-mail

Merci, je fais ça.
Je pense que ça va marcher, je vous fais signe dans le cas contraire.

Seulement, j'ai l'impression que là on demande au PC de na plus nous prévenir ds problèmes ! Certes, on est tranquille mais c'est plutôt dangereux, non ?

Merci

#8 Le 05/05/2008, à 09:05

freko

Re : Problème d'e-mail

Non car tu dois decommenter la deuxième ligne


Inscrit sur http://parrains.linux.free.fr/
Site web : http://frekoland.free.fr
"La connaissance est la seule chose qui s'accroit lorsqu'on la partage"..
www.google.fr/linux

Hors ligne

#9 Le 07/05/2008, à 19:49

Samuel22222

Re : Problème d'e-mail

Ca semble fonctionner, merci !