[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [FW-1] spool directory
Mathew, Thanks I have implemented a script based on that. The only problem I am seeing is getting the mail interface working. It looks like the resolution did not work first time which I have fixed but there seems to be some mail stuck in the queue. Do you know where the mail queue for the mail server on the box resides so I can clean it up as I think my mail command will now work but I get an error message for a previous message whenever I try and send a mail. thanks Mark ----- Original Message ----- From: "Matthew Brown" <[email protected]> To: <[email protected]> Sent: Friday, December 07, 2001 4:09 PM Subject: Re: [FW-1] spool directory > Mark, > We run a similar service pack on the IP 440 and have had that > problem as well. The followig is a script that I wrote, there are probably > better ones, but this one works for us. Let me know if you have any > questions, > > Matthew > > This is a script that I aptly titiled "mail" where I wanted to notified > whenever the number of messages in the mail queue was more than 20. > > **************************************************************************** > *********************** > #!/bin/sh > echo "The number of email messages in the firewall spool directory > is:" > /var/admin/alert > echo >> /var/admin/alert > ls /opt/FireWall-1-strong.v4.1.SP-5/spool |wc|awk '{print $1}' >> > /var/admin/alert > > limit=20 > num_mail=`ls /opt/FireWall-1-strong.v4.1.SP-5/spool |wc|awk '{print $1}'` > > if [ $num_mail -ge $limit ]; then > mail -s FW1_Mail_Queue_Alert [email protected] < > /var/admin/alert > fi > > **************************************************************************** > ************************ > > > Matthew Brown > Information Technology > Chick-fil-A, Inc. - www.chick-fil-a.com >> > > -----Original Message----- > From: Mark Ward [mailto:[email protected]] > Sent: Friday, December 07, 2001 6:04 AM > To: [email protected] > Subject: [FW-1] spool directory > > > I am on 4.1 SP2 on an IP440. We get a problem sometimes where the security > server stops forwarding mail and starts queueing it in the spool directory. > After I issue the fw mdq command this starts to clear down. However I am > looking for a way to monitor how many mails are queued so I can be alerted > before this becomes critical. Has anybody implemented this on Nokia. > > > regards > Mark Ward > > =============================================== > To unsubscribe from this mailing list, > please see the instructions at > http://www.checkpoint.com/services/mailing.html > =============================================== > > =============================================== > To unsubscribe from this mailing list, > please see the instructions at > http://www.checkpoint.com/services/mailing.html > =============================================== > ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= To set vacation, Out Of Office, or away messages, send an email to [email protected] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= If you have any questions on how to change your subscription options, email Ron Alcatraz at: [email protected] =================================================
|