[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] flushing mail queue
- Subject: Re: [cobalt-users] flushing mail queue
- From: "Richard Owen" <richard.owen@xxxxxxxxxxxxxxx>
- Date: Thu Jun 27 09:07:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Excellent all done thankyou very much for your help
Richard
----- Original Message -----
From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, June 27, 2002 1:24 PM
Subject: RE: [cobalt-users] flushing mail queue
> <snip>
> >
> > Thanks for help
> > but could you Please expand on mailq
> >
> > I have been looking at home/spool/mqueue
> >
> > I can not delete the files, not authorised
> </snip>
>
> Sorry! Was one of those quick rushing out of the office type replies!
>
> After you ssh/telnet [use ssh though] in as ADMIN, you then need to become
the root superuser to perform this type of thing, so do a:
> su -
> then enter the admin password again. This will give you the relevant
permissions (but be carefull what you do!)
>
> If you then type mailq you'll get a listing of what is currently in the
queue, and also the mailq directories. An example would be like this (this
is from one of my RaQ3i's)
>
> [root /root]# 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
>
> This shows that nothing is waiting to be sent.
>
> However, opn yours it will display the list of mails currently waiting in
the outbound sendmail queue, simple navigate to the relevant directory:
> cd /var/spool/mqueue/q1
> and then delete the contents
> rm -f *
> (-f forces without prompting)
>
> Then issue a mailq again and it should come up with something like on
mine. Hope that explains it.
>
> Regards,
>
> Andy
> andy@xxxxxxxxxxxxxxx
> http://www.raqpak.com/ <-- Raq/Qube unofficial PKGs and support advice
>
>