Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old April 2nd, 2008, 11:01 AM
raulb raulb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 raulb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 9 sec
Reputation Power: 0
Delayed duplicate emails being sent out.

Hi new here.

I am having some issues with sendmail sending out duplicate emails for some of our users. Its not very consistant either. For example some duplicate emails get sent out in 20min intervals some right away. The problem not across the board either only some people are having this issues. We host like 40 virtual sites and so email for most of them. We are also using the latest version of sendmail with interfaces with Blue Quartz server management GUI.
I've poked around the server and cant see anything unusual.
Any ideas?

Thanks in advanced.

Reply With Quote
  #2  
Old April 2nd, 2008, 11:45 AM
nightwz nightwz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Belgium
Posts: 35 nightwz User rank is Private First Class (20 - 50 Reputation Level)nightwz User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 12 h 12 m 14 sec
Reputation Power: 3
well that sucks :S
Comments on this post
hiker disagrees: What exactly was the point of this post?

Reply With Quote
  #3  
Old April 2nd, 2008, 12:05 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 2,751 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 33583 Folding Title: Starter FolderFolding Points: 33583 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 3 Days 17 h 16 m 51 sec
Reputation Power: 1205
Welcome to Dev Shed.

What OS are you running?

You mention only some people having problems... are the problems also only with certain domains? Or all domains, but just certain users?

Reply With Quote
  #4  
Old April 2nd, 2008, 01:36 PM
raulb raulb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 raulb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 9 sec
Reputation Power: 0
Quote:
Originally Posted by hiker
Welcome to Dev Shed.

What OS are you running?

You mention only some people having problems... are the problems also only with certain domains? Or all domains, but just certain users?


Hi Thank you for the reply. Yes it not all domains but certain ones also now that I look at it We are running CentOS 4.5. WHich is weird I was told the distro was RedHat.
From the feedback I have gotten from users is that only some domains and some users within that domain and its very sporadic. For example my account on the server doesnt get any duplicates or send out any yet my co-worker does get some on the same domain.
I have noticed that when email gets sent out from our outgoing it takes almost a min to send out and in fact sometimes does time out. So maybe that delay is making the server think it timed out and sent it out again?

Reply With Quote
  #5  
Old April 2nd, 2008, 02:17 PM
Farcaster Farcaster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 58 Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 1 h 26 m 4 sec
Reputation Power: 59
A couple of things to start looking at here.

1. What is the load on the system when this is happening. Is it possible that sendmails' connection is being dropped, yet the mail got delivered anyway. There is a feature that will cause sendmail to stop delivering when the load gets too high.

2. Examine the system and sendmail logs based on the time and date of the delivery of the original and the dup mail. Look for something that they all have in common.

3. Is it possible that you can get a complete copy of the emails in question and examine the headers to see if there are any clues there?

4. The last piece of advice, and this would be the absolute last thing I would try, is to put sendmail into a more verbose reporting mode. You'll have to examine the docs on this and your own system to make this change.

Cheers - and good luck.

Reply With Quote
  #6  
Old April 2nd, 2008, 02:51 PM
raulb raulb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 raulb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 9 sec
Reputation Power: 0
Im not sure if this is helpful but I did run the following

uptime | awk '{print $10 " " $11 " " $12}'

and got this load average

1.47, 1.28, 0.93


To be honest I'm not sure how to interpret this. I do know that haveing a 3.00 or higher load average is bad.

I'm going to check the other tips you suggested.

Reply With Quote
  #7  
Old April 2nd, 2008, 03:04 PM
raulb raulb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 raulb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 9 sec
Reputation Power: 0
Looking at the headers I really dont see anything out there. Just that the message ID is different.
Any hints on what Im looking for?

Reply With Quote
  #8  
Old April 2nd, 2008, 03:29 PM
Farcaster Farcaster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 58 Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 1 h 26 m 4 sec
Reputation Power: 59
Quote:
Originally Posted by raulb
Im not sure if this is helpful but I did run the following

uptime | awk '{print $10 " " $11 " " $12}'

and got this load average

1.47, 1.28, 0.93


To be honest I'm not sure how to interpret this. I do know that haveing a 3.00 or higher load average is bad.

I'm going to check the other tips you suggested.
If I remember correctly, sendmail only suspends delivery when the load goes to 10 or above. You will have to examine the sendmail log itself to see if this is happening. I wish I could remember the wording of this to give you something to hunt for.

Running top for a while may help, but that demands your attention.

Reply With Quote
  #9  
Old April 2nd, 2008, 03:32 PM
Farcaster Farcaster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 58 Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 1 h 26 m 4 sec
Reputation Power: 59
Quote:
Originally Posted by raulb
Looking at the headers I really dont see anything out there. Just that the message ID is different.
Any hints on what Im looking for?
That's the tough part - what to look for. What is the chance that the mail is actually being sent twice? Is there something in the setup files for the domain(s) in question? Is it always the same user? Take a good look at the sendmail log for message traffic.

Reply With Quote
  #10  
Old April 3rd, 2008, 10:22 AM
raulb raulb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 raulb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 9 sec
Reputation Power: 0
While watching the maillogs I noticed I'm getting alot of these type of errors


Apr 3 08:23:40 ws096 spamd[10489]: (Missing operator before
Apr 3 08:23:40 ws096 spamd[10489]:
Apr 3 08:23:40 ws096 spamd[10489]: 1?)
Apr 3 08:23:40 ws096 spamd[10489]: rules: failed to run header tests, skipping some: syntax error at (eval 439) line 11, near ";
Apr 3 08:23:40 ws096 spamd[10489]: }"
Apr 3 08:23:40 ws096 spamd[10489]: Use of uninitialized value in concatenation

I thought this line was interesting

/usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669, <GEN216149> line 34.
Apr 3 08:23:40 ws096 last message repeated 2 times
Apr 3 08:23:40 ws096 spamd[10489]: Number found where operator expected at (eval 440) line 10, near "}


Any thoughts?

Reply With Quote
  #11  
Old April 3rd, 2008, 12:23 PM
Farcaster Farcaster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 58 Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level)Farcaster User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 1 h 26 m 4 sec
Reputation Power: 59
Looks like you found it. I won't be of any help here as I never used Spam Assassin. The company I worked for used a commercial package for spam and virus detection. Good work on finding it.

Cheers

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Delayed duplicate emails being sent out.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |