Re: [gentoo-user] [OT?] memtest results: need new ram?

2005-03-04 Thread Christopher Fisk
On Sat, 5 Mar 2005, Dion Sole wrote:
An acceptable number of errors is about 1 error per pass. 2 is pushing it.
The only acceptable number of errors per pass is 0.  Any more than than 
and you need to RMA the memory.  (Or just replace it if it's out of 
warranty)

Christopher Fisk
--
BOFH Excuse #378:
Operators killed by year 2000 bug bite.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Error Compiling Kernel 2.4.28-r5 with OpenMosix

2005-03-04 Thread Christopher Fisk
On Fri, 4 Mar 2005, Raphael Melo wrote:
Hi there,
  I had the following error trying to compile the OpenMosix kernel:
make[1]: Leaving directory `/usr/src/linux-2.4.28-openmosix-r5/drivers'
COMMAND: make j0 CC="gcc" LD="ld" AS="as" modules_install
make: *** No rule to make target `j0'.  Stop.
   I know it is about a module (modules_install tells me that) but I
don't know what module asks for j0.
j0 looks like a number of concurrent processes.  Like it should be -j1 or 
-j2, etc.  I don't know what exactly is causing that error, but that might 
give you a bit of an idea where to start.

Christopher Fisk
--
One of Bender's kids: Can we have Bender burgers again? 
Bender: No, the cat shelter's onto me.
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Install with Netgear FA311?

2005-03-03 Thread Christopher Fisk
On Thu, 3 Mar 2005, Alex Stagg wrote:
I think the NIC is good - it is brand new. Sorry I forgot to mention that I
have WinNT4 installed on another partition with the Netgear driver and I
have no networking problems (no symptoms, also checked the event logs) when
running that. I dunno if it sill applies these days but I also tried changed
the machine's BIOS settting for an "other OS" (the other option for that is
a "Windows OS"). It used to be this kind of thing had to be set for the PCI
bus to get set up by the BIOS. I think I tried it both ways. This is an
older machine (400Mhz AMD K6).
Did using the tulip driver help?
Christopher Fisk
--
A boy without mischief is like a bowling ball without a liquid center.
-- Homer Simpson, Lisa the Greek
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Install with Netgear FA311?

2005-03-03 Thread Christopher Fisk
On Thu, 3 Mar 2005, Alex Stagg wrote:
I have a universal live CD 2004.3. When I boot it detects my FA311 card and
configures the natsemi driver for it, but when traffic is attempted I get
lots of messages "eth0: PCI error 0x80" and nothing gets through. The
Netgear CD only has drivers for 2.2 and 2.4 kernels (a different driver than
natsemi). Will I need to install everything from CD and then build a 2.4
kernel with the Netgear driver or is there another way to get this running?
You can also try the tulip driver.
If it still doesn't work I would verify that the NIC is good.  The FA 
series of cards are extremely well supported under linux.  I've been using 
them since the 2.2 series of kernel.

Christopher Fisk
--
Calculon: I'm programmed to be very busy.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Need sendmail help

2005-03-03 Thread Christopher Fisk
On Thu, 3 Mar 2005, Michael Sullivan wrote:
Mail is flowing here at espersunited.com, but SMTP connection is really
slow.  Takes over a minute to connect to the server box and send an
email.  I checked the FAQ and sendmail.org and it suggested something I
could try.  I tried it, and it spead smtp up by a few seconds, but not
much more.  The FAQ said that if their fix didn't work it was probably a
DNS issue.  I don't think there's much I can do about it for now until I
learn more about DNS...
Probably reverse DNS.
24.117.226.93 has no reverse DNS setup, my personal preferance when I'm on 
a residential connection is to smarthost my sendmail configuration through 
my ISP.  (It's actually very good practice)

add the following to your sendmail.mc file
define(`SMART_HOST',`your.isp.mailserver')dnl
That way all outgoing messages will go out through your ISP's server.
Also, if you are connecting from the internal side you can setup a hosts 
file on the sendmail box with your internal IP Address given a name.

192.168.1.3 two-proc_secure
192.168.1.4 jen2
etc...

Christopher Fisk
--
BOFH Excuse #88:
Boss' kid fucked up the machine
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Need sendmail help

2005-03-03 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
I set the MX record (correctly, I hope).  Can you
9:10am ([EMAIL PROTECTED]) /home/chrisf (24) dig mx espersunited.com
; <<>> DiG 9.2.3 <<>> mx espersunited.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16766
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;espersunited.com.  IN  MX
;; ANSWER SECTION:
espersunited.com.   3600IN  MX  10 espersunited.com.
;; AUTHORITY SECTION:
espersunited.com.   172800  IN  NS  ns2.e-names.org.
espersunited.com.   172800  IN  NS  ns1.e-names.org.
;; Query time: 2219 msec
;; SERVER: 24.93.1.248#53(24.93.1.248)
;; WHEN: Thu Mar  3 09:10:15 2005
;; MSG SIZE  rcvd: 97
9:10am ([EMAIL PROTECTED]) /home/chrisf (25) nslookup espersunited.com
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 24.93.1.120
Address:24.93.1.120#53
Non-authoritative answer:
Name:   espersunited.com
Address: 24.117.226.93

looks good from here.
Mail should be flowing at this point, but you'll prolly want to confirm 
that. =)

Christopher Fisk
--
Fry: I've only got two fantasies left: to be invisible in a chocolate 
factory, and to be romantically linked to a celebrity.
Bender: I could pound your head 'til you think that's what happened.
Fry: Okay.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Securing files in a USB stick

2005-03-03 Thread Christopher Fisk
On Thu, 3 Mar 2005, Jose Gonzalez Gomez wrote:
   I would like to put some sensitive information in my USB stick, so
I can take it with me (ssh private keys, certificates with private
key, maybe some file with bank users and passwords). It's evident that
losing that stick could cause me a lot of troubles, so is there any
way I can protect the information in it (maybe using a master
password), and be able to access it from Linux and Windows?
Try a crossplatform encryption program.  Keep the software on the keyright 
itself so you can run it from there (Build it statically for linux if 
needed) and go from there.

A quick search found this:
http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/

Christopher Fisk
--
Professor: "The thought of caressing that leathery hide makes the tapioca 
rise in my gullet" 
Fry: "Professor, please, the fate of the world depends on you getting to 
second base with Mom." 
Professor: "Very well, if cop a feel I must, then cop a feel I shall."
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
www.1Acccredited.com is hosting my DNS for me until I
can learn how to do it for myself.  According to them,
I have the following DNS settings:
@ (root) A 24.117.226.93
bullet   A 24.117.226.93
ftp  A 24.117.226.93
imap A 24.117.226.93
mail A 24.117.226.93
pop  A 24.117.226.93
smtp A 24.117.226.93
wwwCNAME   espersunited.com.
well, if you were hosting your own DNS it would be as follows in the file:
espersunited.com.IN  MX  10 espersunited.com.
I'm not sure about 1Accreddited's text box =)
Christopher Fisk
--
Star Tours
Note: bus does not leave earth
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
OK.  My message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] was successfully sent and
delivered to my evolution inbox.  I also sent a
message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and received it successfully.  I
would almost say that this problem is solved, except
that I send messages from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and they don't show up in my
evolution Inbox, yet I never get anything from the
Yahoo mailer-deamon saying that the messages couldn't
be delivered.  Here's my sendmail.mc if it matters:
bullet mail # cat sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31
g2boojum Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`access_db', `hash -T
/etc/mail/access')dnl
MAILER(local)dnl
MAILER(smtp)dnl

the line for access_db should be all one line, might want to verify that, 
it could just be breaking due to the mail client.


Also, in the backed-up files from /etc/mail in my FC1
install I found a file called virtusertable.  I
remembered that on FC1 I had to put associations
between addresses and user accounts in that file.  In
my Gentoo /etc/mail directory I didn't see a
virtusertable file.  Do I need to create one to make
this work?
No, virtusertable is a different feature not required for this setup.

here is your issue:
4:07pm ([EMAIL PROTECTED]) /home/chrisf (23) dig mx espersunited.com
; <<>> DiG 9.2.3 <<>> mx espersunited.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 23473
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;espersunited.com.  IN  MX
;; Query time: 6528 msec
;; SERVER: 24.93.1.119#53(24.93.1.119)
;; WHEN: Wed Mar  2 16:08:14 2005
;; MSG SIZE  rcvd: 34
4:08pm ([EMAIL PROTECTED]) /home/chrisf (25) dig esperunited.com
; <<>> DiG 9.2.3 <<>> esperunited.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20830
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;esperunited.com.   IN  A
;; AUTHORITY SECTION:
com.10800   IN  SOA a.gtld-servers.net. 
nstld.verisign-grs.com. 1109798105 1800 900 604800 900

;; Query time: 6723 msec
;; SERVER: 24.93.1.120#53(24.93.1.120)
;; WHEN: Wed Mar  2 16:08:58 2005
;; MSG SIZE  rcvd: 106
No MX record or A record for esperunited.com
Christopher Fisk
--
I WILL NOT FAKE RABIES
I WILL NOT FAKE RABIES
Bart Simpson on chalkboard in episode 8F07
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
Mar  2 12:42:01 bullet sm-mta[13086]: j22Ie8XY013086:
ruleset=check_rcpt, arg1=<[EMAIL PROTECTED]>,
relay=baby.espersunited.com [192.168.1.3], reject=550
5.7.1 <[EMAIL PROTECTED]>... Relaying denied
Mar  2 12:42:01 bullet sm-mta[13086]: j22Ie8XY013086:
from=<[EMAIL PROTECTED]>, size=0, class=0,
nrcpts=0, proto=ESMTP, daemon=MTA,
relay=baby.espersunited.com [192.168.1.3]
definately a configuration issue.  make sure that your sendmail.mc has
FEATURE(`access_db', `hash -T /etc/mail/access')dnl
and that your recreate your sendmail.cf with the command:
m4 sendmail.mc >sendmail.cf
(Don't forget to backup your existing configuration yada-yada-yada)
Then make sure esperunited.com is in /etc/mail/local-host-names
If neither of those suggestions work, you might want to post your 
/etc/mail/sendmail.mc so it can be checked for errors.


Christopher Fisk

espersunited.comRELAY
localhost   RELAY
localhost.localdomain   RELAY
baby.espersunited.com   RELAY
bullet.espersunited.com RELAY
blossom.espersunited.comRELAY
bubbles.espersunited.comRELAY
127.0.0.1   RELAY
192.168.1.1 RELAY
I tried to send the test message after I updated
/etc/mail/access and ran makemap.  The output of
/var/log/messages seems to me to say that the first
attempt to relay the message was denied, but a second
attempt was successful, but I can't find the message
on the server box and it's still sitting in
evolution's Outbox...
--- Christopher Fisk <[EMAIL PROTECTED]> wrote:
domain.  It won't even let me send mail to
[EMAIL PROTECTED]  It seems to think that
espersunited.com is an outside domain.  I searched
on
Google, but didn't find anything.  I read through
the
README.cf in the sendmail docs directory, but it
made
no sense to me.  I remember that I had the problem
with relaying mail to external domains with Fedora
Core 1, but I don't remember how I solved it.  Can
anyone help me out with this?
Without anything from your /var/log/mail.log I'm
venturing a guess...
/etc/mail/access
Example file:
yourdomain.com  RELAY
yourotherdomain.com RELAY
192.168.0   RELAY
127.0.0.1   RELAY
makemap hash access
Hope that helps,
Christopher Fisk
--
BOFH Excuse #388:
Bad user karma.
--
gentoo-user@gentoo.org mailing list


=


__
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list

--
   You can present the material, but you can't make me care.
  -- Calvin
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
domain.  It won't even let me send mail to
[EMAIL PROTECTED]  It seems to think that
espersunited.com is an outside domain.  I searched on
Google, but didn't find anything.  I read through the
README.cf in the sendmail docs directory, but it made
no sense to me.  I remember that I had the problem
with relaying mail to external domains with Fedora
Core 1, but I don't remember how I solved it.  Can
anyone help me out with this?
Without anything from your /var/log/mail.log I'm venturing a guess...
/etc/mail/access
Example file:
yourdomain.com  RELAY
yourotherdomain.com RELAY
192.168.0   RELAY
127.0.0.1   RELAY
makemap hash access
Hope that helps,
Christopher Fisk
--
BOFH Excuse #388:
Bad user karma.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Joseph wrote:
After upgrade to Firefox 1.0.1 when I try to reload slashdot page "./" I
usually need to hit "reload" button twice.  The first time it display
empty page (just the frame) after second click it display the page
correctly.
Did anybody experience this strange behavior?
This is a known issue with the slashdot HTML.
Christopher Fisk
--
Oh, well, of course, everything looks bad if you remember it.
-- Homer Simpson, El Viaje Misterioso de Nuestro Homer
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Collins Richey wrote:
You probably love emacs, too .
I still don't know why someone would want to run an Operating system like 
emacs inside of thier operating system of Linux.  But I digress...

:w!
ZZ
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Antoine wrote:
I have never really been interested in Grub cos it is more complicated 
than lilo, and lilo has never given me any probs at all (I always 
install to mbr as well).

One huge advantage of grub over lilo is the fact that you can edit the 
boot choices from within grub, so if you find out you typo'd something, 
you can edit it and still get in without booting to a rescue disk.

Christopher Fisk
--
BOFH Excuse #345:
Having to manually track the satellite.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Neil Bothwick wrote:
On Tue, 1 Mar 2005 10:30:38 -0500 (EST), Christopher Fisk wrote:
What fun is life without a little danger :)
You are asking that of a person who makes a living at IT?  I much prefer a 
nice boring day than a "Fix it or your fired" day.


As with the other methods proposed, you should always keep a backup of
your existing boot setup.
Here is one for the archives:
#This will backup the MBR, but *NOT* the partition table
dd if=/dev/hda of=mbr.bin bs=448 count=1
#This will backup the MBR + Partition tables
dd if=/dev/hda of=mbr.bin bs=512 count=1
you can restore by going the other way.
Or, if you aren't sure which you'll need, just backup the whole thing
dd if=/dev/hda of=mbr.bin bs=512 count=1
And you can restore the whole thing if needed.  Or, if you only need the 
boot loader, you can just do the first 448 of that mbr.bin

dd if=mbr.bin of=/dev/hda bs=448 count=1
Backups *ARE* run. =)

When testing distros, I prefer to keep the whole distro in one place,
instead of mixing files from different distros in one partition. I have
done it this way, but keeping them separate makes for easier removal. If
you need to have two or more distros permanently installed, integrating
them as you suggest makes more sense, although in that case,  prefer to
have the secondary distros in VMWare to save rebooting to get at hem.
Perhaps I'm just past the part where screwing with partitions bothers me. 
Experiance is key in that department.

Another advantage to this (Assuming the same version of gcc is used for
each distribution) is that you can use the same kernel for every
distribution.
Some distros expect you to be using their, often heavily, patched kernels
and may fall over when running without some of those patches.
Bah, first thing I do is to get the latest vanilla kernel and use that.
Christopher Fisk
--
BOFH Excuse #195:
We only support a 28000 bps connection.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Neil Bothwick wrote:
The other way, which works especially well when you are continually
adding and removing distros, is to set up your main distro normally, then
install the bootloader for the other distros into the root partition of
that distro, instead of the MBR. Then you only need the following entry in
grub.conf to boot the alternate distro and nothing else on your main setup
is touched.
title Some other distro
root (hdX,Y)
chainloader +1
The disadvantage of this is that you need to have a working bootloader on 
each partition, and if you install a bootloader incorrectly for that 
distribution of the day, you can wipe out your existing bootloader.

Certainly go with whatever you feel most comfortable with, but I'm the 
type of person who would prefer to have all my kernels in one place.

Another advantage to this (Assuming the same version of gcc is used for 
each distribution) is that you can use the same kernel for every 
distribution.

Christopher Fisk
--
It must be awful to be a girl. I'm sure it's frustrating knowing that men 
are bigger, stronger and better at abstract thought than women.  Really, 
if you are a girl, what would make you go on living?
	--Calvin, Dictator-For-Life, of GROSS (Get Rid Of Slimy girlS)



--
Cop: "He's making a break for it. Get him!" 
Fry: "No, no, I was just picking my nose." 
Cop: "He's picking his nose. Get him!"
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Root cannot open display

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Bill Roberts wrote:
When I'm logged on as a user, and I try to open gvim or firefox by
su'ing or sudo'ing as root, I get the following error.
E233: cannot open display
This is an X security thing.  Instead of launching Firefox from a su'd 
session, why not install sudo and run sudo firefox?

The other option is to look into xhosts and figure out how to set the 
magic key.


Christopher Fisk
--
BOFH Excuse #184:
loop found in loop in redundant loopback
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Mon, 28 Feb 2005, Bo Grimes wrote:
Right now I have Linux on hdb3 and Windows 98 on hda1 with a FAT32 partition 
for Windows apps on hdb1. HDB2 is swap. I want to keep the 6 gig hda1 with 
Windows just for a few educational games my kids still use that wouldn't run 
on XP, but I want to use hdb1 for Gentoo.
This will work fine, grub can handle plenty of multiboot situations.

I have never put two versions of Linux on one computer.  I want to keep hdb3 
for my use while installing Gentoo on hdb1.  Is this do-able?  Are there any 
pitfalls to watch out for?
Well, one obvious pitfall is accidentally formatting the wrong partition 
(guilty of that ONCE, and ONCE only) =)

In my time of using linux, I've found the easiest way to multiboot 
different distributions is to share a common /boot between them all, where 
you put all your kernels into that partition, and have a single grub.conf 
for everything (Which can be managed from any of the distributions).

In my ideal partition scheme for multiple distros on hdb, with windows on 
hda I would have the following partition scheme:

Grub installed on the MBR of hda
hda1 is a windows partition
hdb1 /boot
hdb2 SWAP
hdb3 / for distro 1
hdb4 / for distro 2
Note that you can setup extended partitions if you want to break out /home 
and share that between distro's.

your grub.conf would be similar to:
default 0
timeout 10
splashimage=(hd1,0)/grub/splash.xpm.gz
title=distro1
root (hd1,0)
kernel /distro1-2.6.10 root=/dev/hdb3
title=distro2
root (hd1,0)
kernel /distro2-2.6.8.1 root=/dev/hdb4
title=Windows
root (hd0,0)
chainloader +1

This method will scale up to as many drives and distro's as you can toss 
into the machine.

Hope this gets you on your way,
Christopher Fisk
--
If you want to stay dad you've got to polish your image. I think the image
we need to create for you is "repentant but learning".
-- Calvin
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] uuencode

2005-03-01 Thread Christopher Fisk
On Mon, 28 Feb 2005, David Corbin wrote:
Where is uuencode packaged?
I believe it is uulib
That said, you might look into the uudeview package.  Supports more 
mimetypes and seems to be a dropin replacement for uudecode.

Christopher Fisk
--
Bender: This is the Brooklyn-bound B train making local stops at wherever 
the hell I feel like, watch for the closing doors.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo support

2005-02-24 Thread Christopher Fisk
On Thu, 24 Feb 2005, Neil Bothwick wrote:
On Thu, 24 Feb 2005 13:28:56 -0500 (EST), Christopher Fisk wrote:
Not sure about the paid support, but (IMO) the correct way to rollout an
update to your servers is to get another machine with the same software
setup that you can test on.  If you have a webpage or app that you need
to  upgrade, then do it on your test machine, then roll out an update to
your  gentoo machine.  This is true for almost all types of systems.
Yes,  buying another machine will cost you little bit, but the first
time it  prevents downtime, it's practically paid for.
This also has the advantage of not having to load up your production
servers with compilation. Use the --buildpkg option when installing on the
test server and --usepkg on the production machine. Just make sure PKGDIR
points to the same shared directory on all machines.
Well, PKGDIR doesn't have to be the same directory, you could just move 
them over manually.  This ensures that your system has less points of 
possible compromise.

I'd like to give another advantage of this system.  The test machine can 
become a type of "hot spare" if something happens to the original server. 
Thus giving you another layer of backup for your system.  If you have a 
nightly backup that is loaded onto the test server daily you'll be all set 
in the case of emergency.

And, this is getting off topic now, but if you have a backup solution in 
place, you really should go through the disaster recovery procedure of 
that backup procedure so when the emergency does happen, you are sure you 
know how to implement the fix =).  I've seen that come back to bite people 
in the ass before.


Christopher Fisk
--
BOFH Excuse #45:
virus attack, luser responsible
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Gentoo support

2005-02-24 Thread Christopher Fisk
On Thu, 24 Feb 2005, Grant wrote:
I've been trying to figure out a way to test software updates before I
make them to production systems, and I've come to the conclusion that
that's just not the way to do it.  I think I'll be updating the
old-fashioned way.  The thing is, I'm sure this will cause system
problems sooner rather than later.  Critical system problems will need
to be fixed with no time to lose.  This list is great and very
responsive, but what about when my server won't serve and no one is
chiming in?  Is paid Gentoo support available?
Not sure about the paid support, but (IMO) the correct way to rollout an 
update to your servers is to get another machine with the same software 
setup that you can test on.  If you have a webpage or app that you need to 
upgrade, then do it on your test machine, then roll out an update to your 
gentoo machine.  This is true for almost all types of systems.  Yes, 
buying another machine will cost you little bit, but the first time it 
prevents downtime, it's practically paid for.

Christopher Fisk
--
I CANNOT ABSOLVE SINS
I CANNOT ABSOLVE SINS
Bart Simpson on chalkboard in episode AABF14
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Reply-To: header seems broken

2005-02-23 Thread Christopher Fisk
On Wed, 23 Feb 2005, Christopher Fisk wrote:
I agree, in fact, I will probably end up replying to the wrong person on some 
threads, which can become annoying.  But that said, if you have access to 
procmail you can use the following recipe to keep from getting duplicate 
messages:


:0 Wh: msgid.lock
$FORMAIL -D 8192 .msgid.cache

It keeps a list of all message id's sent to you and deletes duplicates. Great 
for instances such as this.  (it's been useful for me because of all the lists 
I am on)
Also, if you have procmail, you can mung your own reply-to into lists that 
don't use it.

http://www.wecs.com/replytorc.htm
Christopher Fisk
--
I WILL NOT BURY THE NEW KID
I WILL NOT BURY THE NEW KID
Bart Simpson on chalkboard in episode 9F03
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Reply-To: header seems broken

2005-02-23 Thread Christopher Fisk
On Wed, 23 Feb 2005, Holly Bostick wrote:
Don't forget also changing CC: for the list to To: and the fact that anyone 
who doesn't feel like removing those additional entries will double my 
incoming mail for any thread I have responded to (because I'm in the CC so I 
get it personally, and I get it from the list).
I agree, in fact, I will probably end up replying to the wrong person on 
some threads, which can become annoying.  But that said, if you have 
access to procmail you can use the following recipe to keep from getting 
duplicate messages:


:0 Wh: msgid.lock
| $FORMAIL -D 8192 .msgid.cache
It keeps a list of all message id's sent to you and deletes duplicates. 
Great for instances such as this.  (it's been useful for me because of all 
the lists I am on)

Christopher Fisk
--
Now, son, you don't want to drink beer.  That's for daddys, and kids with
fake IDs.
-- Homer Simpson, The Springfield Files
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] VPN solution

2004-01-19 Thread Christopher Fisk
>> I've been using CIPE for VPN'ing between Linux systems as well as for
>> remote Windows users to log into the company network through a Linux
>> firewall running CIPE.  It's easy to set up, very reliable and quite
>> fast, and offers a Windows port as well for those who haven't seen the
>> light yet. :)
>> 
>> The downside is that it is not as flexible as IPSEC, but then, it's a
>> lot easier to configure and administer, and it serves very well in many
>> situations where you do not really require the added features of IPSEC.

Cipe also has a terrible authentication scheme.  While the traffic itself 
is encrypted at whatever keyrate you specify, the key exchange is only at 
32 bits, which is trivial to crack.

Depending on your security requirements this may not be an issue, but it's 
something you want to keep an eye on.


Christopher Fisk
--
Bender: He's a witch! 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I killed my xp boot sector with grub

2004-01-08 Thread Christopher Fisk
>Is there a way to restore the winXP boot sector without reinstalling xp? 

Boot with a win9x bootdisk.  use fdisk to mark the windows XP disk as the 
active partition.  Then use the command: fdisk /mbr

That will return the MBR To windows XP bootable.  Marking the XP partition 
active may or may not be neccesary, but it won't hurt.  When you are done 
just unmark it as active in fdisk, and try to boot.


After this you'll want to reinstall grub like you did previously, except 
to the MBR instead of to the first partition on hda

Christopher Fisk
--
BOFH Excuse #390:
Increased sunspot activity.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] File list from package?

2003-12-18 Thread Christopher Fisk
On Thu, 18 Dec 2003, Michael Balamuth wrote:

>Hello List,
>Being a newbie to gentoo, I'd like to know if there is a simple way to
>extract the file list and file destinations for a package like one can do in
>debian?

As other have posted you can use qpkg, or if you are familiar with rpm you 
can use epm to query packages as well, which uses the same syntax as RPM 
does.


Christopher Fisk
--
Marge:  Name one of your child's friends.
Homer:  Uh, let's see, Bart's friends ... Well, there's the fat kid with 
the thing; uh, the little wiener whose always got his hands in his 
pockets.
Saturdays of Thunder

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with Mirc under wine

2003-09-05 Thread Christopher Fisk
On Fri, 5 Sep 2003, Chris I wrote:

>Sounds like a font problem, or possibly a localization problem, but why  
>mess with wine when you can use x-chat, or one of the many other  
>excellent native clients?

Agreed, BitchX is the client to use for IRC, in windows and in linux =)


Christopher Fisk
--
BOFH Excuse #12:
dry joints on cable plug

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SMTP auth with qmail

2003-09-04 Thread Christopher Fisk
On Thu, 4 Sep 2003, Kjetil Brekke wrote:

>PS Isn't it time auth over smtp became somewhat of a standard. Would make
>it easier over time to kill the spam business.
>Just a thought ;)

Open Relays used to be a problem, but have mostly been taken care of.  In 
fact, open relays are extremely rare on the internet.  Much more of a 
problem are indirect open relays, such as insecure proxy servers.

Locking down SMTP to allow relay only from your IP Address blocks as an 
ISP does the same thing as SMTP authentication does in regards to blocking 
spam.  The advantage SMTP authentication gives you is that you can send 
email while not on the IP addresses of your ISP (while travelling for 
example).

What needs to be done to combat spam is a sort of sender authentication.  
Which can't be completely implemented without going to another standard.  
We're at pop3, why not smtp2...

As it stands, it is too easy to lie about where an e-mail message has been 
and who it is from, and that is perfectly valid to do with the current 
version of SMTP.


Christopher Fisk
--
A BURP IS NOT AN ANSWER
A BURP IS NOT AN ANSWER
Bart Simpson on chalkboard in episode 9F07

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Triple boot sys

2003-09-04 Thread Christopher Fisk
>>Is there anything you think I should know about puting together a Triple 
>>Boot Sys Using Win XP, Gentoo and FreeBSD befor I get started?
>>
>>1-20Gig HD WinXP   1-80Gig HD Gentoo/FBSD

Make the WindowsXP Disk the primary Master drive, and make the first 
primary partition the Windows Partition (If you use multiple partitions).  
After XP is installed you can install Gentoo/FBSD in whichever order you 
prefer.

Also, if it is not Windows XP home edition, and you want to use FAT32 for 
the drive partition type you need to format the partition using an 
external utility, not while installing WindowsXP.  Something like a Win98 
Boot disk will to that.  That will enable you to access the WindowsXP 
drive from within FreeBSD/Gentoo, but will remove the NTFS partition 
advantages.

I think in my case I would make a 5-10GB FAT32 partition on the 
FreeBSD/Gentoo drive for sharing files to the Windows XP partition, and 
make the main WinXP partition NTFS.


Christopher Fisk
--
"This is the kind of castle King Arthur would have lived in... if he were a
fiddler crab." -Fry 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] /etc/group

2003-09-02 Thread Christopher Fisk
>My request is: can someone send his group file so I can extract what I'm 
>missing (if this is not too big a security risk? :-))

root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,adm
adm::4:root,adm,daemon
tty::5:
disk::6:root,adm
lp::7:lp
mem::8:
kmem::9:
wheel::10:root
floppy::11:root
mail::12:mail,smmsp
news::13:news
uucp::14:uucp
man::15:man
cron::16:cron
console::17:
audio::18:
cdrom::19:
dialout::20:root
ftp::21:
sshd::22:
at::25:at
tape::26:root
video::27:root
squid::31:squid
gdm::32:gdm
xfs::33:xfs
games::35:root
named::40:named
mysql:x:60:
postgres::70:
cdrw::80:
apache::81:
nut::84:
usb::85:
vpopmail:x:89:
users::100:games
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
portage::250:portage
utmp:x:406:
nogroup::65533:
nobody::65534:
chrisf:x:407:
sweetp:x:408:
proftpd:x:409:
smmsp:x:410:mail,smmsp
george:x:1005:
slocate:x:1006:
xcdwrite:x:1007:
freenet:x:1008:


