Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Postfix Queue building
PostPosted: Sun Jul 25, 2010 6:56 pm 
Offline
Senior Member
User avatar

Joined: Tue Dec 01, 2009 10:31 pm
Posts: 57
Hello,

I've noticed my postfix queue has been building like crazy since I installed the apache graphs for munin last week.

Image

When I look at the mailq, there are thousands of messages like the following

Code:
9C40D55CB2     2705 Sat Jul 24 23:08:26  MAILER-DAEMON
(delivery temporarily suspended: connect to mail.sitename.com[xxx.xxx.xxx.xxx]:25: Connection timed out)
                                         munin@mail.sitename.com

92229566F0      617 Wed Jul 21 16:55:01  munin@mail.sitename.com
(delivery temporarily suspended: connect to mail.sitename.com[xxx.xxx.xxx.xxx]:25: Connection timed out)
                                         munin@mail.sitename.com

937B656C27      617 Sat Jul 24 00:55:01  munin@mail.sitename.com
(delivery temporarily suspended: connect to mail.sitename.com[xxx.xxx.xxx.xxx]:25: Connection timed out)
                                         munin@mail.sitename.com

92CB056945      683 Thu Jul 22 19:40:01  munin@mail.sitename.com
(delivery temporarily suspended: connect to mail.sitename.com[xxx.xxx.xxx.xxx]:25: Connection timed out)
                                         root@mail.sitename.com

-- 30779 Kbytes in 2716 Requests.


The documentation on postfix is quite sparse, any pointers on how to stop these messages being sent, and to remove the existing ones fro the queue would be most appreciated.


Thanks,
Moses.


Top
   
 Post subject:
PostPosted: Sun Jul 25, 2010 8:01 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Looks like it's munin trying to send emails and you've not configured it to send correctly. Check your munin.conf


Top
   
 Post subject:
PostPosted: Sun Jul 25, 2010 8:21 pm 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
Use the 'postsuper' command to remove messages from the queue.

For details:

man postsuper


Top
   
 Post subject:
PostPosted: Sun Jul 25, 2010 8:52 pm 
Offline
Senior Member
User avatar

Joined: Tue Dec 01, 2009 10:31 pm
Posts: 57
Thanks for the tip on postsuper, I've removed all the messages from the queue now. Just for my own information, is this a queue of mail to be sent, or mail that has been returned?

Here's my munin.conf, I added the contact.me.command mail lines on Friday with no effect..

Code:
cat munin.conf
# Example configuration file for Munin, generated by 'make build'

# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, severally.  They all
# must be writable by the user running munin-cron.
dbdir   /var/lib/munin
htmldir /var/www/munin
logdir  /var/log/munin
rundir  /var/run/munin

# Where to look for the HTML templates
tmpldir /etc/munin/templates

# Make graphs show values per minute instead of per second
#graph_period minute

# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
contact.me.command mail -s "Munin notification" moses@site.comm
contact.me.always_send critical
#contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm
#
# For those with Nagios, the following might come in handy. In addition,
# the services must be defined in the Nagios server as well.
#contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg

# a simple host tree
[localhost.localdomain]
    address 127.0.0.1
    use_node_name yes

#
# A more complex example of a host tree
#
## First our "normal" host.
# [fii.foo.com]
#       address foo
#
## Then our other host...
# [fay.foo.com]
#       address fay
#
## Then we want totals...
# [foo.com;Totals] #Force it into the "foo.com"-domain...
#       update no   # Turn off data-fetching for this "host".
#
#   # The graph "load1". We want to see the loads of both machines...
#   # "fii=fii.foo.com:load.load" means "label=machine:graph.field"
#       load1.graph_title Loads side by side
#       load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.load
#
#   # The graph "load2". Now we want them stacked on top of each other.
#       load2.graph_title Loads on top of each other
#       load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load
#       load2.dummy_field.draw AREA # We want area instead the default LINE2.
#       load2.dummy_field.label dummy # This is needed. Silly, really.
#
#   # The graph "load3". Now we want them summarised into one field
#       load3.graph_title Loads summarised
#       load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load
#       load3.combined_loads.label Combined loads # Must be set, as this is
#                                                 # not a dummy field!
#
## ...and on a side note, I want them listen in another order (default is
## alphabetically)
#
# # Since [foo.com] would be interpreted as a host in the domain "com", we
# # specify that this is a domain by adding a semicolon.
# [foo.com;]
#       node_order Totals fii.foo.com fay.foo.com
#


Top
   
 Post subject:
PostPosted: Sun Jul 25, 2010 10:48 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
It's a queue of mail to be sent, notifying of mail that was returned. You can check your mail.log for full details, but I suspect moses@site.comm isn't your e-mail address. Double-check that.


Top
   
 Post subject:
PostPosted: Mon Jul 26, 2010 2:05 am 
Offline
Senior Member
User avatar

Joined: Tue Dec 01, 2009 10:31 pm
Posts: 57
Thanks for that hoopycat, I never picked up that the comments to the plugin use a .comm rather than .com email. Strange.

I've fixed that one now, still no email and the queue is building up again.


Top
   
 Post subject:
PostPosted: Mon Jul 26, 2010 3:55 pm 
Offline
Senior Member

Joined: Sun Oct 30, 2005 7:52 pm
Posts: 97
Moses wrote:
still no email and the queue is building up again.


Mose, without knowing the actual domain name(s) and/or IP's you are having problems with, it is difficult for anyone to analyze anything based on what you have provided.
What does your mail logs shows? Are you utilizing a firewall?

--
Travis


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group