Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mailq
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
spaz_yo
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2004
Posts: 90

PostPosted: Mon Aug 08, 2005 4:50 pm    Post subject: mailq Reply with quote

What is the correct way to empty sendmails mail queue, basically I have messages that are trying to resolve, but i would just rather dump them.
Back to top
View user's profile Send private message
grimm26
Guru
Guru


Joined: 23 May 2004
Posts: 313
Location: Chicagoland, IL

PostPosted: Mon Aug 08, 2005 7:57 pm    Post subject: Reply with quote

You can just remove them from the /var/spool/mqueue directory. If you have nothing but the ones you want to remove in the queue, stop sendmial, do an
Code:
rm -f /var/spool/mqueue/*
and start sendmail again. If you want to remove specific ones, use mailq to get the message ID's and just remove the files pertaining to those.
_________________
"Blessed is he who finds happiness in his own foolishness, for he will always be happy".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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