Am 20.10.2012 22:08, schrieb Jan P. Kessler:
> Hey guys,
> 
>> if [ `$mailq_count` -gt 50 ]; then echo "Mail count on Server is" 
>> `$mailq_count`|/usr/sbin/sendmail -f r...@example.com repo...@example.com ; 
>> fi
> 
> I'm not sure, if sending an e-mail about a "full mailqueue"-condition is
> the best way to go ;-)
> 
> cheers, Jan
> 

perhaps  use nagios, xymon etc monitor prog

so i.e the monitor client actions some mailq watch script
which results go to the monitor server, which alerts you via mail and/or
sms

-- 
Best Regards
MfG Robert Schetterer

[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich

Reply via email to