Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Serveur Mail] utilisation d'un espace disque trop enorme
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
zeuss1414
Guru
Guru


Joined: 23 Mar 2004
Posts: 490

PostPosted: Thu May 11, 2006 3:21 pm    Post subject: [Serveur Mail] utilisation d'un espace disque trop enorme Reply with quote

Bonjour a tous,

j'ai un ptit problème sur mon serveur mail. Depuis quelque temps le disque (20G) se rempli a une vitesse impressionnante.

J'ai remarquer que le repertoire /var/spool/postfix prend une place enorme (plus de 4Go) ca me semble louche car ca fait bcp de mail sachant que je suis le seul sur le serveur.

Merci d'avance si vous avez des idées.
Back to top
View user's profile Send private message
Oupsman
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1042

PostPosted: Thu May 11, 2006 4:10 pm    Post subject: Reply with quote

Examine le contenu de la file d'attente postfix pour détecter une éventuelle utilisation de ton serveur pour envoyer du spam
Examine le contenu du répertoire /var/spool/postfix (désolé, j'utilise pas postix, je peux pas t'aider sur ce coup là)
_________________
--
L'idéal de nouveauté semble avoir remplacé l'idéal de progrès. C'est bien triste.

----
Unix philosophy: "Do one thing and do it well."
systemd: "Try to do everything and do it wrong."
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Thu May 11, 2006 4:18 pm    Post subject: Reply with quote

Salut,

combien de mails en queue as-tu exactement ?

Code:
mailq |grep -e "^--"


merci
Back to top
View user's profile Send private message
zeuss1414
Guru
Guru


Joined: 23 Mar 2004
Posts: 490

PostPosted: Thu May 11, 2006 4:57 pm    Post subject: Reply with quote

En fait y a un max de truc en fille d'attend qui apriori ne vienne pas de moi.

Du foup faut que je fasse quoi ???
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Thu May 11, 2006 5:03 pm    Post subject: Reply with quote

Deja, couper la connexion du net pour que personne ne puisse y accéder.

Ensuite supprimer tous les messages :

Code:
postsuper -d ALL


Enfin, sécuriser ton postfix et ne pas le configurer en relay ouvert !!!! La doc postfix (postfix.org) t'explique tout cela, en francais.

Bon courage :)
Back to top
View user's profile Send private message
zeuss1414
Guru
Guru


Joined: 23 Mar 2004
Posts: 490

PostPosted: Thu May 11, 2006 6:51 pm    Post subject: Reply with quote

j'ai essayer postsuper -d ALL mais y a tellement de truc en attente que ca finira jamais sur mon P3 500.

Y aurais pas une methode plus redicale..??
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Fri May 12, 2006 8:11 am    Post subject: Reply with quote

Salut

Oui, te rendre dans /var/spool/postfix et supprimer tous les fichiers mails à l'intérieur des nombreux sous-répertoires :)
Back to top
View user's profile Send private message
Oupsman
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1042

PostPosted: Fri May 12, 2006 11:53 am    Post subject: Reply with quote

Un p'tit find devrait le faire.

Mais tu peux aussi arrêter Postfix, renommer le répertoire /var/spool/postfix en /var/spool/postfix.old et en créer un nouveau.

Sécurise Postfix et relance le.

Tu peux ensuite lancer un gros rm -Rf sur /var/spool/postfix.old
_________________
--
L'idéal de nouveauté semble avoir remplacé l'idéal de progrès. C'est bien triste.

----
Unix philosophy: "Do one thing and do it well."
systemd: "Try to do everything and do it wrong."
Back to top
View user's profile Send private message
lesourbe
l33t
l33t


Joined: 24 Nov 2005
Posts: 710
Location: Champagne !

PostPosted: Fri May 12, 2006 12:34 pm    Post subject: Reply with quote

s'il s'agit bien là d'open relay, je suis intéressé pour voir ton main.cf
_________________
Is that a banhammer ?
LeSourbe, Member of EPowerforce.
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Fri May 12, 2006 12:54 pm    Post subject: Reply with quote

lesourbe wrote:
s'il s'agit bien là d'open relay, je suis intéressé pour voir ton main.cf


hmmm ? :? :?
Back to top
View user's profile Send private message
lesourbe
l33t
l33t


Joined: 24 Nov 2005
Posts: 710
Location: Champagne !

PostPosted: Fri May 12, 2006 12:57 pm    Post subject: Reply with quote

ultrabug wrote:
lesourbe wrote:
s'il s'agit bien là d'open relay, je suis intéressé pour voir ton main.cf


hmmm ? :? :?

mon message était destiné à l'initiateur du thread.
ma requete à pour but de voir ce qui cloche.
_________________
Is that a banhammer ?
LeSourbe, Member of EPowerforce.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum