LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-03-2007, 05:53 AM   #1
rahmad
Member
 
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65

Rep: Reputation: 15
sendmail timed out sessions


Hello all,

i have too many sleaping sendmail processes in my server. and the server keeps crash because of this sleaping sendmail processes.

i checked the maillog file i found out there are too many timed out sessions in the file. i tried to telnet thier mail exchangers on port 25 but i could not telnet them, but i can telnet for examp,e google mail exchanger.

can anyone tell me how to know who send to these unworking exchangers or how can i make a script to kill any timed out sendmail process.

thanks,
Rami
 
Old 09-04-2007, 04:22 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Search for "mail relay test" and see if that rings a bell? Could be your server is being abused for sending spam. In any case it could be helpful to add some log output or find commonality in the messages those threads are trying to handle (non-existent domains, remote MTA refusal and that kind of stuff): see /var/spool/mqueue contents.
 
Old 09-05-2007, 04:36 AM   #3
rahmad
Member
 
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65

Original Poster
Rep: Reputation: 15
thank you sir,

I will read more about the mail test relay actually i didnt use it before, do you know please a tursted and reliable test mail relay that i can use in my test??

in the maillog file i extracted the domains that are their mail exchanger does not work.

what can i benefit of /var/spool/mqueue??
 
Old 09-05-2007, 11:54 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by rahmad View Post
do you know please a tursted and reliable test mail relay that i can use in my test?
If you use a searchengine you'll find many usable ones.


Quote:
Originally Posted by rahmad View Post
what can i benefit of /var/spool/mqueue??
A queued message consists of two parts there: the actual message and a control file. The control file lists timeouts and errors to check.
 
Old 09-13-2007, 10:27 PM   #5
rahmad
Member
 
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65

Original Poster
Rep: Reputation: 15
hi,

i made the mail relay test from web based mail tester, but the result was the remote hosts can not relay thru my MTA only the authorized hosts. the mail queue is normal, i cant check the mail queue when the attack starts because the system goes down.

in the server hosts multiple websites, i suspect the attack might be from one of these local sites. how can i find out the source of local attack??

ur prompt reply is highly appreciated.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail - Connection timed out [dsn=4.0.0 stat=Deferred: Connection timed out] ananthak Linux - Software 0 04-24-2007 07:28 AM
sendmail: stat=Deferred: Connection timed out with email.mydomain.com intranet_man Linux - Software 1 07-19-2005 11:04 AM
Timed actions LongName Programming 2 09-02-2004 03:42 AM
timed backups dennis_89 Linux - Networking 2 06-17-2004 09:55 AM
sendmail transmit timed out error -destination host unreachable KTCommander04 Linux - Networking 2 12-23-2003 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration