solaris 10u9 + sendmail 8.14.5 mailq grows, deferred messages


 
Thread Tools Search this Thread
Operating Systems Solaris solaris 10u9 + sendmail 8.14.5 mailq grows, deferred messages
# 1  
Old 08-06-2012
solaris 10u9 + sendmail 8.14.5 mailq grows, deferred messages

hello,

I am using solaris 10 and sendmail 8.14.5

Main Problem
i have growing (to 1500+ mails) mailq, and mailq consists of mails older then even 1 month.

i have forced mailq by
Code:
sendmail -q -v

and messages went out. but it looks like, when messages enter to mailq they are not processed any more... what should i do? where should i check for miss configuration?

Quote:
Originally Posted by sendmail.mc
Code:
divert(0)dnl
VERSIONID(`')dnl
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
FEATURE(`local_procmail')dnl
FEATURE(`access_db')dnl Add support for the access database
FEATURE(`genericstable')dnl
FEATURE(`virtusertable')dnl
FEATURE(`use_cw_file')dnl Load class $w with other names for the local host
FEATURE(`use_ct_file')dnl Read /etc/mail/trusted-users file
FEATURE(`mailertable')dnl
FEATURE(`blacklist_recipients')
FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"550 Mail from " $`'&{client_addr} " refused - see http://www.spamhaus.org/xbl/"')
FEATURE(`accept_unresolvable_domains')
define(`confCF_VERSION', `bla_bla_bla')dnl
define(`STATUS_FILE', `/etc/mail/statistics')dnl
define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/aliases.post')dnl
define(`QUEUE_DIR', `/var/spool/mqueue')dnl
define(`confFORWARD_PATH', `')dnl
dnl
define(`confCACERT_PATH', `/etc/mail/certs')dnl
define(`confCACERT', `/etc/mail/certs/cacert.pem')dnl
define(`confSERVER_CERT', `/etc/mail/certs/cert.pem')dnl
define(`confSERVER_KEY', `/etc/mail/certs/key.pem')dnl
define(`confCRL', `/etc/mail/certs/revoke.crl')dnl
define(`confCLIENT_CERT', `/etc/mail/certs/cert.pem')dnl
define(`confCLIENT_KEY', `/etc/mail/certs/key.pem')dnl
define(`confTLS_SRV_OPTIONS', `V')dnl Not to bother to ask for client certificates
dnl
define(`confAUTH_OPTIONS', `A')dnl Send AUTH= only when authenticated
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl List mechanisms trusted to authorize relaying
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
dnl
define(`confLOG_LEVEL', `9')dnl
define(`confDEF_CHAR_SET', `unknown-8bit')dnl
define(`confDELIVERY_MODE', `background')dnl
define(`confMAX_MESSAGE_SIZE', `20971520')dnl
define(`confMAX_DAEMON_CHILDREN', `500')dnl
define(`confSMTP_LOGIN_MSG',$j)dnl
define(`confPRIVACY_FLAGS', `goaway,restrictmailq,restrictqrun')dnl
define(`confFORWARD_PATH', `')dnl
define(`confMAX_RCPTS_PER_MESSAGE', `100')
define(`confCONNECTION_RATE_THROTTLE', `100')dnl
define(`confBAD_RCPT_THROTTLE', `10')dnl
define(`confTO_IDENT', `0s')dnl
define(`confTO_QUEUERETURN', `3d')dnl
define(`confTO_QUEUEWARN', `4h')dnl
define(`confTO_ICONNECT', `5s')dnl
define(`confTO_CONNECT', `3m')dnl
define(`confTO_HELO', `2m')dnl
define(`confTO_MAIL', `1m')dnl
define(`confTO_RCPT', `1m')dnl
define(`confTO_DATAINIT', `1m')dnl
define(`confTO_DATABLOCK', `1m')dnl
define(`confTO_DATAFINAL', `1m')dnl
define(`confTO_RSET', `1m')dnl
define(`confTO_QUIT', `1m')dnl
define(`confTO_MISC', `1m')dnl
define(`confTO_COMMAND', `1m')dnl
define(`confTO_STARTTLS', `2m')dnl
define(`confDONT_PROBE_INTERFACES', `true')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
DAEMON_OPTIONS(`Name=MTA, M=E')dnl
DAEMON_OPTIONS(`Port=465, Name=587, M=s')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl

Quote:
Originally Posted by submit.mc
Code:
divert(0)dnl
VERSIONID(`')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confCF_VERSION', `bla_bla_bla')dnl
define(`QUEUE_DIR', `/var/spool/mqueueclient')dnl
define(`confPRIVACY_FLAGS', `goaway,noetrn,restrictqrun')dnl
define(`confDEF_CHAR_SET', `unknown-8bit')dnl
define(`confDELIVERY_MODE', `background')dnl
define(`confMAX_MESSAGE_SIZE', `20971520')dnl
define(`confMAX_DAEMON_CHILDREN', `500')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl

mailq was 1500+ messages...

normally it is 20-50 mails
where to look? Smilie

by the way, i have changed ndd /dev/tcp time_wait to 20 seconds but it wasn't last month, it was done 1 year ago.

---------- Post updated at 03:07 PM ---------- Previous update was at 02:48 PM ----------

i have running sendmail processes:
Code:
ps -ef | grep sendmail
    root  5589   361   0 14:05:36 ?           0:00 /usr/local/lib/sendmail -bd -q15m -O LogLevel=9
    root  5524   361   0 14:05:23 ?           0:00 /usr/local/lib/sendmail -bd -q15m -O LogLevel=9
    root  5616 28016   0 14:05:44 pts/2       0:00 grep sendmail
    root   361     1   0 13:42:05 ?           6:51 /usr/local/lib/sendmail -bd -q15m -O LogLevel=9
   smmsp   364     1   0 13:42:05 ?           0:00 /usr/local/lib/sendmail -Ac -q15m -O LogLevel=9

as i understand mailq should be pocessed every 15m ?

----------------------------------------------------
I have email in mailq:
Code:
q76EKCuK007301     3163 Mon Aug  6 17:20 <user.name@do.ma.in>
                 (Deferred: 421 Your address has been graylisted. Try again la)
                                         <another.username@another.doma.in>

if i will execute
Code:
sendmail -v -qRanother.username@another.doma.in

it will be processed... but it should be processed automatically

-----------------------------------------------------
for information:
my mailq -Ac is empty...
and mailq is growing.

-----------------------------------------------------

logs show that message was proceeded only twice, when it was greylisted, and last, when i forced queue with sendmail -v -q

Last edited by lpic.lt; 08-08-2012 at 02:55 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailq regex match

Hi, # mailq | awk '{match($0, /quota/)} {print $0}' | head -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 9A6A7DE117E 84309 Sat Sep 30 14:14:50 alerts-noreply+xxxxx=xxx.sg@xxx.xx.xxx (host alt1.gmail-smtp-in.l.google.com said: 452-4.2.2 The email account that you... (2 Replies)
Discussion started by: ashokvpp
2 Replies

2. Shell Programming and Scripting

Log file grows

I am having the script works as below If the folder is not create, the file are stored in a temporary folder to wait for the folder creation. The Script tries and tries again to reach the folder. The result is that the log file grows and some time is also geting wasted in the operation. can... (1 Reply)
Discussion started by: yadavricky
1 Replies

3. UNIX for Dummies Questions & Answers

No mail sending - Deferred: 403 4.7.0 TLS handshake failed

Please help! I am in urgent need of assistance. What started out as a small problem with IMAP folders not working seems to have spread. Our mail server, Scalix running on CentOS 5.5 isn't sending out any mail. There are now over 400 emails queued waiting to go out, all of which give the... (0 Replies)
Discussion started by: beckyboo
0 Replies

4. Shell Programming and Scripting

Shell Script with mailq

Hi All, I'm a unix starter.. Need your help please. I need to write a simple shell script to implement mail queue size check. Pseudo code: Run mailq command If the queue size is greater than the predefined parameter (say 10), print message like : CRITICAL: Mail queue is XX . And exit 2... (1 Reply)
Discussion started by: vegabond
1 Replies

5. UNIX for Dummies Questions & Answers

mailx, why all my mail goes to mailq?

Hi, I sending mail like this: mailx -s "test" -r "from@me.com" to@you.com and I have update the /etc/mail/sendmail.cf with: DSsmtp-relay-nx-vip.xxx.yyy.com (this path is working on the old server) But all I mail goes to queue. What do I miss here? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

6. Cybersecurity

found exploit mailserver through mailq?

First of all an appeal on all specialists to be understandfull with me, newbie. I have a RaQ 550 that I have to admin bymyself. I have executed mailq and found out that there are mails in the queu that I did not sent. Is someone exploiting my server? Here is an example of the report: ... (1 Reply)
Discussion started by: rolandk
1 Replies

7. Shell Programming and Scripting

AWK and mailq

I need a simple script to parse the output of the mailq command and find emails from overseas addresses and delete them (ie user@xxx.co.uk, user@xxx.yyy.jp). I found something close: mailq | tail +2 | awk 'BEGIN { RS = "" } / *.co.uk / {print $1} ' | tr -d '*!' | postsuper -d - but I... (2 Replies)
Discussion started by: Retski
2 Replies

8. UNIX for Dummies Questions & Answers

mailq

Dear guys !! Problems do not finish .. i have sun solaries 7 ,, ultra2 ,, mail server .. am checking server mailq now and it is loaded ,, so many requests up to 300 request . i checked netstat and did not find many or starnge smtp packets . but when i execute mailq i get mailq as... (3 Replies)
Discussion started by: tamemi
3 Replies

9. UNIX for Advanced & Expert Users

deferred: connection timed out with NT

We recently installed a new release of SCO UNIX (5.0.6) and when I try to relay e-mail from the UNIX box to my NT server (the mail server) I get the following message from sendmail. Deferred: Connection timed out with nt I have nt set up as my relay server in sendmail.cf and the mail seems to... (8 Replies)
Discussion started by: jmossman
8 Replies
Login or Register to Ask a Question