On 06/05/02 at 22:46 - USM Bish said in public: >On Mon, May 06, 2002 at 09:57:41PM +0000, Rajesh Fowkar wrote: >> >> rblcheck.o: In function `do_rblcheck': >> /home/rajesh/tmp/compile/blackmail-0.31.pre5/rblcheck.c:173: undefined >> reference to `__res_query' >[snipped] >> /home/rajesh/tmp/compile/blackmail-0.31.pre5/dulcheck.c:182: undefined >> reference to `__res_query' >> dulcheck.o:/home/rajesh/tmp/compile/blackmail-0.31.pre5/dulcheck.c:198: >> more undefined references to `__res_query' follow >> collect2: ld returned 1 exit status >> make: *** [blackmail] Error 1 >> rajesh@debian:~/tmp/compile/blackmail-0.31.pre5$ >> >> Were you successful in compiling blackmail ? Which version ? >> >---end quoted text--- > >o These are undefined references error ... need to set up your > compile time switches for gcc with -lresolv. > >o I was successful > >o blackmail-0.31.pre5 compiled without error ... > >o Steps are: > > a) $perl Configure auto > b) To the prompt "Use embedded perl ?" Choose No. Buggy! > b) A file called Makefile.tmpl will be created
Yes. I did all this as given in the INSTALL file. > c) Edit this file. In the last line add: > > LDLIBS= -lresolv The above line was commented out in Makefile.tmpl. I removed the hash and now it compiled. Thanks. There an excellent utility out there which looks to be exactly what I need. Thanks to Dr. Shahrukh. --------------------------------------------------------------------------- Package: mailfilter Priority: optional Section: mail Installed-Size: 488 Maintainer: Joerg Jaspert (JJ) <[EMAIL PROTECTED]> Architecture: i386 Version: 0.3.2-4 Depends: libc6 (>= 2.2.4-4), libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810), debconf Filename: pool/main/m/mailfilter/mailfilter_0.3.2-4_i386.deb Size: 146174 MD5sum: 72db9cfadbd4c8a9637503e300f885bc Description: A program that filters your incoming e-mail to help remove spam. Mailfilter is very flexible utility for UNIX (-like) operating systems to get rid of unwanted e-mail messages, before having to go through the trouble of downloading them to the local computer. It offers support for one or many POP3 accounts and is especially useful for dialup connections via modem, ISDN, etc. Install Mailfilter if you'd like to remove spam from your POP3 mail accounts. . With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste. Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as e.g. procmail. . If you do not get your mail from a POP3-Server you don't need Mailfilter. --------------------------------------------------------------------------- This can be used along with fetchmail and continuous spam can be deleted before downloading them on the local computer. Will give it a shot. Peace -- Rajesh * [EMAIL PROTECTED] * http://www.symonds.net/~rajesh/ Powered By : Debian GNU/Linux 2.2 R-3 [Kernel 2.4.18(ext3),Mutt 1.3.28i] : [Linux One Stanza Tip] From : <[EMAIL PROTECTED]> LOST #131 -**< Sub : syslog output on console >**- syslog entries are output to file as per the configuration in /etc/syslog.conf .. To have the same thing also shown on a tty not in use, add the following to /etc/syslog.conf: # Output to tty9 as well, and Alt-F9 to view *.* /dev/tty9 : _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
