Re: Please Help Fast! /VAR is Full !

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

 



On Wed, Oct 29, 2003 at 09:47:08AM -0800, Staven Bruce wrote:
> 
> I really need to find out how I can clear the mqueue. The device is full
> according to the system, so I can't use 'sendmail -q'. I don't care if I
> loose all the messages in the que, they don't contain anything important and
> there are no other users on the machine besides myself. Can I 'rm * ' all
> the files in /var/spool/mqueue? I just need to get them out of there!

# service sendmail stop
# rm /var/spool/mqueue/*        or move them somewhere else
# service sendmail start
 
> Also, if someone can tell me how to turn off the automatic e-mail from cron
> I would appreciate it!

At the top of the cron job, you'll find a MAILTO variable.  That's who
gets the e-mail if it's not the user cron runs under (usually root).

To not have it send mail, don't generate any output, and that's going to
be different for your cron jobs.  I get very few that actually mail me
anything.  Some just have entries with >/dev/null in them.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux