From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16782 invoked from network); 21 Apr 2004 16:38:02 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 21 Apr 2004 16:38:02 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGKbN-00034j-Ix for listarch-gnats-devel@sources.redhat.com; Wed, 21 Apr 2004 12:29:33 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGKaz-00032L-TR for help-gnats@gnu.org; Wed, 21 Apr 2004 12:29:09 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGKaT-0002nl-QH for help-gnats@gnu.org; Wed, 21 Apr 2004 12:29:08 -0400 Received: from [199.199.210.160] (helo=chef.nerp.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGKNl-00085A-Ov for help-gnats@gnu.org; Wed, 21 Apr 2004 12:15:29 -0400 Received: from localhost (c-66-41-158-97.mn.client2.attbi.com [66.41.158.97]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by chef.nerp.net (Postfix) with ESMTP id 4D66A1FB47 for ; Wed, 21 Apr 2004 11:15:26 -0500 (CDT) Received: from chewie by localhost with local (Exim 4.31) id 1BGKNh-0003zj-Af for help-gnats@gnu.org; Wed, 21 Apr 2004 11:15:25 -0500 Date: Thu, 22 Apr 2004 11:01:00 -0000 From: Chad Walstrom To: help-gnats@gnu.org Message-ID: <20040421161525.GE14502@wookimus.net> References: <408666DF.20501@india.nsc.com> Mime-Version: 1.0 In-Reply-To: <408666DF.20501@india.nsc.com> X-Operating-System: Linux skuld 2.6.4-k7 X-GnuPG-Fingerprint: B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD Keywords: none User-Agent: Mutt/1.5.5.1+cvs20040105i Subject: Re: help required in installing gnat 4.0 version X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0692810518==" Mime-version: 1.0 Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q2/txt/msg00070.txt.bz2 --===============0692810518== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gvF4niNJ+uBMJnEh" Content-Disposition: inline --gvF4niNJ+uBMJnEh Content-Type: multipart/mixed; boundary="AH+kv8CCoFf6qPuz" Content-Disposition: inline --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2624 On Wed, Apr 21, 2004 at 05:49:43PM +0530, arunkurse wrote: > I am Arun , working as system administrator . I need to clarify > certain doubts regarding gnats version 4.0 . >=20 > 1. Is it possible to install gants4.0 on solaris 8??? I don't see why not. > 2. If possible what should be the mininum patch level on solaris 8?? Define "minimum patch level". > 3. How much space does it consume for installation and configuration=20 > of database ??? The programs are relatively small, especially if you compile them dynamically linked. The size of the database will be proportionate to the number of reports you expect to receive. Each problem report is stored in a separate file on the filesystem in plain-text. The format of each report is a modified RFC822 Internet message, and is fully compliant with that standard. These PR's are not compressed, but can be archived and aged. Currently, we have just over 3000 problem reports in our database directory. All of these were received over email, and MIME attachments were not removed (so a significant portion of the space used is a result of spam and viruses). The space consumption is currently around 21MB. This could probably be reduced by at least one third if we re-categoriezed many of the "pending" PR's to "spam" and removed them: 5.9M pending 3.4M spam 1.8M email 1.6M pc-sw 1.3M server 1.3M mac-sw 1.1M gnats-adm 772K website 736K general 496K pc-hw 488K network 392K windows 348K macintosh 248K mac-hw 228K printer 192K novell 124K lists 108K mmaker 68K biosci 40K projects 32K web-cgi 16K security 16K gnats 8.0K glycine 4.0K gnats-queue 4.0K mcb-xserve 108K test Taking a quick cursory glance over the vast majority of problem reports, space consumption falls around the 4k mark, the typical block size for most filesystems. Space would be recovered here on a filesystem like reiserfs, which specializes in storing many small files. Some quick math would reveal that for every 1000 Problem Reports, on average you should be consuming 4000 blocks or 4000KB of space. Additional space savings could be realized through MIME filtering/conversions of submitted emails through procmail filters. We already block emails larger than 50KB in size. Some emails are sent with both plain-text and HTML attachments, and some are HTML-only. Our procmail filter is attached to give you some ideas on how to handle such things. --=20 Chad Walstrom http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */ --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=procmailrc-gnats Content-Transfer-Encoding: quoted-printable Content-length: 3371 # $Id$ # GNATS procmail file # # - MH style mail folders # - Use this instead of alias for "bugs" aliases instead of pipes so that we # can preprocess emails first # - First order of business, spam filtering. # - Spam filtering is available on mail server, but we want local control # - Add autoacks for queue submissions (Reply-to: nobody) # # Administrative email still should be aliased to "root" # # See also: procmail(8), procmailrc(5), procmailex(5), procmailsc(5), # formail(8), lynx(1), bzip2(1), gnats(7), queue-pr(8), mail-query # MAILDIR=3D$HOME/Mail SHELL=3D/bin/bash DEFAULT=3Dinbox/. COMSAT=3Dno MY_ADDR=3Dgnats@BUGHOST.MYDOMAIN MY_XLOOP=3D$MY_ADDR YEAR_MONTH=3D`date +%Y-%m` MAXSIZE=3D51200 LOGABSTRACT=3Dyes VERBOSE=3Dno LOGFILE=3Dprocmail-${YEAR_MONTH}.log # Kill duplicates :0 Wh: msgid.lock | formail -D 8192 msgid.cache=20 # Spam filtering before archiving :0 fw * ! ^X-Spam-Status: Yes | /usr/bin/spamc -s $MAXSIZE -d SPAMASSASSIN-HOST.MYDOMAIN # Attempt to archive and save to spam folder :0 * $ < $MAXSIZE * ^X-Spam-Status: Yes { :0 wc | /usr/bin/bzip2 -9 >> spam-${YEAR_MONTH}.mbox.bz2 :0 spam/. } # Compressed Archive if not spam and not too large :0 c * $ < $MAXSIZE * ! ^X-Spam-Status: Yes { :0 w | /usr/bin/bzip2 -9 >> received-${YEAR_MONTH}.mbox.bz2 :0 e backup/. } # Score Kill List -- positive score to kill # Only matching headers so far :0 H * -99^0 # Basic mailer daemon filtering * 100^0 ^FROM_DAEMON * 100^0 ^From.*(postmaster|mailer-daemon|root) * 100^0 ^Precedence:.*(bulk|junk) # VIRUSES and BANNED files * 100^0 ^From.*abuse@cbs\.umn\.edu * 50^0 ^Subject:.*(VIRUS|BANNED) # Spammers * 100^0 ^From.*webadmin@coastal\.gov\.bb * 100^0 ^From.*@bp\.com * 100^0 ^From.*\(via the vacation program\) * 100^0 ^From.*derek\.yikes@shaw\.ca * 100^0 ^From.*wseas_ece@canada\.com # Spam phrase matching * 100^1 ^Subject:.*NPSAS Initiative { :0 * ^Message-Id:\/.* # Already archived. Log message id for reference. {=20 LOG=3D"Killed Message-ID: $MATCH "=20 } # Kill it :0 /dev/null } # Fix HTML-only email :0 * ! ^Content-Type: multipart/ * ^Content-Type: text/html { # Change body with lynx and append footer :0 fbw | (lynx -dump -force-html -stdin; echo ""; \ echo "-=3D-=3D[CONVERTED FROM HTML VIA LYNX]=3D-=3D-") # Prepend body header :0 Afbw | (echo "-=3D-=3D[CONVERTED FROM HTML VIA LYNX]=3D-=3D-"; cat -) # Change header content-type (preserve old) :0 Afhw | formail -i "Content-Type: text/plain" } # Route PR's to queuing program PR_REGEX=3D'(bugs|help|webmaster|request)' :0 w * $ ^TO$PR_REGEX {=20 # We've been getting very large files. We would like to reject these # with a friendly note. This is in bytes (50K). There is no copy # here, because we want to quell this email (and it's already # archived). :0 * $ > $MAXSIZE | ( formail -r ; cat toobig.txt ) | $SENDMAIL -oi -t # save to failed-queue :0 A failed-queue/. # Queue the problem :0 | /usr/lib/gnats/queue-pr -q # Save if failed queue-pr :0 e failed-queue/. } # Route mail queries through the mail-query program :0 w * ^TOquery-pr | /usr/lib/gnats/mail-query :0 e failed-query/. # Bounce mail addressed to gnats and gnats-admin to root user :0 fhw * $ ! ^X-Loop: $MY_XLOOP * ^TOgnats(-admin)? | formail -I"X-Loop: $MY_XLOOP"=20 :0 a ! -oi root@MYDOMAIN # Default email box (inbox/.) --AH+kv8CCoFf6qPuz-- --gvF4niNJ+uBMJnEh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAhp4dDMcLGCBsWv0RAsApAJ4x6l45UYs6XxSbP0QtfiBUfzS09wCfeS9s VRP3pvPNqCeJyORfofWoS8Q= =RKvj -----END PGP SIGNATURE----- --gvF4niNJ+uBMJnEh-- --===============0692810518== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 139 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats --===============0692810518==--