Christopher Fisk
--
RALPH WON'T "MORPH" IF YOU SQUEEZE HIM HARD ENOUGH
RALPH WON'T "MORPH" IF YOU SQUEEZE HIM HARD ENOUGH
Bart Simpson on chalkboard in episode 2F08

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-29 Thread Christopher Fisk
On Fri, 29 Aug 2003, Andrew Gaffney wrote:

>Nick Van Vlaenderen wrote:
>  > "You Might Be A Programmer If ... Before you move into a new house or
>> apartment, the most important thing to you is the type and amount of 
>> wiring with which it is equipped."
>
>That's me! :)

My most important thing about when I buy a house will be if there is high 
speed access available.  I can run the wireing myself, or even use 
wireless, but dialup just isn't an option anymore.


Christopher Fisk
--
BOFH Excuse #342:
HTTPD Error 4004 : very old Intel cpu - insufficient processing power

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail "notification"

2003-08-29 Thread Christopher Fisk
On Fri, 29 Aug 2003, Jason Stubbs wrote:

>My guess is that it is not directly possible with procmail. I'm guessing that 
>I'd have to use some sort of script to pipe each e-mail message through. Any 
>suggestions on how I could write such a script?

I've answered this on the forums at 
http://forums.gentoo.org/viewtopic.php?t=23703&postdays=0&postorder=asc&start=6

The perl script would be edited to have the proper phone number, but that 
should do what you are looking for.



Christopher Fisk
--
BOFH Excuse #106:
The electrician didn't know what the yellow cable was so he yanked the 
ethernet out.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dual-head setup

2003-08-29 Thread Christopher Fisk
On Thu, 28 Aug 2003, Frank R Callaghan wrote:

>I have been trying to get a Matrox 450 to run two ViewSonic 17
>on my new gentoo system with no luck :( the card gets detected correctly
>the framebuffers allocated fb0, fb1 I have edited XF86Config as
>per instructions found on the web but initially starting kdm the two
>screens are just copies, after switching to a terminal and back to X
>the first terminal returns the second is black !
>I guess I'm missing something here - Is there a step-by-step setup that
>works for gentoo somewhere ?, any suggestions ?

I have a G450 running in Dual head mode.  My XF86Config file is available 
at:  http://24.169.2.45/~chrisf/XF86Config-4

Let me know if you have any issues converting it.

Christopher Fisk
--
SPITWADS ARE NOT FREE SPEECH
SPITWADS ARE NOT FREE SPEECH
Bart Simpson on chalkboard in episode 8F01

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] email system for the home network

2003-08-14 Thread Christopher Fisk
On Sun, 10 Aug 2003, rh wrote:

>Fetchmail / Procmail is working. But where exactly does fetchmail put 
>your email before it passes it to procmail?

Fetchamil normally will pass the message to your local MTA.  be it 
sendmail/postfix/qmail/etc.  Your MTA will then process the mail and pass 
it to procmail.


>And if I am losing emails due to a bad procmailrc, how would I know it?

I use the following in my .procmailrc:

:0 fhw
| $FORMAIL -I "From " -a "From "

:0 c
.backup

:0 ic
| cd $MAILDIR/.backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`


where .backup is a folder in ~/.maildir


This will make a copy of the last 100 messages in the .backup directory.  
It will keep that directory pruned, to only contain the last 100 messages.  
You will want to check that occasionally to see if you are losing any 
mesages, but in general, you shouldn't be losing any.  Check your 
procmail.log file.


Christopher Fisk
--
You've been rubbing my nose in it since I got here!  Your family is better
than my family, your beer comes from farther away than my beer, you and
your son like each other, your wife's butt is higher than my wife's butt!
You make me sick!
-- Homer Simpson, Dead Putting Society

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Sorting already existing mail into folders?

2003-08-04 Thread Christopher Fisk
On Mon, 4 Aug 2003, Fred Van Andel wrote:

>> The code is:
>>
>> cd path/to/dir/new
>> for file in *; do
>>  procmail < $file
>> done
>>
>
>That method will only work if you are using maildirs but not if you
>are using mbox format.  It maybe easier to do the filtering
>directly in your mail client.

In that case you'll want to use formail

man formail


Christopher Fisk
--
BOFH Excuse #195:
We only support a 28000 bps connection.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] preventing users from escaping their home dirs

2003-07-31 Thread Christopher Fisk
On Thu, 31 Jul 2003, Patrick [ISO-8859-1] Börjesson wrote:

>> Does that accomplish what you are looking for?
>
>Although I don't have a better idea, I don't think that's what he's
>looking for since luser won't be able to navigate through his/her
>home-directory at all (according to bash's man-page, search for rbash).

In that case chrsh might be what he is looking for.  He will have to copy 
things like ls, bash, ps, etc into the chroot area, but that would 
restrict him down pretty good as well.

http://www.aarongifford.com/computers/chrsh.html

Was developed under FreeBSD, but I've got it working on Gentoo right now 
on my home machine that I gave someone a completely separate chroot'd area 
to work in.


Christopher Fisk
--
Homer:  Well, the evening began at the Gentleman's Club, where we were
discussing Wittgenstein over a game of backgammon.
Scully: Mr. Simpson, it's a felony to lie to the FBI.
Homer:  We were sitting in Barney's car eating packets of mustard.  Ya
happy?
   The Springfield Files

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] preventing users from escaping their home dirs

2003-07-31 Thread Christopher Fisk

>> > some users on my server have SSH access to the machine, but I don't
>> > want them to be able to leave their home directories (ee.
>> > /home/userXYZ).
>> >
>> > What is the "best" way to implement this, does anybody know?
>> > Greetings and TIA, Matthias

# adduser luser
# ln -s /bin/bash /bin/rbash
# echo "/bin/rbash" >> /etc/shells
# chsh -s /bin/rbash luser
# cd ~luser
# su luser
$

and then:

$ cd /
rbash: cd: restricted


Does that accomplish what you are looking for?


Christopher Fisk
--
Bender: "Is he dumb or just ugly?" 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail for several users

2003-07-24 Thread Christopher Fisk
On Thu, 24 Jul 2003, Patrick Marquetecken wrote:

>Now my problem is how to distribute all that mail to the mailboxes of 
>those users. I can use procmail and filter for TO: and drop the mail in 
>his Maildir, and then let sylpheed do the filtering for the subfolders.
>I think that qmail will be to heavy for my system. 

fetchmail will deliver the messages to the right users.

set postmaster "root"
set bouncemail
set properties ""
set daemon 300
poll mail.domain1.net with proto POP3
   user "janedoe" there with password "password" is janedoe here options fetchall 
keep warnings 3600
   user "freddoe" there with password "password" is someoneelse here options 
fetchall keep warnings 3600
   user "johndoe" there with password "password" is johndoe here options fetchall 
warnings 3600
poll mail.domain2.net with proto POP3
   user "johndoe" there with password "password" is johndoe here options fetchall 
warnings 3600



Hope that helps,


Christopher Fisk
--
TAR IS NOT A PLAYTHING
TAR IS NOT A PLAYTHING
Bart Simpson on chalkboard in episode 7F02

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Spam Query

2003-07-24 Thread Christopher Fisk
On Wed, 23 Jul 2003, Angel Gabriel wrote:

>Is there any spam filters out there, that can maybe redflag certain
>email, which it thinks is spam, so that I can use my mailer to filter it
>out, and then change the 'spam filter' if it gets it wrong?

I use procmail, Spambouncer (http://www.spambouncer.org), and SpamAssassin 
for this.  Everything is filtered by procmail.  If it is from a known 
mailing list or sender, it gets filtered into the proper folder, then spam 
checks start.  First I check and see if the message is HTML only.  If this 
is the case it is tagged as spam and put into my spam folder.  Next I see 
if it is from netscape, yahoo, or hotmail, and check to verifyu that the 
message is really from those servers.  If it is not from those servers, 
then the from address has been forged, and it is put into my spam folder.  
>From there SpamBouncer processes the messages and tags what it thinks is 
spam, then spamassassin processes the messages and tags what it thinks is 
spam and tagged spam is put into my spam folder, untagged messages (very 
few at this point) are put into my inbox.

Here is an example of my .procmailrc

--- Begin .procmailrc

# Settings for Spambouncer and Procmail
DEFAULT=/home/chrisf/mail/.mbox
LOGFILE=/home/chrisf/procmail.log
MAILDIR=/home/chrisf/mail
FORMAIL=/usr/bin/formail
SBDIR=/home/chrisf/antispam
ADMINFOLDER=admin
[EMAIL PROTECTED]
ALWAYSBLOCK=NONE
ARABIC=no
BLOCKFOLDER=${HOME}/mail/procmail-filtered
BLOCKREPLY=SILENT
BULKFOLDER=${HOME}/mail/procmail-filtered
BYPASSWD=BYPASSWORD
CHINESE=no
CYRILLIC=no
DATE=date
DEBUG=no
DORKSLCHECK=no
DSBLCHECK=no
DSBLMULTICHECK=no
DULCHECK=no
ECHO=echo
EXECHECKING=yes
EXEDOCCHECKING=yes
FILTER=yes
FREEMAIL=INTERNAL
FTSGDIALCHECK=no
FTSGIGNORECHECK=no
FTSGMULTICHECK=no
FTSGOPTOUTCHECK=no
FTSGOTHERCHECK=no
FTSGRSSCHECK=no
FTSGSRCCHECK=no
FTSGWEBFORMCHECK=no
GARBLEDCHARSET=yes
GLOBALNOBOUNCE=NONE
GREEK=no
GREP=fgrep
HEBREW=no
JAPANESE=no
KOREAN=no
LEAN=yes
LEGITLISTS=NONE
LOCALHOSTFILE=${HOME}/.localhostfile
MONKEYFORMMAILCHECK=yes
MONKEYPROXYCHECK=yes
MYEMAIL=${HOME}/.myemail
NOBOUNCE=${HOME}/.nobounce
NOLOOP=${ALTFROM}
NSLOOKUP="nslookup -sil"
ORDBCHECK=no
OSDIALCHECK=no
OSHAVENCHECK=no
OSOOLCHECK=no
OSOPSCHECK=no
OSORCHECK=no
OSSHRCHECK=no
OSSPAMCHECK=no
PATTERNMATCHING=SILENT
PROXYSOCKS=no
RBLCHECK=no
RFCIPWHOISCHECK=yes
RM=rm
RSLCHECK=no
RSSCHECK=no
RUSSIAN=no
SBDEBUG=no
SBTEMP=/tmp
SBTRAP=NONE
SENDMAIL=/usr/sbin/sendmail
SPAMFOLDER=${HOME}/mail/procmail-filtered
SPAMCOPCHECK=no
SPAMHAUSORGCHECK=yes
SPAMREPLY=SILENT
SPEWSCHECK=no
TEST=test
THISISP=${HOST}
TURKISH=no
TWOMBITCHECK=no
VIRUSCHECKING=yes
VIRUSFOLDER=${HOME}/mail/virus

# Rebuild the From address to make sure it is valid
:0 fhw
| $FORMAIL -I "From " -a "From "

# E-mail addresses that are known to not be spammers
# Mostly just my personal friends
:0
* ^(From):.*([EMAIL PROTECTED]|\
[EMAIL PROTECTED]|\
[EMAIL PROTECTED])
.mbox

:0
* ^(List-Id):.*Gentoo Linux mail*
gentoo-user

# Mark messages that are HTML without the correct
# Charset.  Only spammers have that.
:0 fhw
*   ^Content-type: text/html
* ! html; charset=
* ! from hotmail
| ${FORMAIL} -A "X-Spammers: text/html only message"

# Detect spam with fake hotmail return address
:0 fhw
*   ^(From|Return-Path):[EMAIL PROTECTED]
{
   :0
*   ^From: ".+" <[EMAIL PROTECTED]>
*   ^X-OriginalArrivalTime:
*   ^X-Originating-IP: \[[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+]
*   ^Received: from hotmail.com \(\/...
* $ ^Message-ID: <[EMAIL PROTECTED]>
{ }

:0 Efhw
| formail -A "X-Spammers: fake hotmail"
}

# Detect spam with fake yahoo return address
:0 fhw
*   ^(From|Return-Path):[EMAIL PROTECTED]
{
   :0
*   ^Message-ID: <([0-9.]+\.qmail|[0-9]+\.[0-9A-Z]+)@\/[a-z0-9-]+\. 
yahoo\.[a-z.]+
* $ ^Received: from .+by $MATCH
{ }

:0 Efhw
| formail -A "X-Spammers: fake yahoo"
}

# detect spam with fake netscape return address
:0 fhw
*   ^(From|Return-Path):[EMAIL PROTECTED]
{
   :0
*   ^X-Mailer: Atlas
*   ^Received: from +netscape.*MAILIN
*   ^Return-Path: <\/[EMAIL PROTECTED]
* $ ^From:.*$MATCH
* $ ^Received: from $MATCH.*by [a-z0-9.-]+\.aol\.com
*   ^Message-ID: <[EMAIL PROTECTED]

:0 Efhw
| formail -A "X-Spammers: fake netscape"
}

:0fw
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
procmail-filtered

:0
* ^(X-Spammers):.*
procmail-filtered

:0
* ^(X-Spam-Flag):.YES
procmail-filtered

INCLUDERC=/home/chrisf/antispam/sb.rc

:0
* ^(X-SBClass):.Blocked
procmail-filtered

:0
* ^(X-SBClass):.Admin
admin

:0
* ^(X-SBClass):.Bulk
procmail-filtered

:0
* ^(X-SBClass):.Spam
procmail-filtered

:0
* ^(X-SBClass):.Virus
virus

:0
* ^(X-SBClass):.OK
.mbox


--- End .pr

Re: [gentoo-user] POP question

2003-07-22 Thread Christopher Fisk
On Tue, 22 Jul 2003, Bobby R. Cox wrote:

>I heard of or read about an app that tricks the pop customer into
>thinking they are checking their mail as often as they like, but only
>really allows one check per an allotted time.  
>
>Am I remembering correctly or is this just wishful thinking. 

I don't know of anything like this, but I think i would handle this on a 
per user basis.  Give the customer a call and let them know that checking 
for e-mail every minute is not necessary.  If they are waiting for a 
message to arrive, they can hit the send receive button and get it that 
way.

Personally, I think 5 minutes is a good timeframe for checking e-mail, 
although on slow days at work I bet I check it every minute for new 
messages from my various mailing lists.

I've run ISP's that range in size from 200 users to 2000 users and never 
had a problem with people popping in often.  Sure we had users who would 
pop in every minute, but it didn't put any noticable strain on the server.  
It was an old P133 with 64MB of ram running RedHat 4.0 if that tells ya 
how long ago =)


Christopher Fisk
--
BOFH Excuse #264:
Your modem doesn't speak English.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Tiger MP S2460 and lm_sensors

2003-07-22 Thread Christopher Fisk
On Tue, 22 Jul 2003, Tom Wesley wrote:

>Could anyone with a similar board and 2 MP 2400's check their output with my 
>own?

2:59pm ([EMAIL PROTECTED]) /root/tsm-1.0 (17) tsm

-= Copyright(c) 2001-2003 Tyan Computer Corporation=-
-= =-
-= Hardware Monitoring Utility  1.0=-
-= for S2462   =-

Loop #0

CPU1 Fan = 0.000 cyc/s
CPU2 Fan = 0.000 cyc/s
Chassis Fan 1 = 0.000 cyc/s
Chassis Fan 2 = 80.000 cyc/s
Chassis Fan 5 = 0.000 cyc/s
Chassis Fan 6 = 0.000 cyc/s
CPU1 Core Volt = 1.696 Volt
CPU2 Core Volt = 1.696 Volt
System Volt 3.3V = 3.200 Volt
System Volt 5V = 4.761 Volt
System Volt 12V = 11.781 Volt
System Volt -12V = -12.276 Volt
AGP Volt = 1.552 Volt
DDR Volt = 1.232 Volt
Battery Volt = 3.328 Volt
Standby 3.3V = 3.360 Volt
CPU1 Temp = 59.000 C degree
CPU2 Temp = 48.000 C degree
VRM1 Temp = 59.000 C degree
VRM2 Temp = 61.000 C degree
DDR Temp = 61.000 C degree
AGP Temp = 61.000 C degree


Mine is a 2460 with a single AthlonXP 1800+

I have 5 case fans, (The silentPC type, very quiet) 1 processor fan, Fan 
on the NVidia GF4 TI4200, Fan in the Power Supply.


Hope that helps,

Christopher Fisk
--
BOFH Excuse #36:
dynamic software linking table corrupted

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] sshd login messages?

2003-07-22 Thread Christopher Fisk
On Tue, 22 Jul 2003, Mark Fisher wrote:

>Jul 22 15:15:34 caesar sshd(pam_unix)[2169]: session opened for user mark by
>(uid=1000)
>Jul 22 15:15:37 caesar su(pam_unix)[2174]: session opened for user root by
>mark(uid=1000)

Et tu brutus?


Christopher Fisk
--
BOFH Excuse #62:
need to wrap system in aluminum foil to fix problem

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Poll #2

2003-07-21 Thread Christopher Fisk
On Sun, 20 Jul 2003, matt gossage wrote:

>scaleability, and perfomance

Answered to the e-mail provided.

Has nothing to do with Scaleability, or performance for me.  I guess I was 
more interested in portage.  Apt seemed like a good idea, but IMO was 
always way behind what was available.  I'm not exactly cutting edge, but I 
don't want to be using the razor you just threw away because it's so old 
either. =)

When I ran Red Hat I always had issues with RPMs not having the right 
libraries installed to get them working.  I was at the point with these 
that I would get the SRPM instead of the RPM and recompile it on the fly 
and install from that.  That way you knew when you installed the RPM that 
everything would work for you.  (Well most of the time).

Gentoo just made it so I'm getting the "SRPM" everytime.


Christopher Fisk
--
BOFH Excuse #71:
The file system is full of it

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Local mail

2003-07-17 Thread Christopher Fisk
On Thu, 17 Jul 2003, Brian Downey wrote:

>Tell me again how Microsoft is making computing trustworthy?!

You can completely trust them to get it wrong?


Christopher Fisk
--
BOFH Excuse #405:
Sysadmins unavailable because they are in a meeting talking about why 
they are unavailable so much.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Local mail

2003-07-17 Thread Christopher Fisk
On Thu, 17 Jul 2003, Brian Downey wrote:

>> That still doesn't change the fact that currently, in version 8.9.12 there
>> are no known security issues with the sendmail distribution.
>
>There are no known exploits the current patched version of Windows XP I
>use at work, either.

Yes there are.  They have been reported to Microsoft and Microsoft chooses 
not to fix/acknowledge them.

I know Ie6 is not Windows XP, but most Windows XP users have IE6 
installed, and microsoft says IE is a required part of the OS, so here you 
go:

http://pivx.com/larholm/unpatched/

But then, this wasn't a post about Windows XP/IE to begin with.


>> I'm not saying sendmail is more secure than QMail, I'm just saying it is
>> currently not less secure either.
>
>It is by inherent design flaws; not merely based on current code
>revisions.  It's "qmail", not "Qmail".  Sorry, pet peeve.

I have a pet Ferret. =)

>I'm sure everyone is very thankful that you properly set up your Sendmail
>server to work securely.  However, the unfortunate fact is that many MTA
>admins publically accessible Sendmail mail servers do not.

Perhaps they shouldn't be admin's then.  Getting a secure setup is a very 
easy thing to do.  Just like I think all the poeple who setup open proxy's 
and those who setup unsecured Wireless networks, I think that they should 
do a little bit of research before getting on the internet.  But then I 
guess I have way too high expectations of people.

>Because: Sendmail is needlessly complex due to years of patching on top of
>patching and rewrites; which in my opinion can lead to configuration
>mistakes.  I think any experience admin agrees that Sendmail tops the list
>for "Worst Configuration File" award.

I find the sendmail.mc file easy to configure and manage.  Setting up 
various features and settings are as easy as an entry into the mc file.  
Before the m4 macro was introduced, yeah, sendmail config was brutal, but 
having the simplicity of m4 along with the power of being able to hack the 
cf directly leads to a very robust system.


BTW:  This is completely getting offtopic.  They are both MTA's, they are 
both configurable to do what you need it to do, and they both get the job 
done.  Use what you are more comfortable with.


Christopher Fisk
--
He may have come up with the recipe, but I came up with the idea of
charging $6.95 for it.
-- Moe Syzlak, Flaming Moe's

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fdisk question

2003-07-17 Thread Christopher Fisk
On Thu, 17 Jul 2003, Patrick Marquetecken wrote:

>Hi,
>
>this is the my /etc/fstab
>/dev/hda10 /home   ext3 defaults   0 0
>
>and fdisk /dev/hda - p
>/dev/hda10 1108  3664  20539071b  Win95 FAT32
>
>Wy do i have here "b  Win95 FAT32" ?
>could the ID be wrong ? and can i change it without loosing data?

You can just change is in fdisk and write it.  That is just the partition 
table.  The thing that really matters to linux is the format, which in 
this case is ext2.  You just have a windows partition formatted with an 
ext2 format.

You can either change it, or just ignore it and not worry about it =)

Shouldn't cause any issues either way.


Christopher Fisk
--
BOFH Excuse #12:
dry joints on cable plug

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Local mail

2003-07-17 Thread Christopher Fisk
On Thu, 17 Jul 2003, Mikhail P. wrote:

>You probably do not know history of sendmail very well, my friend.

Been using sendmail since '97.  I know the history fine.  It is a history 
filled with open relays, root exploits and DOSing.  Did any of those 
affect me?  No, because I can read instructions and apply patches as 
needed.

That still doesn't change the fact that currently, in version 8.9.12 there 
are no known security issues with the sendmail distribution.

I'm not saying sendmail is more secure than QMail, I'm just saying it is 
currently not less secure either.

And, as was said, this is just a religious flamefest between Qmail and 
sendmail.  In my opinion you should use what works best for you.  Sendmail 
does what I need it to do, and does it securely. Every MTA, be it 
Sendmail, QMail, postfix, etc, should be watched closely for abuse by 
outsiders, by legitimate users and for things that can just go wrong (like 
a misconfigured remote server tyring to send your server a 3MB file that 
you reject based on size yet it keeps resending ignoring your 55x 
responce.)  If a sendmail flaw is found I will be either patching it 
manually, or just emerge -u sendmail and not thinking again about it.


Christopher Fisk
--
BOFH Excuse #407:
Route flapping at the NAP.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] test-- please ignore

2003-07-16 Thread Christopher Fisk
On Wed, 16 Jul 2003 [EMAIL PROTECTED] wrote:

>nothing here

OMG!! It's Jimmy Hoffa's Remains!  I knew you were hiding something!
--
Farnsworth: Oh no! I should do somethingbut i am already in my 
pajamas.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Poll:

2003-07-16 Thread Christopher Fisk
On Wed, 16 Jul 2003, Joao Sena Ribeiro wrote:

>On Wed, 2003-07-16 at 15:59, Christopher Fisk wrote:
>
>> This assumes we changed operating systems to start
>> running Gentoo.  What about when we just add Gentoo
>> to the list of operating systems we use?
>
>Perhaps you may answer with the operating system you use the most,
>besides Gentoo...

Gentoo at home on my desktop 99% of the time, other 1% of the time is when 
a friend comes over and we want to play a game together that machine gets 
booted into windows to play.

Windows XP Home edition on my laptop run 90% of the time, ssh'd into the 
Gentoo machine for e-mail and other services.

Debian linux as my workstation at the office, just because I don;'t have 
the time to reinstall it as Gentoo.

10x Gentoo based internet servers installed on Toshiba SG-10's (Taking the 
RedHat 6.1 off of them) for Firewall/Proxy/E-mail/Web Services for our 
managed customers onsite.

5 Legacy debian servers


The main reason we are moving out Debian servers to Gentoo is that Gentoo 
allows us to keep uptodate easier with packages easier than apt.  (Try 
using apt-get on a potato system to fix the openssh hole of 4 months 
ago...  not possible.  You had to made custome deb packages.

Portage will keep that from being a problem.


Christopher Fisk
--
   Hobbes : Shouldn't we read the instructions?  
   Calvin : Do I look like a sissy?

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Poll:

2003-07-16 Thread Christopher Fisk
On Tue, 15 Jul 2003, Fred Van Andel wrote:

>What operating system were you using BEFORE you used gentoo?
>
>ANSWER: >><<

This assumes we changed operating systems to start running Gentoo.  What 
about when we just add Gentoo to the list of operating systems we use?

Christopher Fisk
--
BOFH Excuse #320:
You've been infected by the Telescoping Hubble virus.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Which IMAP Server

2003-07-16 Thread Christopher Fisk
On Tue, 15 Jul 2003, Bobby R. Cox wrote:

>Hello, 
>
>Currently building a new mail server and I am trying to decide what IMAP
>to use.  I was seriously looking at courier-imap because it has pop3
>built in.  
>
>SMTP is going to be Postfix.  Any suggestions or comments?

I use Cyrus-IMAP, Sendmail and MailScanner.  This allows me to use 
Cyrus-sasl and do SMTP authentication viz a separate saslauthd and sasldb 
authentication file making it so the e-mail users are separate from actual 
users on the server.

Cyrus-IMAP also supports POP3.


Christopher Fisk
--
You know something, folks, as ridiculous as this sounds, I would rather
feel the sweet breath of my beautiful wife on the back of my neck as I
sleep than stuff dollar bills into some stranger's G-string.
-- Homer Simpson, Homer's Night Out

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Local mail

2003-07-16 Thread Christopher Fisk
On Tue, 15 Jul 2003, Mikhail P. wrote:

>You can try qmail, which is much smaller than sendmail and much more 
>secure.

I'm sorry, what known security issues are there with Sendmail 8.12.9?  
None?

How many known security issues are there with qmail?  None?

Since when is None "much more" than None?


Christopher Fisk
--
I WILL NOT USE ABBREV.
I WILL NOT USE ABBREV.
Bart Simpson on chalkboard in episode 2F33

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Slow performance...

2003-07-09 Thread Christopher Fisk
On Wed, 8 Jul 2003, Chris Graves wrote:

>sounds like a classic case of dma not enabled...
>
>try emerging hdparm, setting dma, and then setting hdparm to run at
>boot.

hdparm -d1 -c1 -k1 /dev/hdX


Christopher Fisk
--
 "Hey, sexy mama. Wanna kill all the humans?" -Bender 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SpamAssassin doesn't start

2003-07-08 Thread Christopher Fisk
On Mon, 7 Jul 2003, Jeremy Workman wrote:

> * Starting spamd...
>Can't locate HTML/Parser.pm in @INC (@INC contains: ../lib

This is the problem.

Type the following commands (As root):

perl -MCPAN -e shell

(go through the configuration as it asks you to, select to follow 
prerequisites when it asks you)

install HTML::Parser
quit


That will get you a new Parser.pm file.

Christopher Fisk
--
BOFH Excuse #327:
The POP server is out of Coke

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Sendmail and Return-Path Header

2003-07-07 Thread Christopher Fisk
-BEGIN PGP SIGNED MESSAGE-

On Mon, 7 Jul 2003, Joe Eversole wrote:

>my problem comes in with the Return-Path header at the top. I don't care
>if people know my box's name (as if it wasn't splattered all over the
>headers already), however, Gentoo's mail server software is trying to
>subscribe me with the return-path address, not the From field. I have
>tried hacking the sendmail.cf to make the Return-Path header go away
>completely but haven't had any luck. So, I'm turning here for
>assistance. Any one have a way to eliminate the Return-Path header?

Add the following to your /etc/mail/sendmail.mc file and rebuild your 
sendmail.cf from that.

MASQUERADE_AS(`mydomain.com')


Have fun,

Christopher Fisk
- --
BOFH Excuse #336:
the xy axis in the trackball is coordinated with the summer solstice
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iQCVAwUBPwmC9IEfDeDd9cftAQG4LQP/bEAkSOZQebQg9ov7YCzTrzjzuSgfJZBL
UQErGl/qfoQHtlyAKyV6WLWy0Be/cAmBqD96FroubCyg0HNwSa/jvCWHVQ+7CBl0
aa9mhV93LyBWcUGgReihgZKt2co1PtwCLouteduXEqTnMD1XmRo5oTGn8b+DpRsB
AA5ZUX0zrZY=
=UcxK
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Just cannot procmail filter gentoo-user!

2003-07-07 Thread Christopher Fisk
On Sat, 5 Jul 2003, Chris I wrote:

>I used this to filter to. The problem is that if somebody cc's you a 
>message, it still gets sorted to gentoo-user (which defeats the 
>purpose).

Not really, I want my gentoo-user e-mail to goto my Gentoo-user account.  
If they reply to the list and cc me directly I now I have multiple copies 
of the e-mail.

That is why I use the following recipe:

DEFAULT=/home/chrisf/mail/.mbox
MAILDIR=/home/chrisf/mail
FORMAIL=/usr/bin/formail

# Rebuild messages to verify the From address is valid
:0 fhw
| $FORMAIL -I "From " -a "From "

# Copy the message to a backp directory before doing anything 
# with it.  .backup should be a directory under $MAILDIR
:0 c
.backup

# This keeps your .backup directory clean, making sure that you
# only hold the last 100 messages in backup
:0 ic
| cd $MAILDIR/.backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`

# This keeps a list or messageid's, as well as deletes any
# messages that were sent to a mailing list and were also CC/BCC'd
# to you.  Will also keep you from getting other duplicates.
:0 Wh: msgid.lock
| $FORMAIL -D 8192 .msgid.cache

:0
* ^(To|Cc):[EMAIL PROTECTED]
gentoo-user

:0
* ^(To|Cc):[EMAIL PROTECTED]
gentoo-security

:0
* ^(To|Cc):[EMAIL PROTECTED]
gentoo-announce

# This recipe stops messages that are text/html without a
# charset.  This is an invalid method of e-mail transmission
# and is only known to be used by spam mailers.
# Besides, it's not readable for me in pine and you damn
# well better send me plain text e-mail =)
:0 fhw
*   ^Content-type: text/html
* ! html; charset=
* ! from hotmail
| ${FORMAIL} -A "X-Spammers: text/html only message"

# The Following 3 Recipes check to see if someone claiming to
# Be from yahoo, netscape and hotmail are really sending through
# hotmail/netscape/yahoo servers.  If not we can assume it is
# spoofed.  you will want to whitelist any people you know
# who send their messages from thier local ISP with a hotmail
# netscape or yahoo return address.

# hotmail-specific
:0 fhw
*   ^(From|Return-Path):[EMAIL PROTECTED]
{
   :0
*   ^From: ".+" <[EMAIL PROTECTED]>
*   ^X-OriginalArrivalTime:
*   ^X-Originating-IP: \[[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+]
*   ^Received: from hotmail.com \(\/...
* $ ^Message-ID: <[EMAIL PROTECTED]>
{ }

:0 Efhw
| formail -A "X-Spammers: fake hotmail"
}

# yahoo-specific
:0 fhw
*   ^(From|Return-Path):[EMAIL PROTECTED]
{
   :0
*   ^Message-ID: <([0-9.]+\.qmail|[0-9]+\.[0-9A-Z]+)@\/[a-z0-9-]+\. 
yahoo\.[a-z.]+
* $ ^Received: from .+by $MATCH
{ }

:0 Efhw
| formail -A "X-Spammers: fake yahoo"
}

# netscape-specific
:0 fhw
*   ^(From|Return-Path):[EMAIL PROTECTED]
{
   :0
*   ^X-Mailer: Atlas
*   ^Received: from +netscape.*MAILIN
*   ^Return-Path: <\/[EMAIL PROTECTED]
* $ ^From:.*$MATCH
* $ ^Received: from $MATCH.*by [a-z0-9.-]+\.aol\.com
*   ^Message-ID: <[EMAIL PROTECTED]

:0 Efhw
| formail -A "X-Spammers: fake netscape"
}

:0
* ^(X-Spammers):.*
procmail-spammers


>the "proper" way is with list-id, as I see dozens of people have 
>pointed out. For fun, heres my (very verbose) rule:

I've found the "proper" way to do things is the way that works the best 
for you.  Personally I hate being CC'd on list mail because I'm already 
getting one of the messages already.  If you reply just to me and not to 
the list I will still get the message.  Which is fine.



Christopher Fisk
--
Where is Bart, anyway?  His dinner's getting all cold and eaten.
-- Homer Simpson
   Bart After Dark

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] procmail question/problem

2003-06-27 Thread Christopher Fisk
On Fri, 27 Jun 2003, Alexander Puchmayr wrote:

>Hi folks!
>
>I've a small procmail trouble. 
>When I have a .procmailrc in users's home dir, its working fine. But when I 
>move that file to /etc/procmailrc, then it gets ignored.

You can force it in one of multiple ways.  You can add a symlink to the 
/etc/procmailrc file in thier home directory, or you can add an actual 
.procmailrc file and use and include line

INCLUDERC=/etc/procmailrc


Hope that helps,

Christopher Fisk
--
BOFH Excuse #245:
The Borg tried to assimilate your system. Resistance was futile.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Getting Mail

2003-06-26 Thread Christopher Fisk
On Thu, 26 Jun 2003, Christian Herzyk wrote:

>As I want to add some anti-spam tool I want to fetch the mail "centrally" for 
>all users. The part with fetchmail is fine. I played around a little with 
>postfix and procmail but I just don't get it.

Procmail is a fine tool for sorting and filtering messages.  But it is not 
self explanitory.  I would make sure you have a working system before 
setting up any spam filtering =)

>Which programs would you recommend for fetching my mail and storing it (either 
>in /var/mail or in /home/user/Mail)?

fetchmail, procmail and sendmail.

>Do you know a good howto that covers the whole thing? I found some but still I 
>am at a loss.

I wrote a howto / tips and tricks that I put on the Gentoo Forum.

http://forums.gentoo.org/viewtopic.php?t=23703&postdays=0&postorder=asc&start=0

Hope that helps,

Christopher Fisk
--
   If we don't all watch the same TV, what will keep our culture homogeneous?
  -- Calvin

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Moving mail

2003-06-26 Thread Christopher Fisk
On Thu, 26 Jun 2003, Patrick Marquetecken wrote:

>I would like to move my Mail folder (maildir format) to the server.
>I'm using fetchmail, postfix, procmail so it is possible to run this on 
>the server as well, specially while i'm going to extent it in the future 
>for mail for other persons also. (i will come back on this, because there 
>are also windows users involved)

The way I prefer to send e-mail back to a server is via IMAP.  Just get an 
IMAP server running on the mail server, then you can copy all the messages 
to the server INBOX via IMAP.

>Can i just move the folder containing all my mails to the server, delete 
>the .sylpheed-claws folder, so when i startup the program it will ask me 
>where the location must be of the mail folder? Its because i have a lot 
>of mail and don't wanna lose it.

If you are just changing workstations this would work fine for moving the 
data to another workstation.  I'm not sure about getting it into a format 
that can be read by a pop or IMAP daemon.


Good luck,

Christopher Fisk
--
I WILL NOT WHITTLE HALL PASSES OUT OF SOAP
I WILL NOT WHITTLE HALL PASSES OUT OF SOAP
Bart Simpson on chalkboard in episode 2F06

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ISPs blocking email from my linux box

2003-06-25 Thread Christopher Fisk
On Wed, 25 Jun 2003, William Hubbs wrote:

>I have found that when I try to send mail to a certain isp from my linux 
>box, they bounce it and tell me that they will not receive mail from my 
>ipaddress because it is a dynamic/residential address.  I guess they are 
>attempting to block spam.

This is getting more and more common.  It used to be called the MAPS DUL 
(Dial Up List) and ISP's would block mail from machines that were in those 
lsits.

>Has anyone else run into this?  How are you getting around it?

Yes, I've noticed that AOL and Earthlink were either talking about doing 
it, or are doing in.  When I heard they were talking about it I configured 
sendmail to allow me to get around the problem.

I still wanted sendmail to be able to send directly to servers that I was 
sending too and not go through the Road Runner Mail servers (They can be 
overloaded at times and I get faster e-mail service to use my own outgoing 
server), while sending messages to those 2 domains through the roadrunner 
servers transparently.

In Sendmail this was an easy configuration:

First I made sure my sendmail.mc file had the following:

FEATURE(`mailertable', `hash /etc/mail/mailertable')dnl

to enable the mailertable in sendmail.

Then I created a /etc/mail/mailertable file with the following 2 lines:


aol.com smtp:mail.rochester.rr.com
earthlink.com   smtp:mail.rochester.rr.com


(You would of course use your ISP's mail server after the smtp:)


Now you create the mailertable database:

makemap hash mailertable  /etc/mail/sendmail.cf

then restart sendmail and any messages going to aol.com or earthlink.com 
will now go through your ISP mail server, while any other messages will go 
directly to their destination.


HTH,

Christopher Fisk
-- 
Bender: "One of you will have to fill in for me while I'm gone." 
Professor Farnsworth: "Better yet, I'll build someone to fill in for you.
Some kind of gamma-powered mechanical monsters with freeway on-ramps for 
arms and a heart as black as coal..." 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Threaded email client for gentoo-user?

2003-06-25 Thread Christopher Fisk
On Mon, 23 Jun 2003, Peter McCracken wrote:

>And perhaps someone could answer why bottom-posting is better, anyway? 
>I'll obey it, if that's etiquette.  But I would have thought top posts
>were easier to read.

I don't think bottom posting is the best way.  In-Line posting is most 
often mentioned as the way to go.  You reply to what you are reading right 
after it is written.  This is good for multiple reasons.  You can jump 
into the conversation at anytime and know what is going on, Mailing list 
web archives are much easier to get information out of, and when inline 
posting you usually are better about trimming messages, which saves 
bandwidth.  Figure if you trim 10k worth of a message off it doesn't sound 
like much, but you get a mailing list with 1000 members, you have saved 
the mailing list provider 10MB worth of transfer for that one message.


Christopher Fisk
--
BOFH Excuse #191:
Just type 'mv * /dev/null'.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Threaded email client for gentoo-user?

2003-06-25 Thread Christopher Fisk
On Mon, 23 Jun 2003, Spundun Bhatt wrote:

>Another thing mentioned last time in a similar thread was top-posting. 
>While I have harrassed the online community a lot with my top posted 
>mails, I am trying to change that, is there any guidelines available for 
>this? Sometimes I feel that if my message is starting on the second page 
>of the mail, no-one is going to read it.

That is why you do inline posting, delete what you aren't replying to and 
just reply to the parts as you get to them.


Christopher Fisk
--
 Leela: That aerosal head spray makes your antenna smell nice... 
 Bender: Thank you.
 Leela: ...but it's doing long-term damage to the planet.
 Bender: So? It's not like it's the only one we've got.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ip masquerade

2003-06-19 Thread Christopher Fisk
On Thu, 19 Jun 2003, Lars Juel Nielsen wrote:

>how'd i use this with gentoo?

I run mine from the local service.

save that locally, edit it as needed to open the ports you will be using 
as well as the subnets you will be using, then add a line in 
/etc/conf.d/local.start

/path/to/rc.firewall-2.3.8-pre9

(Make sure rc.firewall-2.3.8-pre9 is chmod 700)


Christopher Fisk
--
Human female: "All in all. This is one day that mitten the kitten will not 
 soon forget."
Morbo: "Kittens give Morbo gas. In later news the city of New New York is 
doomed. Blame rests with known human professor Hubert Farnsworth and his 
tiny inferior brain." 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Finishing emerge in an early stage

2003-06-19 Thread Christopher Fisk
On Thu, 19 Jun 2003 [EMAIL PROTECTED] wrote:

>Hello.
>
>How can I finish the emerge command at a specified
>stage?
>
>I starting writing my own ebuilds and did not find
>how to run the emerge command to build the package
>without merging it into the system.

emerge -B your.ebuild will just compile the binary package and not install 
it.

emerge -b will compile and install the binary package.


Unfortunately it doesn't seem that -B option is in the documentation yet.


HTH,

Christopher Fisk
--
Marge:  It was a beautiful wedding.  I've never seen Selma happier.
Homer:  That reminds me -- Troy said something interesting last night
at the bar.  Apparently he doesn't really love Selma and the marriage is 
just a sham to help his career.
   A Fish Called Selma

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ip masquerade

2003-06-19 Thread Christopher Fisk
On Thu, 19 Jun 2003, Lars Juel Nielsen wrote:

>If it is of any importance this will be used to get two of my computers
>online through the third which is connected to the dorms net which run
>NAT and squid proxy. I can't connect them directly as each person can
>only have one MAC address registered to be allowed online.


Why not go with a full firewall?

http://monmotha.mplug.org/~monmotha/firewall/firewall/2.3/rc.firewall-2.3.8-pre9

http://monmotha.mplug.org/firewall/index.php


Christopher Fisk
-- 
BOFH Excuse #31:
cellular telephone interference

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Christopher Fisk
On Wed, 18 Jun 2003, Ohad Lutzky wrote:

>While this might work, it's still a preemptive solution. You have to do
>it _before_ you started running the job, or else you'll be knocking on
>your forehead. What do you make of my solution?
>
>while [ -e /proc/$THE_PID ]; do sleep 5; done && (next command)

I already posted this in responce to anther message on the thread, but I 
think you are overthinking this.

use ^Z to pause the task at hand, then use 'fg ; next-command' to put the 
paused command back into the FG and add the new command to the end.


Christopher Fisk
--
   "The dynamics of inter-being and mono logical imperatives in Dick and Jane :
A study in psychic transrelational gender modes". Academia, here I come.
  -- Calvin

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Christopher Fisk
On Wed, 18 Jun 2003, Ohad Lutzky wrote:

>On Wed, Jun 18, 2003 at 01:15:11PM +, Christopher Egner wrote:
>> You could use && or ||.
>> && works only if the return is zero, usually meaning everything worked
>> in the first program. The second, || only works if the return is non
>> zero.
>
>You guys aren't getting it... the command is already running. He's
>thinking along the lines of this: "Okay, I'm downloading this file, it's
>not resumable and already at 60%. It'll take a few hours more to
>download and quite a while to untar it. I'm going to sleep now... I wish
>I could tell it to untar once it's done downloading. Too bad I can't
>start over without losing all the progress it already made."

sure ya can.

^Z the process to pause it, then type:

fg ; halt


Christopher Fisk
--
HIGH EXPLOSIVES AND SCHOOL DON'T MIX
HIGH EXPLOSIVES AND SCHOOL DON'T MIX
Bart Simpson on chalkboard in episode 8F03

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cloning a gentoo installation

2003-06-17 Thread Christopher Fisk
On Tue, 17 Jun 2003, Mike Principito wrote:

>You might also want to exclude /tmp and /var/tmp. Would you have to
>exclude /dev?

No need to exclude tmp, but I guess it wouldn't hurt.  I have less than a 
MB of data in /tmp.

Tar handles /dev fine.


Christopher Fisk
-- 
I AM NOT A 32 YEAR OLD WOMAN
I AM NOT A 32 YEAR OLD WOMAN
Bart Simpson on chalkboard in episode 7F08

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cloning a gentoo installation

2003-06-17 Thread Christopher Fisk
On Tue, 17 Jun 2003, Jeff Adams wrote:

>Hello,
>
>I have an installation just the way I like it.  Now I need to replicate it
>onto 4 other identical machines.
>
>I'd appreciate input on how best to accomplish this.
>
>My perfect world scenario would be to be able to create a bootable
>installation CD that would do the trick for me.

I've been doing this for a project I'm doing where I'm building a Gentoo 
appliance type machine.

You'll want to create tarballs of the filesystem, but you'll want to 
exclude certain directories:

make an exclude.txt file with the following entries:

/proc
/mnt/.init.d

Then issue the command:

tar -X /path/to/exclude.txt -cpf clone.tar /

That will give you a tarball of your filesystem.

Now using your Gentoo Boot disk boot into the installation and setup your 
filesystems (You can use sfdisk to read your old partition table from the 
original drive and then write it to the new drive if the drives are 
identical).  Format those drives, mount them as explained in the install 
guide and ftp your tarball over to that disk.

Untar the tarball, then mkdir proc (So you have a place to mount your proc 
filesystem) run grub and you are set.


Christopher Fisk
--
I AM NOT A DENTIST
I AM NOT A DENTIST
Bart Simpson on chalkboard in episode 7F24

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How can I automatically save attachments

2003-06-15 Thread Christopher Fisk
On Fri, 14 Jun 2003, Jamie Dobbs wrote:

>I'm pretty sure that I have asked this before and been referred to the
>perfect script to handle it, but I can't find the original reply.
>
>I want to be able to have all attachments that come in to a certain
>email address be saved automatically (called via. procmail most likely)
>to a directory of my choosing.
>
>Can anyone recommend a good script for this purpose, it should just
>decode and save all attachments to the email to the directory of my
>choosing.

In your .procmailrc:

* ^(From):[EMAIL PROTECTED]
|uudecode -o /path/where/you/want/to/save/file.ext


Christopher Fisk
--
I AM NOT THE NEW DALAI LAMA
I AM NOT THE NEW DALAI LAMA
Bart Simpson on chalkboard in episode 5F17

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Segmentation Fault Everywhere

2003-06-10 Thread Christopher Fisk
On Tue, 10 Jun 2003, Paulo Jorge de Oliveira Cantante de Matos wrote:

>Hi all,
>
>Unfortunately I was not yet able to found a solution to my problem. I'm
>thinking about backing up somehow my data and reinstalling
>gentoo.Sincerely, I don't think it's a hardware problem. I've been
>testing memory and doing some stress tests with gentoo boot cd and
>everything is ok. The problem is when I boot into my partition. Well, if
>anyone has any idea instead of just backing up stuff and reinstall
>gentoo I'll be glad to hear it.

Defiantely a test to run would be to download and run memtest86.  Just get 
the floppy image and write it to a floppy.  Then boot with it in your 
drive and you're all set.

I would let it run for 10-20 passes or so and it'll let you know if your 
memory is ok.


Christopher Fisk
--
   Who wouldn't be interested in everything we do?!
  -- Calvin

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dual boot gentto and W2k form grub ?

2003-06-10 Thread Christopher Fisk
On Tue, 10 Jun 2003, Dirk Heinrichs wrote:

>Am Dienstag, 10. Juni 2003 04:11 schrieb ext R'twick Niceorgaw:
>> I tried makeactive still no luck. It still says
>> Booting 'Windows 2000 Pro'
>>
>> Root(hd(0,0)
>>Filesystem type unknown, partition type 0x7
>> Makeactive
>> Chainloader +1
>>
>> Error 13: Invalid or unsupported executable format
>>
>> Any other idea how to boot NTFS from grub ?
>Unfortunately not. But I do it the other way round. I use the w2k bootloader 
>to boot either w2k or grub and let grub cope with Linux only.
>
>HTH...

You can boot Windows fine from grub.  The only problem I've encountered is 
that windows always wants to be on the First primary partition of the 
drive.  make sure when you install Gentoo you make the first primary 
partition your windows partition.

My grub.conf looks like this:

default 0
timeout 10
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 1.4 2.4.20
root (hd0,1)
kernel /bzImage-2.4.20-gentoo root=/dev/hda3

title=Windows 2000
root (hd0,0)
chainloader +1


I'd say that the large majority of people who have problems dual booting 
windows and linux in any form are having those problems because Windows 
isn't on the first primary partition on the Primary Master drive.


Christopher Fisk
--
Marge:  Name one of your child's friends.
Homer:  Uh, let's see, Bart's friends ... Well, there's the fat kid
with the thing; uh, the little wiener whose always got his
hands in his pockets.
   Saturdays of Thunder

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Advice for protecting a network

2003-06-06 Thread Christopher Fisk
On Fri, 6 Jun 2003, Patrick Marquetecken wrote:

>Hi,
>
>The compagny i work for has a small test-network about 10 computers (windows, 
>Macintosh) with a cable connection to the internet.
>Today the new Bugbear virus hit it.
>So now looking for a way to protect it, before it was not needit (wat could happen).
>
>Can i with Linux and Gentoo protect it?

Or you could just keep outlook Express uptodate.

BugBear exploits an old (fixed) bug in OE that causes it to run IFRAME 
executables.


Will Gentoo be able to help you?

Yes, if you were using it as your mail server with something like 
MailScanner or McAfee Virus Scanner running with Sendmail/exim/etc



Christopher Fisk
--
"Listen, Bender, where's your bathroom?" -Fry, "Bath what?" 
-Bender, "Bathroom." -Fry, "What room?" -Bender, "Bathroom!" -Fry, "What 
what?" Bender, "Ah, nevermind." -Fry 

--
[EMAIL PROTECTED] mailing list