Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th May 2008, 17:56
daff daff is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default single Emails arrives several times

Hi

I have a Debian Etch System + Perfect Setup with ISPConfig 2.2.23 installed. I have the problem that some Emails arrive repeatedly. The numbers of "double"mails of one Email are between 2 and 8. Any hints why that happens?

daff
Reply With Quote
Sponsored Links
  #2  
Old 13th May 2008, 20:12
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

set up the procmail to write out to a log file, then inspect the logfile. You might already have enough information in your mail dameon log file.
Reply With Quote
  #3  
Old 14th May 2008, 13:14
daff daff is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Could the reason be that my system is very overloaded? It has only 128 MB RAM... Because if I send an email to the server and its not very high loaded the mail receives only one time.
Reply With Quote
  #4  
Old 14th May 2008, 16:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

That could be. But did you check your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th May 2008, 17:16
daff daff is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I actual found something in the file mail.warn:
Code:
warning: database /etc/aliases.db is older than source file /etc/aliases
I already fixed it with:
/usr/bin/newaliases

EDIT:The Problems seams to be that postfix gets killed. I let it restart with monit. In monit I also have mysql monitored but it doesn't get killed. How can tell the system that it mustn't kill postfix ?

Last edited by daff; 14th May 2008 at 18:07.
Reply With Quote
  #6  
Old 15th May 2008, 19:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Is it killed by monit (e.g. because the laod average is too high), or by some other process?
What's in your monitrc?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 15th May 2008, 20:21
daff daff is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I don't think that monit is the reason. but here the config:

Code:
check process proftpd with pidfile /var/run/proftpd.pid
   start program = "/etc/init.d/proftpd start"
   stop program  = "/etc/init.d/proftpd stop"
   if failed port 21 protocol ftp then restart

check process sshd with pidfile /var/run/sshd.pid
   start program  "/etc/init.d/ssh start"
   stop program  "/etc/init.d/ssh stop"
   if failed port 22 protocol ssh then restart

check process mysql with pidfile /var/run/mysqld/mysqld.pid
   group database
   start program = "/etc/init.d/mysql start"
   stop program = "/etc/init.d/mysql stop"
   if failed host 127.0.0.1 port 3306 then restart

check process apache with pidfile /var/run/apache2.pid
   group www
   start program = "/etc/init.d/apache2 start"
   stop program  = "/etc/init.d/apache2 stop"
   if failed host www.kirche-c.de port 80 protocol http
      and request "/monit/token" then restart
   if cpu is greater than 60% for 2 cycles then restart
   if cpu > 80% for 5 cycles then restart
   if totalmem > 500 MB for 5 cycles then restart
   if children > 250 then restart
   if loadavg(5min) greater than 10 for 8 cycles then restart

check process postfix with pidfile /var/spool/postfix/pid/master.pid
   group mail
   start program = "/etc/init.d/postfix start"
   stop  program = "/etc/init.d/postfix stop"
   if failed port 25 protocol smtp then restart

check process spamd with pidfile /var/run/spamd.pid
   group mail
   start program = "/etc/init.d/spamassassin start"
   stop  program = "/etc/init.d/spamassassin stop"
   if 5 restarts within 5 cycles then timeout
   if cpu usage > 99% for 5 cycles then alert
   if mem usage > 99% for 5 cycles then alert
   depends on spamd_bin
   depends on spamd_rc

 check file spamd_bin with path /usr/sbin/spamd
   group mail
   if failed checksum then unmonitor
   if failed permission 755 then unmonitor
   if failed uid root then unmonitor
   if failed gid root then unmonitor

 check file spamd_rc with path /etc/init.d/spamassassin
   group mail
   if failed checksum then unmonitor
   if failed permission 755 then unmonitor
   if failed uid root then unmonitor
   if failed gid root then unmonitor
But I think that problem disappear soon because I requested an upgrade to 512 MB RAM. I hope that the system runs better then.
Reply With Quote
  #8  
Old 16th May 2008, 15:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

Yes, monit is not the problem. Hopefully it will work with more RAM.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking attempt? Musty Server Operation 6 18th March 2008 02:23
Control Panel Daily Report is Great, but HELP!! nightdude Installation/Configuration 2 27th July 2007 13:37
log files cruz Technical 3 15th May 2007 14:35
Outlooks gets emails twice or more times (based falko debian howto) tuflipes HOWTO-Related Questions 18 4th October 2006 22:32
clamscan error 50 jlaughy Installation/Configuration 1 6th September 2006 10:23


All times are GMT +2. The time now is 07:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.