[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ4 - Mail Delivery & mqueue.in



On Tue, 30 Sep 2003 12:27:57 -0500, Larry Smith wrote
> On Tuesday 30 September 2003 11:37, Bill Runge wrote:
> > Good afternoon,
> >
> > Seem to have a bit of an issue with the RaQ today..
> > Users are unable to get their messages from the server, or shall I say
> > there are no messages awaiting them in their inbox.
> > First off the most obvious items have been checked;
> > *DNS is configured correctly
> > *SMTP/POP3 is running
> > *Maillog is relativley quiet
> > This RaQ is current with all patches direct from Sun. It is also running
> > the latest release of MailScanner and has been for at least two weeks with
> > no errors.
> > The best that I can figure is that mail is just spooling and not being
> > allocated (genalization)this is happening on incoming and outgoing mail.
> > When sending messages from this domain I get "stat=queued"...which tells 
me
> > that it processed the message.
> > [root spool]# mailq
> > /var/spool/mqueue/q1 is empty
> > /var/spool/mqueue/q2 is empty
> > /var/spool/mqueue/q3 is empty
> > /var/spool/mqueue/q4 is empty
> >                 Total Requests: 0
> > -AND-
> > Sep 30 10:35:09 ns1 sendmail[12136]: h8UFZ9i12136: 
from=<user@xxxxxxxxxxx>,
> > size=860, class=0, nrcpts=2, msgid=<BAY2-F144oGoX3skGQw000251
> > a7@xxxxxxxxxxx>, proto=ESMTP, daemon=MTA, relay=bay2-f144.bay2.hotmail.com
> > [65.54.247.144]
> > Sep 30 11:13:51 ns1 sendmail[15488]: h8UGDni15488: to=<user@xxxxxxxxxxx>,
> > delay=00:00:02, mailer=esmtp, pri=30531, stat=queued
> >
> > Have "normal" amount of sendmail/qpopper instances found in ps -aux
> >
> > The only thing that I find disturbing is....
> > [root spool]# ls -la
> > lrwxrwxrwx 1 root root 24 Sep 30 10:56 mqueue ->../../home/spool/mqueue/
> > lrwxrwxrwx 1 root root 27 Sep 30 10:56 mqueue.in
> > ->../../home/spool/mqueue.in/
> >
> > -VS-
> > (The size of mqueue.in)
> > [root spool]# ls -la
> > total 2847
> > drwxr-xr-x    5 root     root         1024 Sep 30 10:53 .
> > drwxr-xr-x   21 root     root         1024 Aug 20 22:45 ..
> > drwxrwxr-x    2 root     mail        30720 Sep 30 11:26 mail
> > drwxr-xr-x    6 root     root         1024 May 13 07:44 mqueue
> > drwxr-xr-x    2 root     root      2868224 Sep 30 11:26 mqueue.in
> >
> > So, is this my issue I am not sure.....would appreciate any assistance
> > though. -Bill
> >
> 
> Sounds like you have mailscanner loaded and it has stopped working 
> for some reason or has not been "restarted" correctly...
> 
>   Run /etc/rc.d/init.d/mailscanner stop
>  then /etc/rc.d/init.d/mailscanner start
> 
> and see what happens.  Please be aware that on *nix systems, once a 
> directory "grows" it will never shrink back by itself.  Usually what 
> I do is clear the queues, make sure all mail is delivered, then stop 
> everything, remove the large directory (rm -r <dirname>) then 
> recreate it (mkdir <dirname>).  Make sure you note the owner and 
> permissions and do this from the "real" directory not the link or 
> you will "ruin" many things.
> 
> -- 
> Larry Smith
> SysAd ECSIS.NET
> sysad@xxxxxxxxx

Just a question or to reconfirm my thinking....mqueue.in is all incoming mail 
correct? If this is the case,...I would hate to (rm -r <dirname>) with valid 
messages in that directory....at this point I found this 
http://www.patoche.org/LTT/daemon/00000073.html and am wondering if anyone 
has tried running the script listed (modified of course).
And just another question for confirmation....this sounds to me why users are 
not able to get there messages. But, why can I not send mail to for 
example...hotmail...log files appear that the message was succesfully sent 
but message never arrives.

--Thanks, Bill