Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix keeps sending emails randomly
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
kg4ysy
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 183
Location: North Carolina

PostPosted: Thu May 31, 2007 3:35 pm    Post subject: postfix keeps sending emails randomly Reply with quote

Postfix has been in the habit lately to send an email that I sent out more than 2 months ago at random. The problem is that it was a mailing list and every time this happens, I get a bunch of pissed off people. If I shut off postfix it stops, but I can't just leave postfix off. The script that I used to send the email is no longer running, and the machine has even been restarted since I originally sent out the email.

This leads me to believe that these emails are locked up in postfix's queue or something. I have no idea what to do. Any ideas anyone?

thx
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu May 31, 2007 4:22 pm    Post subject: Reply with quote

mailq
postqueue -p
Back to top
View user's profile Send private message
kg4ysy
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 183
Location: North Carolina

PostPosted: Thu May 31, 2007 5:42 pm    Post subject: Reply with quote

I ran both and it listed 4 messages in queue, but they were spaced an hour apart so that leads me to believe that they are cron messages.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu May 31, 2007 6:37 pm    Post subject: Reply with quote

Ok. So you now have some clues. Bear in mind that stopping Postfix doesn't prevent more messages being added to the queue. The queue is just that and they will be added by any commands using the sendmail command (part of Postfix) and will just get fired off when you wake Postfix up.

Have a look at the postsuper command to nuke them from the queue if that's your plan.

And have a good look at your logs for the cron stuff.
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