LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2015, 05:49 AM   #1
LYC
Member
 
Registered: Jan 2014
Posts: 100

Rep: Reputation: Disabled
sendmail queries


Hi,

We have a sendmail gateway supported by Solaris 10.

Not sure when this had happened that mails are clogged in the queue and never send out. I have to run "sendmail -OTimeout.hoststatus=0m -q -v" manually to flush the queues.

Note that some mails are not able to deliver even I ran the command (sendmail -OTimeout.hoststatus=0m -q -v).

Any advise is appreciated. Thanks in advance.
 
Old 01-28-2015, 07:42 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Is sendmail running with a "-q30m" or similar parameter?
 
Old 01-28-2015, 08:27 AM   #3
LYC
Member
 
Registered: Jan 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Hi,

I'm a newbie to sendmail. Could you advise how to check whether sendmail is running "-q30m"? What is this setting for?

Anyway, I grep sendmail process and the output is as follows:

ps -ef | grep sendmail
root 580 1 0 Sep 28 ? 16:36 /usr/lib/sendmail -bd -q15m
smmsp 578 1 0 Sep 28 ? 1:48 /usr/lib/sendmail -Ac -q15m
root 7853 580 0 21:31:21 ? 0:00 /usr/lib/sendmail -bd -q15m

Last edited by LYC; 01-28-2015 at 08:36 AM.
 
Old 01-28-2015, 11:11 AM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Your -q15m is like -q30m.


-q[time]
Process saved messages in the queue at given intervals. If time
is omitted, process the queue once. Time is given as a tagged
number, with 's' being seconds, 'm' being minutes (default), 'h'
being hours, 'd' being days, and 'w' being weeks. For example,
'-q1h30m' or '-q90m' would both set the timeout to one hour
thirty minutes. By default, sendmail will run in the back-
ground. This option can be used safely with -bd.

http://unixhelp.ed.ac.uk/CGI/man-cgi?sendmail
 
Old 01-28-2015, 05:06 PM   #5
LYC
Member
 
Registered: Jan 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Hi,

Why the mails did not send out and requires manual trigger to send out?
 
Old 01-28-2015, 10:08 PM   #6
LYC
Member
 
Registered: Jan 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Hi,

I have solved the problem accidentally by stop/start sendmail.

Thanks to everyone for your advise.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
queries cadb4u Linux - Newbie 1 08-18-2011 08:07 AM
sendmail queries Dhrumil Linux - Server 1 12-04-2010 09:07 AM
help with basic queries? stuartmcgeown Linux - General 4 05-22-2006 09:50 AM
***Queries for all of u***** LinuxRam Linux - General 6 08-02-2004 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration