plainblack.com
Username Password
search
Bookmark and Share

    

Hanging mails

User martien
Date 8/27/2010 6:11 pm
Views 561
Rating -1    Rate [
|
]
Previous · Next
User Message
martien

My server just stopped sending mails since two days and I don't know why.

Is there any possibility to get information about the sending/retrying process?

Spectre seems to be running OK.
Starting the scheduler by hand doesn't make a difference.

As mail server I'm using /usr/sbin/sendmail

Any ideas?

 

 



Back to Top
Rate [
|
]
 
 
perlDreamer
Have you looked in /var/log/maillog?

Have you checked to see if your domain is blacklisted?

Have you tried sending mail from the commandline on the server?


Back to Top
Rate [
|
]
 
 
martien

Have you looked in /var/log/maillog?
Have you checked to see if your domain is blacklisted?
Have you tried sending mail from the commandline on the server?

Nothing in maillog, no blacklist, commandline ok.

I putted "$log->error(qq{call for send \n});" at the start of sub send in Send.pm
and didn't find anything logged.
This (and other things) however work/s on two other mirrors.

So it seems as if there must be something preventing to call Send.pm.



Back to Top
Rate [
|
]
 
 
martien

 

So it seems as if there must be something preventing to call Send.pm.

I sent it back to early.

I also tested with Send.t . This was missing Net::SMTP::Server

After install I got these errors:

>>> not really an error:
not ok 16 - ... footer appended to the first part as text                                   
#   Failed test '... footer appended to the first part as text'                             
#   at Send.t line 157.                                                                     
#          got: 'some text                                                                  
#                                                                                           
# My Com                                                               
# xxxxxx0D                                                                
# http://www.xxxx=0D                                                           
# '                                                                                         
#     expected: 'some text                                                                  
#                                                                                           
# My Company                                                                                
# info@mycompany.com                                                                        
# http://www.mycompany.com                                                                  
# ' 

and 

  not ok 32 - sending a message with a group added two messages
#   Failed test 'sending a message with a group added two messages'
#   at Send.t line 426.
#          got: '8'
#     expected: '6'
not ok 33 - sending a message with a group added the right two messages
#   Failed test 'sending a message with a group added the right two messages'
#   at Send.t line 429.
#          got: '4'
#     expected: '2'
not ok 34 - send: when the original is sent, new messages are created for each user in the group, following their user profile settings
#   Failed test 'send: when the original is sent, new messages are created for each user in the group, following their user profile settings'
#   at Send.t line 438.
# Comparing $data as a Bag
# Extra: 'xxx@yyyy.com
# ', 'iml@innovate.de
# '


 

This cleaned the queue.

Send seems to work, but it doesn't seem to be called.                 



Back to Top
Rate [
|
]
 
 
martien

I found some strange effects:
Wremonitor told "SPECTRE OK", while the Admin interface meant "SPECTRE not running.", but spectre-process definitely was running.

In modperl-log I found quite a lot of SizeLimit messages.

Although I wasn't sure, what I was doing, I changed modper.pl not to check
that often:

$Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 10;
(instead of 5)

and started wremonitor also for modperl.

Now mails are processed and only one question left:

What are the right Apache2::SizeLimits and why?

 

 



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved