PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|LinuxGazette|issue112.txt =

page 4 of 95




 See also: The Answer Gang's [44]Knowledge Base and the LG [45]Search Engine
     _________________________________________________________________

     * [46]make fetchmail use procmail
     * [47]nfs lockups, fix your pagesize
     * [48]alien killer cheesecake eludes search, apropos apprehended
     * [49]Exporting a del.icio.us feed to a Netscape bookmark file
     * [50]Re: [LG 110] help wanted #1
     * [51]Linux mail and HTML
     * [52]Converting Mailman's text archives to mbox
            ____________________________________________________

make fetchmail use procmail

   Heather Stern ([53]The Answer Gang's Editor Gal)
   Question by billp_ in #hants ()
   16:10 * billp_ makes a hasty sendmail change to allow unresolvable domains
   16:19 * billp_ goes back to default sendmail behavior
   16:40 < billp_> editorgal : do you know how to tweak sendmail & fetchmail so
   that it accepts everything? I seem to have got to the point where every few
   spams jams fetchmail before it can be handed over to my local spamassasin
   16:41 < billp_> I get these timeouts:
   16:41  <  billp_>  SMTP  error:  451  4.1.8  Domain  of sender address
   acetylene3@twobusbone.com does not resolve
   16:41 < billp_> not flushed
   16:41 < billp_> fetchmail: client/server protocol error while fetching from
   localhost
   16:41 < billp_> fetchmail: Query status=4 (PROTOCOL)
   16:41 * billp_ googles some more
   16:42 <@editorgal> fetchmail retreives from pop so it'll take anything you
   say
   16:43 <@editorgal> I always use a command line that forces things to be
   forced
   16:43 < billp_> Spam is jamming it dead at the moment - forcing me to ssh
   into
   16:43 < billp_> the hosting comany every 20 emails to manually delete one
   16:44   <@editorgal>  fetchmail  -v  -a  -m  "/usr/bin/procmail  -f  -
   /home/heather/.procmailrc"
   16:46 < billp_> So through procmail before the MTA?
   16:46 <@editorgal> I'm telling fetchmail to not try any funny business, do
   it my way
   16:47 <@editorgal> that my way includes procmail directly skips the local
   MTA
   16:47 * billp_ tries the same
   16:58 < billp_> Well done :D
   16:58 < billp_> It must have been sendmail waiting so long for DNS lookups
   for
   16:58 < billp_> non-existant domains that the pop server was timing out
   16:59 <@editorgal> yes and the pop being elsewhere, that's harder to control
   17:00 <@editorgal> it having accepted the mail at the spool there, any
   'damage' considered of storing it has already been done.
   17:01  < billp_> yes - and much more damage was being done by sendmail
   timewasting tactics when in fact it takes hardly any time at all to chuck
   once accepted
   17:02 < billp_> Superb editorgal :D This has been an irritant for ages
            ____________________________________________________

nfs lockups, fix your pagesize

   Heather Stern ([54]The Answer Gang's Editor Gal)
   Question by Rickeh in #hants ()
   18:22 <@thomas_adam> Have you tried temporarily using another machine as the
   NFS client to see if it locks up?
   18:23 <@Rickeh> ya
   18:23 <@Rickeh> BSD boxes dont lock up
   18:23 <@Rickeh> Most linux ones lock up
   18:23 <@thomas_adam> aaaah
   18:24 <@Rickeh> tho the desktop machine didnt previously.
   18:24 <@Rickeh> ah?
   18:25 <@thomas_adam> well..
   18:25 <@thomas_adam> what is the BFS server running?
   18:26 <@thomas_adam> *NFS
   18:26 <@Rickeh> Linux
   18:26 <@Rickeh> kernel 2.6.6 SMP to be precise
   . . .
   18:28 <@Rickeh> no, the server is Linux, I have BSD clients that dont lock
   up
   18:28 <@editorgal> something seems eerily familiar about this...
   18:28 <@Rickeh> its the Linux clients that have issues
   18:28 <@editorgal> Rickeh: do you set the page sizes for read and write
   during your NFS connects?
   18:28 <@Rickeh> nein
   18:28 <@editorgal> at my last company we did, religiously.
   18:28 <@editorgal> set em to 8k, see if it helps.
   18:29 <@thomas_adam> Well, there are compatability issues between Un*x
   versions of NFS that I have come across.
   18:29 <@Rickeh> and I would do this, how?
   18:29 <@editorgal> rsize= and wsize= flags in the fstab, if it's a roughly
   permanent mount
   18:29 * editorgal points at man pages
   18:30 * Rickeh notes this involves power cycling the client, again
   18:30 <@editorgal> sorry, but it's worth a try
   18:31 * Rickeh waits while the HD fscks itself
   18:34 <@Rickeh> oh crap
   18:35 <@editorgal> ?
   18:35 <@Rickeh> the box is in its "something I can handle happened! must
   reboot forever!" fsck mode.
   18:35 <@editorgal> wonder f*n ful
   18:39 <@Rickeh> i'll fiddle with it tomorrow night.
=4=

1|2|3| < PREV = PAGE 4 = NEXT > |5|6|7|8|9|10|11|12|13.95

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 


E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.012691 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU)