OT: Hard drive backup plan

2003-11-02 Thread Chris Kenrick
My /dev/hda hard drive is on the way out, and I just wanted to run my
backup plan past you all, to minimise any pain if/when it's replaced...

My setup is as follows:

Running Debian woody with a few backported newer packages.

40G /dev/hda split between an ext3 root partition (about 20Gb), a swap partition, and 
a Windows 2000 partition (about 20Gb)

40G /dev/hdb, the whole of which is dedicated to an LVM volume group.
The only stuff on there I really want to keep is the approx 6Gb of
digital photos I've amassed.

So, my plan is to:

1. Copy the entire contents of the ext3 root partition minus /proc to an
LVM logical volume on /dev/hdb (using cp -a or tar)

2. Copy any windows documents to CD-R and/or /dev/hdb (don't really have
the spare space or inclination to do a complete Windows backup).

3. Swap the hard drives

4. Partition the new hard drive with a similar layout to before, and
reinstall Windows 2000 (since it affects the MBR).

5. Use Knoppix/LNX-BBC/Eduard Bloch's boot disk to copy the files from
the LVM logical volume to the ext3 partition on /dev/hda(got all three,
not sure if Knoppix supports LVM though)

6. Use the Debian rescue disk with rescue root =/dev/hda? and then run
lilo to write the MBR.

Does this sound feasible?  I've never tried boot disks with LVM support,
so the only tweak I could see is to backup the photos somewhere else,
and backup everything to a big ext3 partition on /dev/hdb.  Only trouble
is I don't really want to have critical stuff only on /dev/hda, and
backing up to 10+ CD-Rs would be a bit time consuming.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian mutt questions

2003-08-05 Thread Chris Kenrick
On Tue, Aug 05, 2003 at 07:52:14AM -0500, Cheryl Homiak wrote:
> can anybody tell me whether the debian mutt package is configured to enable
> fetching from one's pop server. I get errors when I try to use the pop_host or
> pop_user variables in my .muttrc.

I'm not sure of the answer to your question, but a lot of people use
fetchmail or getmail to retrieve the mail from the POP server.  Perhaps
fetchmail might work in your case.  It's also handy if you want to do
mail filtering/sorting later down the track, because then you simply
insert procmail (or similar) into the mix.  I'd guess that most mutt
users use it as a user agent only, without using it to pull messages
from the mail server.

> Also, I am a bit confused about sending mail in mutt in debian. All the examples
> I see have sendmail in the .muttrc; some have /usr/lib/sendmail and some have
> /usr/sbin/sendmail; both paths are on my system, but should I be using sendmail
> directly or should I be including exim somewhere in my .muttrc entries?

exim has a sendmail compatible mode in which it pretends to be sendmail.

If you do "ls -l /usr/lib/sendmail /usr/sbin/sendmail" you'll probably
find that they both point to exim via symlinks.  In other words, any
examples using "sendmail" should work OK with exim.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



NNTP to email?

2003-08-03 Thread Chris Kenrick
I'm rather fond of mutt as an email client, and would like to use it to
read Usenet articles too.  I've been using a Python based NNTP
downloader, but it's a bit slow, and doesn't seem to handle
errors/failures very well.

Does anyone have a suggestion as to a good way to achieve this using
Debian (running mostly stable, with a few add ons)?  I'm aware that
there's a NNTP patch for mutt, but thought there is probably an easier
way than a self-built mutt package (then I have to maintain it as mutt
is updated, unless the NNTP patch makes it into mutt proper).

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: flphoto program to deb?

2003-07-29 Thread Chris Kenrick
On Thu, Jul 24, 2003 at 07:47:47PM +0530, Sridhar M.A. wrote:
> On Thu, Jul 24, 2003 at 09:28:49AM +0530, Sridhar M.A. wrote:
>> 
>> BTW, I have not yet tried flphoto's rotation. Will come back after some
>> more experiments :-)
>> 
> Am back after my trials with flphoto. It rotates in a lossless fashion
> and has an option of storing the exif data. Checked it and it tallied
> exactly with the original.
> 
> A fall out of this, I do not have to go to the other os to rotate my
> images losslessly retaining the exif data. 

You can also rotate losslessly via jpegtran in libjpeg-progs (or
libjpeg-mmx-progs.  It also can preserve the EXIF data if passed the
"-copy all" option.  Works fine in the stable version of jpegtran.

> 
> If only, I could get the gphoto2 cvs debs, then my Canon A70 would be
> easily recognised.

I've got my A70 working under 2.0final-4 which is the version in stable.
The trick is to have all the right USB modules loaded, and pass a fudged
command line to gphoto2 (trick it into thinking it's a different camera)

Try
gphoto2 --usbid 0x4a9:0x3073=0x4a9:0x3056 --camera "Canon Powershot S40" -P

This causes all the photos to be downloaded to the current directory.
Note that while retrieving photos works fine, other functions like
remote capture aren't guaranteed to work correctly with the A70 under
Linux.

I found this information on this page:
http://pto.linuxbog.dk/Canon_PowerShot_A70_Linux

I didn't manage to get the hotplug usermap thing going, so I just have a
little script to run that command I mentioned earlier when I want to
upload photos.

hth,

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JPG's poor quality

2003-06-06 Thread Chris Kenrick
On Fri, Jun 06, 2003 at 04:11:42PM -0500, Charles Logan wrote:
> I'm not sure when this little problem began, but the only system changes have 
> been updates from security.debian.  The system is an all stable Woody box.
> The problem is that images saved in the jpg format appear horribly blurred and 
> smudged.  This is true no matter which application saves the image.  Gimp, 
> Kpaint, Xv, etc all exhibit the same behavior.  If an image is saved in any 
> other format, gif, png, bmp, xbm, etc, when displayed, it looks fine.  The 
> problem is most noticeable if text is used, but any object placed on a canvas 
> with any drawing program will have a smudgy, ghost like shadow 20-40 pixels 
> around the object, as well as washed out and blotchy looking color in the 
> object itself.  I made a simple black text on white back ground image with 
> Gimp and saved it in jpg, gif, and tif formats.  gif and tif look nice and 
> crisp and clean when the image is viewed with a web browser or a image 
> viewing program, but the jpg version looks terrible.  Other jpg images from 
> other sources appear fine, so it has to be something happening when a program 
> on this system saves a jpg image.  My default desktop is KDE 2.2.2, with X11 
> 4.2.0.  I have also tried other window managers, Gnome, Fvwm, IceWm but the 
> same results occur no matter what.  All other graphics related items seem to 
> be fine.  The default desktop is 800x600 with 24 bit depth, although I have 
> also tried lower resolutions and color depth with no change.  The video card 
> is a Trident CyberBlade AGP.  I'm quite sure that this problem is something 
> fairly new as I have used Gimp previously to create many web images that were 
> saved in jpg format without this happening.  Any ideas as to what might be 
> causing this?Thanks!

Hmm, the symptoms sound to me like artifacts of the JPEG compression
itself.  You didn't mention trying different JPEG quality settings, so
I'd try that first.  What settings did you use in the JPEG save dialog
box in gimp?  You should see one if you try and resave a non JPEG image
into jpeg (eg save myfile.tiff as myfile.jpg).  Also, what happens if
you use imagemagick to convert, like so:

convert -quality 100 myfile.tiff myfile.jpg

The other thing is that since jpeg compression is lossy, repeated saves
of the same file will cause it to lose quality.  Where possible, try to
edit the file in a lossless format (like tiff or xcf) and then convert
to JPEG at the end of the cycle.  And keep a non lossy version around in
case you need to edit it again later.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Remotly changing emil users passwords

2003-06-06 Thread Chris Kenrick
On Tue, Jun 03, 2003 at 03:29:33PM +1000, Ivan Wills wrote:
> Hi
> I am setting up a Debian system (Woody) as primarily as mail server (exim).
> Is there a way I can allow users to remotly change their passwords with 
> out using ssh (or any other shell)
> I world also like the majority of users, not to be able to login through 
> a terminal (I don't trust their passwords and I
> cannot enforce strong passwords, particularly for the CEO)
> 
> Any suggestions on how to acheive this?

How about setting their shell in /etc/passwd to be /usr/bin/passwd?
That way the only thing they can do when logging in is to change their
password.  You'd probably have to add /usr/bin/passwd to /etc/shells for
this to work...

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Belkin CompactFlash reader problems

2003-06-02 Thread Chris Kenrick
On Sun, Jun 01, 2003 at 08:00:23PM -0400, Andrew Perrin wrote:
> On Sun, 1 Jun 2003, Chris Kenrick wrote:
> > >
> > > fdisk /dev/sdc1  // play with partitions
> >
> > If I try this with "-l" to list the partitions, there is no output and
> > the log file records an error message.
> 
> Try just fdisk /dev/sda (if it's a that your device is being assigned to).
> 
> >

Weird.  It worked, briefly, and enabled me to list a FAT12 partition on
the drive.  Then it just went back to "Unable to read /dev/sda"

> > Not looking promising.  Any further ideas, anyone?
> 
> Unfortunately, I agree.

Gosh darn it.  Now to try to get the camera (Canon Powershot A70) to
talk directly to Linux.  Haven't managed to get it going so far, but
worth another try.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Belkin CompactFlash reader problems

2003-06-02 Thread Chris Kenrick
On Mon, May 26, 2003 at 10:53:20AM -0400, Kevin Coyner wrote:
> 
> 
> On Mon, May 26, 2003 at 11:52:02PM +1000, Chris Kenrick wrote..
> 
> > Hi all,
> > 
> > I've got a Belkin compact flash card reader connected to my USB port.
> > Works fine under Win2K even with plug and play, so the hardware is OK.
> > 
> > I think I've got all the right modules loaded.  The reader seems to be
> > picked up
> > 
> > [EMAIL PROTECTED]:~$ cat /proc/scsi/scsi 
> > Attached devices: 
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> >   Vendor: OEI-USB  Model: CompactFlash Rev: 5.01
> > Type:   Direct-AccessANSI SCSI revision: 02
> > 
> > 
> > But, /var/log/messages reports errors...
> > 
> > May 25 23:29:29 gandalf kernel: SCSI device sda: 31488 512-byte hdwr
> > sectors (16 MB)
> > May 25 23:29:29 gandalf kernel: sda: Write Protect is off
> > May 25 23:29:29 gandalf kernel:  sda: sda1
> > May 25 23:29:29 gandalf kernel: SCSI error: host 0 id 0 lun 0 return
> > code = 802
> > 
> > I'm guessing that the reader doesn't work with Linux (says it is mass
> > storage compliant, though).  Anyone have any bright ideas?
> 
> lsmod to see what is loaded.  You potentially need:
> usb-storage
> usbcore
> scsi_mod
> sd_mod
> usb-uhci
> input
> sr_mod

Yep, got all those (now).
> 
> apt-get install sg3-utils and then use:
> 
> sg_scan -i  // to see scsi type devices
> sg_map  // to see device associations
/dev/sg1: scsi1 channel=0 id=0 lun=0 [em]  type=0
OEI-USB   CompactFlash  5.01 [wide=0 sync=0 cmdq=0 sftre=0
pq=0x0]

...and...

/dev/sg1  /dev/sda

> 
> Mount the drive found (should be a SCSI drive):
> 
> mount -t vfat   /dev/sdc1   /home/kevin/mnt/usbdevice
> // i have 2 scsi HD's, hence my reader is /dev/sdc1
> 

Gives:
mount: /dev/sda1 is not a valid block device

> Diagnose by checking:
> 
> /var/log/messages
Jun  1 00:14:11 gandalf kernel: ^ISense class 7, sense error 0, extended
sense 0Jun  1 00:14:11 gandalf kernel: SCSI device sda: 31488 512-byte
hdwr sectors (16 MB)
Jun  1 00:14:11 gandalf kernel: usb-uhci.c: interrupt, status 3, frame#
1878
Jun  1 00:14:11 gandalf kernel: sda: Write Protect is off
Jun  1 00:14:11 gandalf kernel:  sda: I/O error: dev 08:00, sector 0
Jun  1 00:14:11 gandalf kernel:  I/O error: dev 08:00, sector 0
Jun  1 00:14:11 gandalf kernel:  unable to read partition table

Doesn't look to be picking up the partition table

> /var/log/syslog

Whole bunch of messages like these:

Jun  1 00:14:11 gandalf kernel: usb-storage: queuecommand() called
Jun  1 00:14:11 gandalf kernel: usb-storage: *** thread awakened.
Jun  1 00:14:11 gandalf kernel: usb-storage: Command MODE_SENSE (6
bytes)
Jun  1 00:14:11 gandalf kernel: usb-storage: 1a 00 3f 00 ff 00 00 00 00
00 61 ccJun  1 00:14:11 gandalf kernel: usb-storage: Bulk command S
0x43425355 T 0x7d Trg 0 LUN 0 L 255 F 128 CL 6
Jun  1 00:14:11 gandalf kernel: usb-storage: Bulk command transfer
result=0
Jun  1 00:14:11 gandalf kernel: usb-storage:
usb_stor_transfer_partial(): xfer 255 bytes
Jun  1 00:14:11 gandalf kernel: usb-storage: usb_stor_bulk_msg()
returned 0 xferred 12/255
Jun  1 00:14:11 gandalf kernel: usb-storage: Bulk data transfer result
0x1
Jun  1 00:14:11 gandalf kernel: usb-storage: Attempting to get CSW...
Jun  1 00:14:11 gandalf kernel: usb-uhci.c: interrupt, status 3, frame#
1878
Jun  1 00:14:11 gandalf kernel: usb-storage: clearing endpoint halt for
pipe 0xc0010280
Jun  1 00:14:11 gandalf kernel: usb-storage: usb_stor_clear_halt:
result=0
Jun  1 00:14:11 gandalf kernel: usb-storage: Attempting to get CSW (2nd
try)...
Jun  1 00:14:11 gandalf kernel: usb-storage: Bulk status result = 0
Jun  1 00:14:11 gandalf kernel: usb-storage: Bulk status Sig 0x53425355
T 0x7d R 243 Stat 0x0
Jun  1 00:14:11 gandalf kernel: usb-storage: scsi cmd done, result=0x0
Jun  1 00:14:11 gandalf kernel: usb-storage: *** thread sleeping.


> /proc/bus/usb   // shows what's been seen
Checked, it's there.  Didn't include the output for brevity's sake

> /proc/scsi/scsi // to see what scsi devices are there
Same output as the sg_scan -i above

> 
> Notes:  Like any other hard drive, you can use other commands
> on your mounted USB storage device:
> 
> fdisk /dev/sdc1  // play with partitions

If I try this with "-l" to list the partitions, there is no output and
the log file records an error message.

Not looking promising.  Any further ideas, anyone?

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: THANKS

2003-04-04 Thread Chris Kenrick
On Sat, Apr 05, 2003 at 09:13:16AM +1000, Lindsay Yardley wrote:
> G'day All,
> A very special THANKS to all those who've helped me get started with
> debian. Unfortunately I don't have the time to cope with the quantity of
> mail on this list so I'm off to find a quieter one. Thanks again,

Glad you liked it.  Yes, there's a lot of list posts going through, but
I think you'll find it's the most useful mailing list around.

My suggestion would be to get the hang of a MUA which supports threading
(mutt would be my recommendation).  Also, use procmail to sort all your
debian list mail into a different folder.  Once thats done, you only
have to read the list when you get a free moment.  You can also quickly
skip through threads looking for stuff that interests you.

In any case, best of luck with Debian

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why am I no longer receiving the digest?

2003-04-04 Thread Chris Kenrick
On Wed, Apr 02, 2003 at 01:41:46PM +0100, Pigeon wrote:
> Is there some problem with the list servers at the moment? I haven't
> received a debian-user-digest since March 31st. Yet on visiting
> lists.debian.org I see there's been plenty of traffic. Has anybody
> else not received the digest?

I'm not currently subscribed to the digest, but have been in the past.
Over that time, probably 4 or 5 occurrences of what you describe
happened.  You get nothing for days on end, then all of a sudden it
starts up again.  Hence, I'm back to the debian-user over dialup thing
too :)

BTW, if the digest does get going again, you can use procmail and
formail to automatically split it into separate messages again before
delivering it to your folder.  Makes reading it by thread a whole lot
easier.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: FW: FW: Retrieving mail from a web based mail service?

2003-03-29 Thread Chris Kenrick
On Wed, Mar 26, 2003 at 09:48:13AM +0530, Sharninder wrote:
> >
> > I was wondering if there was nything like fetchmail for web based
> > access"?
> >
> 
> not any AFAIK. All web mail clients might handle and do handle the
> client side differently even though they might be using the same
> IMAP or POP protocols on the server. If it's yahoo or hotmail u
> migth find something of your interest on freshmeat.

There's a debian package called gotmail that does this for hotmail, its
in stable/testing/unstable.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to duplicate a CD?

2003-02-22 Thread Chris Kenrick
On Thu, Feb 20, 2003 at 04:16:27PM +, Shri Shrikumar wrote:
> On Thu, 2003-02-20 at 03:41, stan wrote:
> > I posted this a few months agoa, and got an answer involving cdparnoia, and
> > cdrecord. But I sem to have lost the emails, and I can't seem to get the
> > mailing list archive search engine to find it :-(
> > 
> > So, how can I duplicat an audio CD? 
> 
> I think you can use dd
> 
> dd if=/dev/cdrom of=cdrom.iso
> 
> then, you just burn cdrom.iso
>
I know this technique works for data CDs, but does it work for audio CDs
too?  Anyone actually tried this?

- Chris
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: email-fax gateway - need suggestions

2003-01-14 Thread Chris Kenrick
On Mon, Jan 13, 2003 at 09:36:05PM -0500, Neal Lippman wrote:
> I was hoping some folks here could give me some suggestions on setting
> up an email to fax gateway.
> 
> My project is basically to provide a mechanism so someone can email to a
> an address in my office (eg "[EMAIL PROTECTED]") and have that email
> automatically faxed out. This idea is to eliminate the manpower
> requirement for faxing out reports, which is  overwhelming our staff who
> presently have to print the email and manually fax each report,
> sometimes to multiple recipients.
> 
> I am aware that this problem has been addressed in various ways using
> efax or hylafax, but my requirements are a bit unique compared to the
> solutions I've seen:
> 
> 1. Most commonly, the document that needs to be faxed will be an MS Word
> document, send as an attachment to the email message. As a result,
> simply trying to fax the email body itself won't work.

Uh huh.
> 
> 2. The people generating the email that needs to be faxed will generally
> know the name of a person (or people) to recieve the fax, but not their
> fax numbers. We will have an LDAP directory online which will contain
> fax numbers, so the handler needs to look up the recipient(s) and
> translate names to fax numbers automatically.

Sounds fair...
> 
> 3. The sender should get back an email acknowledgement so he knows if
> the fax went through or not.

Should be possible to do this.  If there's multiple recipients, and it
doesn't get through to some of them, how will this look on the report?
> 
> 4. After the fax is sent, the file itself (word document) needs to be
> saved on our fileserver for later reference as well.

Yep...
> 
> Our present email implementation uses cyrus-imapd as a mail store. Our
> email is received at an external pop3 server. We use fetchmail running
> as a daemon to periodically retrieve email for all accounts and forward
> the email to cyrus (via an lmtp connection).
> 
> I was therefore thinking of the following solution: 
> 1. Write a demon that listens for lmtp connections from fetchmail which
> will forward fax related emails to this demon via lmtp (I am in the
> process of writing something similar to handle emails and forward them
> to the printer automatically, so I can reuse this code anyway).
> 
> 2. The demon can process the email body based on mime-time. For straight
> text, should assume a first line of the format
> "FAX:[,recipient...]>". For MSWord attachments, the process
> is more complicated: The filename will consist of the local patch to
> store the file, followed by a list of recipients. Via this mechanism,
> the demon knows both where to store the file on the file server and to
> whom the file should be faxed.

Why not use the email subject as the recipient list?  Might make the
parsing a bit easier.
> 
> 3. Using wv, the file is converted from MS Word to postscript, and can
> then be fed into efax for transmission. The exit status of efax
> indicates whether the fax went through, which can be emailed back to the
> sender.

Haven't come across wv, so don't know how good a conversion job it does.
Another possibility might be to set up a network printer that when you
print a Word document to it, saves the postscript file somewhere, or
emails it back to the user.  The user then attaches that file to the
"fax email".
> 
> I would appreciate anyone who knows of a better / simpler solution, or
> comments on what I have proposed I would very much appreciate it.

Sounds OK to me, still a bit of work to implement though :)
> 
> nl
> 
> PS: I am aware that there isn't any security in the above system, and I
> recognize the opening this gives for someone to use my fax as a
> forwarding station. I haven't yet decided how to handle security in a
> meaningful way, but I'm also open to suggestions on this score.

I guess examine the email headers, and work out if the request
originated within your network, a bit like a firewall might.  It might
be nice to have some sort of audit trail with who faxed what, when they
faxed it, and how many pages it was, too.  You could even send a
confirmation email back to the email address to prevent address spoofing.

Anyway, good luck with it!

- Chris
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Saving mail to another user's account

2003-01-13 Thread Chris Kenrick
On Mon, Jan 13, 2003 at 01:21:07PM +, Colin Watson wrote:
> On Mon, Jan 13, 2003 at 10:11:44PM +1100, Chris Kenrick wrote:
> > The story behind this one is that I want to save some emails that come
> > through my POP3 account to my local user to another account (that of my
> > wife).  I don't want to forward them, because replying to a forward
> > ends up sending the message to me (in Evolution, anyway).  At present I'm 
> > manually picking and saving messages from my account into her mail
> > spool.  It then occurred to me that there is probably some proper MDA
> > way to do this (and easier than the multiple step process that I
> > currently use).  Any ideas, anyone?  I'm running exim in daemon mode as
> > my MDA, and mutt as my MUA.
> 
> If it's just the odd message, use mutt's bounce command, bound to 'b' by
> default.

Brilliant, just what I was looking for.  Thanks, Colin and Frank.

- Chris
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Saving mail to another user's account

2003-01-13 Thread Chris Kenrick
On Mon, Jan 13, 2003 at 01:54:00PM +0100, Bruno Boettcher wrote:
> On Mon, Jan 13, 2003 at 10:11:44PM +1100, Chris Kenrick wrote:
> > The story behind this one is that I want to save some emails that come
> > through my POP3 account to my local user to another account (that of my
> uhm? why not configure fetchmail properly then? you know that
> fetchmail understands 'is  here' ?
>

Note the operative word being _some_ emails, not all.  I'm already using
the "is  here" fetchmail feature as it is.

- Chris
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Saving mail to another user's account

2003-01-13 Thread Chris Kenrick
On Mon, Jan 13, 2003 at 12:39:24PM +, Rus Foster wrote:
> On Mon, 13 Jan 2003, Chris Kenrick wrote:
> 
> > The story behind this one is that I want to save some emails that come
> > through my POP3 account to my local user to another account (that of my
> > wife).  I don't want to forward them, because replying to a forward
> > ends up sending the message to me (in Evolution, anyway).  At present I'm
> > manually picking and saving messages from my account into her mail
> > spool.  It then occurred to me that there is probably some proper MDA
> > way to do this (and easier than the multiple step process that I
> > currently use).  Any ideas, anyone?  I'm running exim in daemon mode as
> > my MDA, and mutt as my MUA.
> 
> You can try installing procmail and putting in a recipe similar to
> 
> * ^myregexp.*
> !otheraccount

Guess I could do that.  What happens when I already have a message that
I decide needs to be copied to my wife's mailbox?  Sure, I can update
the .procmailrc but that doesn't deal with the existing message.  Unless
I then pipe the message through procmail and then delete it.

- Chris
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




apt question (downgrading and installing from source)

2003-01-13 Thread Chris Kenrick
In order to get a few packages to the versions I wanted them at, I ended
up using packages from unstable.  Unfortunately, I ended up getting
libc6 and a few other important ones.  Now I'm seeing various errors
sporadically that I suspect are related to this upgrade.

First question, what's the easiest way of working out what to revert
back to?  Ideally I need to be able to work out which packages installed
on my system don't match the ones in my sources list.  Once I do that,
I'll get rid of the packages that require libc6 and so on, and manually
downgrade.

Second question, one I've got back to a stable system, I'm wanting to
install some of the unstable packages by downloading unstable source and
then compiling it into a custom package.  What's the best way to do
this, for example, for vorbis-tools?

- Chris
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Saving mail to another user's account

2003-01-13 Thread Chris Kenrick
The story behind this one is that I want to save some emails that come
through my POP3 account to my local user to another account (that of my
wife).  I don't want to forward them, because replying to a forward
ends up sending the message to me (in Evolution, anyway).  At present I'm 
manually picking and saving messages from my account into her mail
spool.  It then occurred to me that there is probably some proper MDA
way to do this (and easier than the multiple step process that I
currently use).  Any ideas, anyone?  I'm running exim in daemon mode as
my MDA, and mutt as my MUA.

- Chris

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: I cannot mount the woody installation cd-r

2002-11-20 Thread Chris Kenrick
On Wed, Nov 20, 2002 at 09:11:51PM +0800, [EMAIL PROTECTED] wrote:
> I am using debian 2.2, I try to reinstall and upgrade to woody, so I download 
> all the iso image files and burn to cd-r. 
> 
> When I insert the disk1 into my cd-rom drive and reboot the Linux box, it 
> cannot boot. Then I mount the cd-rom from console, I get the following error: 
> 
> hdc: irq timeout: status=0xd0 { Busy } 
> hdc: ATAPI reset complete 
> hdc: tray open 
> end_request: I/O error, dev 16:00 (hdc), sector 64 
> isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32 
> mount: wrong fs type, bad option, bad superblock on /dev/hdc, 
>or too many mounted file systems 
>  
> 
> If I insert any other cd-r othen than the woody installation cd-r, I can mount 
> successful. 
> 
> I have download the iso image files from 4 different site, I have check the 
> md5sum every time, I have try to use different speed to burn, I have try to use 
> different cd-r burner program to burn the cd-r, I have try to use different 
> type of cd-r to burn, but I still get the same error message. I don't know why, 
> can you help me? 
> 

I'm wondering if its a problem with the CD reader.  Can you swap in
another CD reader to install from.  Or use a different drive, if it has
multiple CD drives?

- Chris
__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: accessing linux partitions from windows

2002-11-20 Thread Chris Kenrick
On Wed, Nov 20, 2002 at 12:44:01PM +0530, Sandip P Deshmukh wrote:
> hello all
> 
> i do not know if this is a security issue. but this is surprising.
> 
> there is a win9x application - e2fs that can explore linux partitions on
> dual boot machines.
> 
> here is the homepage
> 
> http://uranus.it.swin.edu.au/~jn/linux/
> 
> i have tried the program. basic procedure is boot the machine in windows
> and run e2fs. you can browse entire linux partition. who cares about
> file permissions!
> 
> most importantly, is there a way to prevent this?

As others have said, physical access to the machine means problems
whichever way.  Setting a BIOS password might slow down an attacker
somewhat (but they can still take the machine apart and remove the BIOS
battery).

- Chris


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How do I create a mirror from my CDs

2002-11-20 Thread Chris Kenrick
On Tue, Nov 19, 2002 at 05:24:12PM +0800, [EMAIL PROTECTED] wrote:
> I've googled. I've found scripts that don't Work For Me. I've found the APT
> howto and not understood the little information I could see there.
> 
> I've got seven CDs burned myself from the ISO images I downloaded.
> 
> Unpacking them is no problem, I can mount -o loop,ro with the best of them, and from 
>there I can
> 
> tar cC /mnt/cdrom | tar xpC /var/ftp/pub/linux/debian
> 
> and recursively chmod and rm TRANS.TBLs.
> 
> 
> I'm new to Debian, not new to Linux.
> 
> What I can't figure is precisely how to create those Packages files. What command(s) 
>do I run, and importantly, in what directories?

There's a couple of ways to achieve this...

1. Copy the contents of each CD to a separate subdirectory, and add
seven entries in your /etc/apt/sources.list.  An entry might look something
like this:

deb file:/home/debcds/disk1 woody contrib main non-US/contrib non-US/main

2. Make an empty directory, copy CDs into it.  Install apt-utils if not
already installed, and run apt-ftparchive to generate Packages.gz and
Sources.gz.  Add one entry to /etc/apt/sources/list

I've done option 1, and it works fine.  Option 2 was an alternative
suggested when I asked the same question of the list

- Chris
__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Howto add a crontab job ?

2002-11-09 Thread Chris Kenrick
On Sat, Nov 09, 2002 at 02:18:45PM -0900, W.D.McKinney wrote:
> 
> I am new to debian and wondered what's the best way to add a 
> job for crontab (indexmaker for mrtg) ?

Write a short shell script to do what you need, looking something like

#!/bin/sh
mrtg dosomething

and put the file in /etc/cron.daily (presuming you want it run once a
day).

Or, if you want it at a certain time, or whatever, use man crontab to
see the file format, and edit /etc/crontab

HTH

- Chris
__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: [Semi-OT] IMAP clients for other OS Plus my broken SID Apache

2002-11-09 Thread Chris Kenrick
On Sat, Nov 09, 2002 at 11:24:16AM -0600, Jamin W. Collins wrote:
> On Sat, Nov 09, 2002 at 11:07:19AM -0600, Gerald Livingston wrote:
> 
> > I'd rather not use mutt because family members do send me funky
> > formatted mail sometimes and I also use multiple "From: " addresses,
> > depending on which folder I'm in.
> 
> I'm not following why these are reasons not to use Mutt.  Mutt is more
> than capable of handling the situation you describe.  In fact, Mutt is
> probably the most configurable MUA that you'll find (short of possibly
> emacs).

I'd second that.  mutt under cygwin is probably your best bet.  On a
Unix box, you can just add lines like

text/html   ;  w3m -T text/html ; copiousoutput

to your ~/.mailcap file.

As for "different From address depending on what folder", folder hooks
are your best bet.  Here's the one I use for this list.

folder-hook debian-user 'my_hdr From: Chris Kenrick
<[EMAIL PROTECTED]>'

(above should be all on one line in the file, but wrapped for mail
purposes)

Sorry to sound like a mutt fanboy, but it really is a nice MUA.

- Chris
__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: fetchmail restart or awaken?

2002-11-02 Thread Chris Kenrick
On Sat, Nov 02, 2002 at 11:56:04AM +0100, Christian Mascher wrote:
> Hi,
> 
> still got the same problem with the way fetchmail is set up in debian 
> (woody):
> 
> after dialing with "pon provider" "/etc/init.d/fetchmail awaken" is called by
> fetchmail-script in ip-up.d. But fetchmail doesn't fetch mail,
> declaring a "temporary name server error". It does that all the time I'm
> offline,  understandably.  What I don't understand is, why it doesn't
> realize resolve.conf has changed after dialling and just goes on saying
> it can't resolve even after the awaken signal.
> 
> If I change "awaken" to "restart" fetchmail gets the mail (no problem
> resolving the mail-provider's address in that case). 
> 
> It seems as if the fetchmail-daemon remembers it couldn't resolve
> pop.isp.xyz (after getting started on bootup) and thus repeats the error
> message without even trying, whereas a newly started copy finds out it
> _can_ resolve.
> 
> Does anybody have the same problem?

Yep, but I took a different approach.  I figured that I only wanted
fetchmail started while I was dialed up.  So I removed all the fetchmail
startup links from /etc/rc?.d which seems to work OK.

- Chris
__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: unknown restarts

2002-10-19 Thread Chris Kenrick
On Fri, Oct 18, 2002 at 04:44:59PM -0700, Rusty Minden wrote:
> 
> On Friday 18 October 2002 03:34 pm, Chris Kenrick wrote:
> > On Fri, Oct 18, 2002 at 12:47:40AM -0400, Scott Henson wrote:
> > > On Thu, 2002-10-17 at 13:41, Scott Henson wrote:
> > > > I reinstalled my system last week with a mix of unstable
> > > > and experimental(gnome2 packages).  Since then I have been
> > > > experienceing some unexplained restarts.  Basically the
> > > > machine randomly restarts with no explanation in my logs. 
> > > > It only happens while idle.  I have yet to have it restart
> > > > while Im working on it.  I will leave it while logged in
> > > > and then when I come back the computer has restarted.  I
> > > > have left it
> > >
> > > Well Im thinking this is a hardware problem.  The machine
> > > restarted under windows while playing GTA3.  I have checked
> > > the ram and it seems to be good.
> >
> > How did you check it?  I'd recommend making a memtest86 boot
> > disk and running that over it for a few hours to make sure
> >
> > - Chris
> I just fixed a very similar problem my power supply was too 
> small. I had a 250 and now I am running a 400 grunt...grunt... 
> and have not had any trouble since (I have notice a performance 
> boost to?!?
> 
> Rusty

Posted back to list, and changed to bottom posting.

- Chris
__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: debian-user-digest crippled

2002-10-18 Thread Chris Kenrick
On Fri, Oct 18, 2002 at 12:10:23AM -0700, Johannes Graumann wrote:
> Hello,
> 
> Have people aside from me lately had problems with crippled
> debian-user-digest messages? The digests I get always have less message
> entries than the TOC says and the number of attached original messages
> corresponds to the number of entries showing up in the main message (too
> few as well).

Didn't notice that one last time I was on digest.  Then again, I used
procmail and formail to automagically resplit the digest into individual
messages before delivery to my mail folder :)  There was a time where
the digest wasn't working at all, but that was fixed a short while ago.
 
> Are the maintainers reading this?

No, probably not.  You need to email [EMAIL PROTECTED] for
that.  They're pretty busy from what I gather, so they might take a
while to respond...

- Chris

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: unknown restarts

2002-10-18 Thread Chris Kenrick
On Fri, Oct 18, 2002 at 12:47:40AM -0400, Scott Henson wrote:
> On Thu, 2002-10-17 at 13:41, Scott Henson wrote:
> > I reinstalled my system last week with a mix of unstable and
> > experimental(gnome2 packages).  Since then I have been experienceing
> > some unexplained restarts.  Basically the machine randomly restarts with
> > no explanation in my logs.  It only happens while idle.  I have yet to
> > have it restart while Im working on it.  I will leave it while logged in
> > and then when I come back the computer has restarted.  I have left it
> 
> Well Im thinking this is a hardware problem.  The machine restarted
> under windows while playing GTA3.  I have checked the ram and it seems
> to be good.  

How did you check it?  I'd recommend making a memtest86 boot disk and
running that over it for a few hours to make sure

- Chris
__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Simple HTTP Server Recommendation

2002-10-18 Thread Chris Kenrick
On Wed, Oct 16, 2002 at 02:41:55PM +, Doug MacFarlane wrote:
> 
> Team:
> 
> I need to put up a simple, HTML-only site.  No database/CGI/anything.
> 
> Apache looks like overkill.  
> 
> Can you recommend a nice, compact, efficient alternative?

IIRC there is a Linux kernel based webserver, which can only serve
static pages (called tux?).  Google should be able to unearth more
info...

- Chris
__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: find utility gives segmentation fault

2002-06-27 Thread Chris Kenrick
On Fri, Jun 28, 2002 at 12:22:37AM -0400, Ian D. Stewart wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Friday 28 June 2002 00:06, Larry Smith wrote:
> > I've been having trouble with the find utility in
> > Potato.
> >
> > Often, if I run find as root (so I can have permission
> > to look in all directories), it will run awhile, then
> > die with a segmentation fault.
> >
> > When this happens, I'm unable to do a normal shutdown,
> > the system hangs during shutdown.
> >
> > I use the command:
> >
> > find -name filename
> 
> You need to specify a directory to start the search in.
> 
> Try:
> 
>   find / -name filename

Uh, no.  If you don't give a directory, then find defaults to using the
current directory(as per the manpage).  I don't think that's the problem
in this case.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: multiple tape backup?

2002-06-27 Thread Chris Kenrick
On Fri, Jun 28, 2002 at 11:25:56AM +0800, [EMAIL PROTECTED] wrote:
> Hello list,
> 
> I am planing to backup the /home directory which is around 30GB in size
> with multiple DDS3 tape--each has 12GB. Is there any tool for easier
> multiple tape backup like this? I can switch the tape myself.

tar has support for multi volume archives, with the -M option.  See the
tar manpage/infopage/doco for more info, such as how to run a custom
script at each volume change.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mutt and maildir(?)

2002-06-25 Thread Chris Kenrick
On Tue, Jun 25, 2002 at 05:49:04PM +0930, Tom Cook wrote:
> Thanks for the reply, but none of those things help.  See below...
> 
> On  0, Chris Kenrick <[EMAIL PROTECTED]> wrote:
> > On Tue, Jun 25, 2002 at 04:48:30PM +0930, Tom Cook wrote:
> > > Hi all,
> > > 
> > > I'm trying something New and Different with my mail configuration.
> > > Until fairly recently I have used mutt to access an IMAP server.  Now
> > > I have decided I want procmail, so I am using fetchmail to get the
> > > mail, which forwards it to exim, which pipes it through procmail,
> > > which dumps each message in a separate file in a directory named like:
> > > 
> > > $HOME/Mail//msg.3F7
> > > 
> > > I gather that this is called a 'maildir' mailbox.  I can't get mutt to
> > > look at it, though.  The closest I could find to a tip about this is
> > > that MH mail directories need a .mh_sequences file.  Do I just need to
> > > create this file (empty) and then everything will work?  Or is there
> > > some other way to get mutt to read this mail directory?
> > > 
> > > Tom
> > 
> > According to the mutt manual:
> > 
> > Mutt supports reading and writing of four different mailbox formats:
> >   mbox, MMDF, MH and Maildir.  The mailbox type is autodetected, so
> >   there is no need to use a flag for different mailbox types.  When
> >   creating new mailboxes, Mutt uses the default specified with the
> >   ``$mbox_type'' variable.
> 
> Yes, I read that too.
> 
> > So there shouldn't be any difference.  Have you defined the mailboxes in
> > the mailboxes variable?
> 
> This line appears in .muttrc:
> 
> mailboxes /home/tkcook/Mail/inbox/ /home/tkcook/Mail/debian-user/
> 
> > Does the "folder" setting point to the right
> > place?
> 
> This line appears in .muttrc:
> 
> set folder=/home/tkcook/Mail
> 
> > What happens when you do a mutt -f $HOME/Mail/ ?
> 
> I get an empty mailbox index.  No, the mailbox is not empty ;-)
> 
> Thanks
> Tom

As per previous answers on the list, it sounds like the mailbox is not really in
Maildir format.  

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mutt and maildir(?)

2002-06-25 Thread Chris Kenrick
On Tue, Jun 25, 2002 at 04:48:30PM +0930, Tom Cook wrote:
> Hi all,
> 
> I'm trying something New and Different with my mail configuration.
> Until fairly recently I have used mutt to access an IMAP server.  Now
> I have decided I want procmail, so I am using fetchmail to get the
> mail, which forwards it to exim, which pipes it through procmail,
> which dumps each message in a separate file in a directory named like:
> 
> $HOME/Mail//msg.3F7
> 
> I gather that this is called a 'maildir' mailbox.  I can't get mutt to
> look at it, though.  The closest I could find to a tip about this is
> that MH mail directories need a .mh_sequences file.  Do I just need to
> create this file (empty) and then everything will work?  Or is there
> some other way to get mutt to read this mail directory?
> 
> Tom

According to the mutt manual:

Mutt supports reading and writing of four different mailbox formats:
  mbox, MMDF, MH and Maildir.  The mailbox type is autodetected, so
  there is no need to use a flag for different mailbox types.  When
  creating new mailboxes, Mutt uses the default specified with the
  ``$mbox_type'' variable.


So there shouldn't be any difference.  Have you defined the mailboxes in
the mailboxes variable?  Does the "folder" setting point to the right
place?  What happens when you do a mutt -f $HOME/Mail/ ?

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unix 101: ls with file count

2002-06-24 Thread Chris Kenrick
On Mon, Jun 24, 2002 at 10:41:48PM -0500, Kent West wrote:
> Okay, back to Unix 101 for me.
> 
> How do I produce a directory listing followed by a count of files and 
> directories?
> 
> ls | wc
> 
> only produces a count without listing the files, and it doesn't 
> distinguish between files and directories. What I'd like is something 
> like this:
> 
> westk03[westk]:/home/westk> ls
> DOCS  evolution
> Desktop   lang
> HOCHZEIT.MPG  lynx_bookmarks.html
> INSTALLERSmbox
> MMEDIAmnt
> Mail  nsmail
> Nautilus  oh brother where art thou - down by the river allison kra.wav
> PILOT plugin130_01.trace
> bin   progtool
> calc.perl tmp
> clock vmware
> doc   www
> 
> 16 directories
> 8 files
> 
> 24 total
> 
> Thanks!
> 
> Kent

Probably best to do it in two steps.

1) Simply call ls to do the first bit

2) Calculating the totals.  Read the bash manpage for how to use
variables and how to add them together.  You'll probably want to use
something like `find . -type d -maxdepth 1 | wc -l` to count directories
and `find . -type f -maxdepth 1 | wc -l` to count files.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ssh update or upgrade required? which is it? [now restricting ssh]

2002-06-24 Thread Chris Kenrick
On Mon, Jun 24, 2002 at 07:32:45PM -0700, justin cunningham wrote:
> If I wanted to restrict ssh to only listen for my office's ip until it
> gets patched how do I do this?  I tried editing sshd_config and putting
> my office ip as the listenaddress but it didn't work.  What did I do
> incorrectly?
> 
> Thanks, Justin
> 
> ps:  please reply to email address as well as deb list.  

According to sshd manpage (well at least here on Redhat), if ssh has been
compiled with LIBWRAP support, then you can use /etc/hosts.allow and
/etc/hosts.deny to achieve what you want.  See man 5 hosts_access.
Someone else might be so kind as to post the exact syntax.


- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AWK: adds "^M" at the end of line?

2002-06-24 Thread Chris Kenrick
On Tue, Jun 25, 2002 at 12:08:34PM +1000, Matthew Dalton wrote:
> > On Mon, Jun 24, 2002 at 05:10:15AM -0400, Abdul Latip wrote:
> > > > What file are you trying to read.  If it is mail coming from fetchmail,
> > > > there were some change which causes ^M in mail file.
> > >
> > > It is ftp://ftp.isi.edu/in-notes/rfc-index.txt
> > > I believe that that file does not have ^Ms.
> > > Basically, what I am doing (once in a while), to get
> > > a recent rfc-index file, and merging each rfc description
> > > (1-3 lines) into one line. The script is actually simple
> > > and stupid.
> 
> The original file is a dos format text file. Dos text files have CR-LF
> at the end of every line, whereas unix files only have LF. The extra CR
> is the ^M you're seeing. Obviously awk (mawk?) is not handling the text
> format properly, instead assuming it is a unix format file. Your belief
> that the original file does not have ^Ms is incorrect. It does have
> them, but they just don't show up on most editors. If you edit it with
> nvi, you'll see them there.
> 
> I'd suggest one of two things:
> 1. If your awk is mawk, try installing gawk (GNU awk) and see if that
> handles dos text files better.
> 2. Convert the files by removing the ^Ms before running awk on them.
> 
> This is basically a compatibility problem, not a bug in awk.
> 
> Matthew

I'd add a third option.  Assuming the FTP server is configured properly,
transfer the file as ascii rather than binary, and it should do the
conversion properly for you.  I tested with this particular file
transferring as ASCII, and it worked transparently.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ssh update or upgrade required? which is it?

2002-06-24 Thread Chris Kenrick
On Mon, Jun 24, 2002 at 06:14:18PM -0700, justin cunningham wrote:
> Hi list, can you please clarify something for me-- this should be pretty
> straight forward so sorry if the question seems a bit lame.  Can you
> please reply to the email in addition to the list since I'm not
> currently subscribed.
> 
> I read this release http://www.debian.org/security/2002/dsa-134 and it
> says to upgrade to ssh 3.3p1 for woody and that the package for potato
> hasn't yet been compiled.
> 
> On my stable boxes I ran apt-get update and it pulled down some patches
> from security though the only recent post for security updates is this
> one so was my open ssh from the potato branch updated proficiently or do
> I need to install this new version?  If I need to install ssh 3.3 and
> want the rest of my box to stay in stable until woody is complete how do
> I do this?
> 
> Thanks, Justin
> 

According to my traversing through the security updates section via FTP,
the ssh version there for potato i386 is 1.2.3-9.4  So no, you haven't
fixed the vulnerability via any apt-get upgrades ...

You really have two options: download the ssh source and compile it
yourself, or wait until the potato update gets done.  I presume potato
is still being security patched, at least until a bit after Woody is
released.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Can't reach master.debian.org

2002-06-20 Thread Chris Kenrick
On Thu, Jun 20, 2002 at 08:14:10PM -0400, Tom Zych wrote:
> Colin Watson wrote:
> 
> > Can you get there now? brainfood.com, its host, was off the network for
> > a few minutes earlier today.
> 
> Sorry, I forgot to say this is an ongoing problem.  Started
> a couple of months ago, I guess.
> 
> ping gives me 216.234.231.5 as the IP address, does this match
> what ping tells you?

dig master.debian.org gives 65.125.64.135 here.

dig -x 216.234.231.5 doesn't give an answer, so not sure what that
address is :)

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: i made a boo-boo

2002-06-20 Thread Chris Kenrick
Mail forwarded back to list - Chris


- Forwarded message from Larry Smith <[EMAIL PROTECTED]> -
Date: Thu, 20 Jun 2002 06:50:28 -0700 (PDT)
From: Larry Smith <[EMAIL PROTECTED]>
Subject: Re: i made a boo-boo
To: Chris Kenrick <[EMAIL PROTECTED]>

I think this may have happened:

The LILO entry is the name of a link in the root
directory.  It links to an actual kernel file in the
boot directory.

If you copy over the file in the /boot directory with
a new kernel, I think you need to remove and remake
the link in the root directory.

Something like this:

ln -s /boot/vmlinuz_2.2.19 vmlinuz

You'll need to boot from the CD or a boot floppy to
get to your hard disk, then maybe this will solve your
problem.  

As has been suggested, it's best to make your new
kernal a different LILO entry, leaving you the option
to boot back to your original kernel.

If you do that, copy your new kernel into the /boot
directory by some name you choose, make a link to it
in the root directory (/), and use the root name as
the LILO entry, giving in a different label, like
"new" or something.


--- Chris Kenrick <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 19, 2002 at 11:31:08PM -0700, alephtnull
> wrote:
> > Hi, I have made a boo-boo. I recompiled my kernel
> (after 5 months
> > doing make dep,make clean, make modules and make
> modules_install) then
> > make bzImage then copied bzImage to vmlinuz and
> backed up vmlinuz
> > (just in case something goes wrong) then issued
> the command "lilo" to
> > update my changes then rebooted...
> > 
> > everything should be ok but when I rebooted, after
> lilo starts loading
> > it reboots again and when lilo starts loading, it
> does this again and
> > again... Unfortunately, I lost my rescue
> disk...help!
> 
> Well, you're in a bit of a pickle.  For next time,
> its a good idea to
> make a separate LILO entry for the new kernel so you
> can easily revert
> back to the old one if things go wrong.  I would
> suggest downloading the
> Debian rescue disk again (or tomsrtbt), then use
> that to revert back to
> the old kernel (ie mount drive, copy old kernel back
> to vmlinuz, etc).
> 
> - Chris
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

- End forwarded message -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: i made a boo-boo

2002-06-20 Thread Chris Kenrick
On Wed, Jun 19, 2002 at 11:31:08PM -0700, alephtnull wrote:
> Hi, I have made a boo-boo. I recompiled my kernel (after 5 months
> doing make dep,make clean, make modules and make modules_install) then
> make bzImage then copied bzImage to vmlinuz and backed up vmlinuz
> (just in case something goes wrong) then issued the command "lilo" to
> update my changes then rebooted...
> 
> everything should be ok but when I rebooted, after lilo starts loading
> it reboots again and when lilo starts loading, it does this again and
> again... Unfortunately, I lost my rescue disk...help!

Well, you're in a bit of a pickle.  For next time, its a good idea to
make a separate LILO entry for the new kernel so you can easily revert
back to the old one if things go wrong.  I would suggest downloading the
Debian rescue disk again (or tomsrtbt), then use that to revert back to
the old kernel (ie mount drive, copy old kernel back to vmlinuz, etc).

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT?] Digest version available?

2002-06-18 Thread Chris Kenrick
On Wed, Jun 19, 2002 at 09:55:31AM +1000, Chris Kenrick wrote:
> On Wed, Jun 19, 2002 at 02:25:39AM +0300, [EMAIL PROTECTED] wrote:
> > [sot of off topic]
> > 
> > is there a digest version available of debian-user? Couldn't find one on the
> > mailing list pages..
> > 
> > Jani
> 
> Well, there is debian-user-digest (or at least was).  However, it was
> broken last time I looked...  Try sending a subscribe request to
> [EMAIL PROTECTED]
>

Ack, sorry about that folks.  Try
[EMAIL PROTECTED] instead.  Seems that mail
sent to debian-user-digest comes back through debian-user itself...

- Chris 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT?] Digest version available?

2002-06-18 Thread Chris Kenrick
On Wed, Jun 19, 2002 at 02:25:39AM +0300, [EMAIL PROTECTED] wrote:
> [sot of off topic]
> 
> is there a digest version available of debian-user? Couldn't find one on the
> mailing list pages..
> 
> Jani

Well, there is debian-user-digest (or at least was).  However, it was
broken last time I looked...  Try sending a subscribe request to
[EMAIL PROTECTED]

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: tar question from newbie

2002-06-17 Thread Chris Kenrick
On Mon, Jun 17, 2002 at 07:23:00PM -0700, Abner Gershon wrote:
> This is very frustrating. I have 3 Linux books that I
> have consulted as well as the man page and I can't
> figure out how to use tar to back up my /home
> directory from where it resides on /dev/hdd to my
> other hard drive /dev/hdb7. 
> 
> I accidentaly ran fsck today without making the file
> system read only which I later read was a no no and I
> am wondering if this may have lead to a problem. I
> never received any message that any of the files were
> damaged though.
> 
> Anyway I change to my home directory, "cd /home". Then
> type "tar -cf /mnt/abner" (I previously mounted
> /dev/hdb7 to /mnt)
> 
> Then I get the error message,"tar: Cowardly refusing
> to create and empty archive". I fooled around for a
> couple of hours with different sources and
> destinations for tar file but always got the same
> error message. Aaargh!!
> 
> By the way I am logged on as root if this helps.
> 
> I desperately await your replies. Thanks.

Presuming you just want to create the tar file as abner.tar in the root
directory of the /dev/hdb7 partition...

tar -cf /mnt/abner.tar /home

should do the job.  If you want to compress the tar file to save space,
add -z to the switches.  Note that this will tar the directories and
files as home/dir1, home/dir2/file1, and so on.  If that's not quite
what you want, then it can be tweaked a little bit.  Of course, the
above assumes that /dev/hdb7 is mounted at the time...

- Chris  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: How to find a modem that works with Linux...

2002-06-17 Thread Chris Kenrick
On Mon, Jun 17, 2002 at 06:04:26PM -0500, Derrick 'dman' Hudson wrote:
> On Mon, Jun 17, 2002 at 05:58:36PM -0400, Ed Cogburn wrote:
>  
> > Funny, I've heard this external-is-better for years, but I've been using 
> > internals for more than a decade and never had problems with them. 
> 
> > An external is just one more box taking up space somewhere on my
> > crowded table.
> 
> True.
> 
> > As for lights, I don't have that problem, the lights are on the 
> > command bar at the bottom, either in Windows or Linux/X/KDE.
> 
> Where?  I haven't seen any lights in windows (back when I used it, and
> also had dial-up).  I haven't looked for lights linux.
> 
> > Lights aren't that helpful anyway, they can't tell you whether the
> > delay is temporary or your ISP connection is hung permanently.
> 
> The lights are helpful to show whether or not you have a dial-tone,
> etc.  In addition, if the modem has a digital display, it can give
> more informative information or error codes.
> 
> > A good internal one is just as good, and a tad cheaper, than an
> > external one.
> 
> The difficulty with internal modems is finding the "good" to go with
> it :-).  With external modems, you *know* immediately that it isn't a
> winmodem.
> 
> Another point to consider, an internal modem takes up an extra ISA/PCI
> slot in your machine.  An external one only uses a serial port, which
> are not commonly used anymore anyways.  (well, I've mainly only seen modems,
> old mice, and old printers that used the serial port.  Most people
> don't have a Lucent phone switch in their house to get SMDR logging
> from, and an org. large enough to have their own can spare some extra
> serial ports :-))

I've potentially got three devices that could all use the serial port ..
palm sync, IR sensor for remote control and the modem.  That's another
problem I hadn't thought of...


> 
> Either style modem is fine, as long as it works.

This is true.  Consensus on this thread so far seems to suggest that the
external USR modems are of good quality.  Unfortunately, these are not
quite so common as other brands here in .au, and the ones I've seen are
hellishly expensive and/or come with unneeded features such as a built
in digital answering machine.  There is however a Mitsubishi external 
that's advertised as supporting Linux, anyone tried it? (The other
brands advertised commonly are D-Link,Swann,Netcomm and the like)

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



OT: How to find a modem that works with Linux...

2002-06-16 Thread Chris Kenrick
I'm just about to do a motherboard upgrade, and that will mean replacing
my current modem, which is unfortunately ISA based.

Anyone able to recommend options for a replacement?  I know that the
cheaper internal modems are very likely to be winmodems, and (possibly)
unsupported, but I'm not so sure about the others.  Note that even
though I've heard arguments that external modems are much better than
internal because you can see what's happening with the lights, I've
never really had trouble with the internal one as such, and not having
to find space for YAP (yet another peripheral) is a good thing.  If
external is better to guarantee that it works with Linux, then that's
fine too.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Dependancy Analysis

2002-06-13 Thread Chris Kenrick
On Thu, Jun 13, 2002 at 09:48:49PM -0400, Phillip Hofmeister wrote:
> All,
> 
> I recalled a package (in woody) that would analyze your dependancies and point
> out unused libraries, etc.  Does anyone recall what the name of that package 
> is?

deborphan?

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian is neat but how do I turn the computer off?

2002-06-12 Thread Chris Kenrick
On Thu, Jun 13, 2002 at 08:12:35AM +0800, Dan Jacobson wrote:
> poweroff just does the same as "shutdown -h now" for me: turns off the
> disks only.  On mandrake 7.2 however, "shutdown -h now" does indeed
> turn off the whole computer, cold, quiet.  So what have I not
> adjusted?

You need to turn on APM support in the kernel.  Presuming you are using
LILO as your bootloader, adding

append = "apm = on"

to /etc/lilo.conf should do the trick.  If you're running GRUB, add 

apm=on

to the parameters of the "kernel" line in /etc/grub.conf

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: utempter.h ?

2002-06-06 Thread Chris Kenrick
On Thu, Jun 06, 2002 at 11:13:55PM -0500, Ted Goodridge, Jr wrote:
> Which package is utempter.h in?  X needs it to build xterm...
> 
> Thanks in advance,

None of them, according to http://www.debian.org/distrib/packages.

At the bottom of that page, you'll find a facility that allows you to
search the package contents for given files, and no joy in this case.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pentium optimised vs not

2002-06-06 Thread Chris Kenrick
On Fri, Jun 07, 2002 at 10:58:18AM +1000, Andrew Pollock wrote:
> Hi,
> 
> I'm working in what is a Mandrake shop, but relatively open minded about
> Debian. I'm already making inroads into getting Debian used as the distro
> of choice for infrastructure boxes. Thanks to FAI. Nice work Thomas.
> 
> Mandrake alledgedly compile all their binaries with Pentium optimisation.
> I was recently asked if Debian's binaries were optimised. I didn't think
> they were. I was wondering, in reality, if there were any significant
> performance gain from doing it?
> 
> Let's say I wanted to keep a local package repository build from the
> source packages, how trivial is it when (re) building the packages to
> enable Pentium optimisation?

Take a look at the pentium-builder package.  Once installed, it just
requires setting an environment variable to force pentium optimisation
during compilation.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: in case you missed this from ponik

2002-06-05 Thread Chris Kenrick
On Tue, Jun 04, 2002 at 10:39:02PM -0700, Brian Dessent wrote:
> Jeronimo Pellegrini wrote:
> 
> > Blocking his posts to the list while the listmaster tries to help
> > him could help -- if the listmaster has the time to do that, of course!
> > That would save a lot of bandwidth (the offending posts *and* the
> > discussion about them would at least not last too long), but this can't
> > be easily done automatically [1].
> 
> It seems to me that the most common problem with mailing lists occurs
> when someone receives messages to an address of which they are unaware. 
> The incident with Declan McCullagh/Politech/well.com and
> Fleishman-Hillard is a good example (see
>  for details.)
> 
> To me, the best solution to this would be to customize the tagline on
> each outgoing message, so that it would read something like "you are
> subscribed as [EMAIL PROTECTED], to remove send a message _from that
> address_ to [EMAIL PROTECTED] with the magic word."  That way, the
> clueless would have a fighting chance at getting off the list.  If they
> are still incapable, perhaps they will include the tagline in their
> quoted reply so that others can take the appropriate action.
> 
> I don't know how hard or easy this would be to implement, but it sounds
> nontrivial.  I suppose there are some privacy / archival issues, such as
> the desire to scrub mailing list archives of email addresses to foil
> spambots.
>

But that information is available within the list emails, albeit hidden
away in the "full" headers.   Maybe better education on how to find and
examine email headers in these sort of situations is in order.  In any
case, idiots who auto-reply to every list mail they receive until they 
get their way are not easily defeated by any technological solution.

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



OT: mutt and followup_to

2002-06-04 Thread Chris Kenrick
According to mutt doco, if one sets followup_to to yes, and adds a
mailing list definition eg subscribe [EMAIL PROTECTED], then
mutt will automagically add the Mail-Followup-To header to mails sent to
that list.

At what point does the header get added?  When I use E to edit the
message with full headers just prior to sending, I don't see it.  Does
it get added later, or is there something I'm missing?

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: in case you missed this from ponik

2002-06-04 Thread Chris Kenrick
On Wed, Jun 05, 2002 at 12:25:14AM +0100, Colin Watson wrote:
> On Tue, Jun 04, 2002 at 04:15:27PM -0700, ben wrote:
> > while his response to the situation was obviously ridiculous, if this 
> > statement above is true, it seems that there's some kinda bug in the list 
> > management. something similar happened in debian-kde just recently. in the 
> > interest of preventing anymore of the same in the future, anybody want to 
> > offer conjecture on how this could happen?
> 
> There was some discussion about it on IRC, and somebody pointed out that
> toughguy.net is an e-mail forwarding service. If that's the case, then
> it's possible to point the forwarder at yourself, subscribe to a few
> mailing lists, and then maliciously alter the forwarding address.
> 
> It's not clear what can be done about this at Debian's end other than to
> encourage people to post full headers whenever anything goes wrong.

Has anyone contacted the abuse department of the provider of
toughguy.net?  According to their web site, they are anti spam, and
therefore might consider action...

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: in case you missed this from ponik

2002-06-04 Thread Chris Kenrick
On Tue, Jun 04, 2002 at 04:15:27PM -0700, ben wrote:
> 
> allegedly the last email from ponik the slovakian bofh
> 
> It is my last mail for you.
> 
> Thank everybody for help. 
> (Problem was with forwarding every mails from debian-user@lists.debian.org to 
> my mail with anonymous man or woman through mail [EMAIL PROTECTED] I don't 
> know, who it is.)
> 
> One more, excuse me for troubles.
> 
> Lot of luck.
> 
> Good bye.
> 
>                  pono
> 
> 
> while his response to the situation was obviously ridiculous, if this 
> statement above is true, it seems that there's some kinda bug in the list 
> management. something similar happened in debian-kde just recently. in the 
> interest of preventing anymore of the same in the future, anybody want to 
> offer conjecture on how this could happen?

Technically speaking, someone could subscribe to debian-user as
[EMAIL PROTECTED], THEN activate forwarding from [EMAIL PROTECTED] to
the real address.  Most email services don't confirm that a person
owns the address that they're forwarding to (although some now do).  As
to why someone would do it .. I dunno, grudge, sick practical joke,
whatever...

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Modules at boot time

2002-06-03 Thread Chris Kenrick
On Mon, Jun 03, 2002 at 11:33:55PM -0400, Kapil Khosla wrote:
> Hi,
> I got my sound card to work by doing 
> modprobe trident
> modprobe sound
> but I have to do this everytime at boot time.
> I also did update-modules expecting that it will modify the .conf file and I 
> will be all set but that doesnt seem to be the case,
> How should I proceed from here,
> Thanks
> Kapil

Please set your mailer/editor linewrap from 68-75 chars.  72 is a good default.

You have a couple of options ...

You could run modconf(same utility as runs during the Debian install),
which will then write the changes permanently for you.

Or just manually edit /etc/modules and add those two lines (trident and
sound).

More detailed info on how it all works can apparently be found in
/usr/share/doc/modutils

- Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IMAP + fetchmail + procmail

2002-06-03 Thread Chris Kenrick
On Mon, Jun 03, 2002 at 09:38:37PM -0400, Jason Bleazard wrote:
> I've found a lot of good documentation about IMAP, fetchmail and
> procmail individually.  However, I'm trying to figure out how to make
> them all work together and I'm afraid I don't quite get it.  I've tried
> some Google searches and found myself overwhelmed with information that
> didn't really apply to my situation.  If anyone could point me toward
> some good documents or offer a few pointers, I'd sure appreciate it. 
> I'm just looking to download from three POP3 accounts and serve e-mail
> to two users (myself and my wife), so I don't need a large capacity
> setup.
> 
> Read further if you want to know more details of what I want to do.
> 
> We have a (modest :-) home network of four machines scattered around the
> house, running a mix of Debian and Windows.  I'm building a fifth to act
> as a central file server, and I'd like to put our e-mail on there as
> well.
> 
> Our ISP has their e-mail set up with POP access for downloading and an
> SMTP server for sending.  Pretty standard stuff.  Their setup guide just
> tells us to configure these servers directly in Outlook or Netscape. 
> This works okay, but it pretty well ties my e-mail to one machine, mail
> program and/or operating system on our network.
> 
> I figure the best way to centrailize our mail is to set up an IMAP
> server.  I know that I need fetchmail to bring our mail in from our
> ISP.  I also know that I can use procmail to filter incoming messages to
> different folders (for example, I want debian-user messages to go to
> their own directory).  It's a DSL connection that's active pretty much
> all the time, so I don't need to worry about triggering it manually.  I
> can just let it grab stuff every so often.
> 
> Unfortunately, I can't grasp how to get everything working together. 
> Does fetchmail automagically filter things through procmail once the
> latter is set up?  How do I get procmail to play nice with IMAP
> folders?  Does it matter if I use mbox or maildir format?

AFAIK the standard way to pass mail to procmail is via .forward which is
heeded by local MDA.  A line such as |/usr/local/bin/procmail should do
the trick.  I don't know a lot about IMAP servers, but it depends on how
they implement their mail storage.  At a guess, mbox format might play
nice with procmail.

> 
> Also, I'm not sure how to set up exim, or if there's another alternative
> that would be better suited for what I want to do.  I've noticed that if
> I get any mail from cron it sits in my local mailbox on each machine, so
> I get the new mail notice when I log in to that machine.  It would be
> nice if all the machines on the network could send stuff to my central
> IMAP inbox.

Should be possible via a .forward or similar
> 
> Do I need to really worry about remote mail routing, or should I just
> tell my mail client to connect directly to my ISP's SMTP server (the way
> it is now)?  With only two users, I can't really think of a reason I'd
> need to send mail internally other than messages from cron, and they
> don't use my mail client anyway.
> 
> Our ISP gives us up to 6 e-mail accounts.  One thing I'd like to do is
> set up one or more of them so that any mail sent to that address will be
> forwarded to both of us.  My thinking is to create a dummy user account
> that receives the e-mail from the special address, then that account's
> procmail settings forward the message to both of our regular accounts. 
> I want two copies, not just a single IMAP inbox that we both access
> (then we get questions like "did you read that?  Can I delete it?")

I'd be doing something pretty close to that, fetchmail to a "special"
user account, then .forward from that account to the other two "normal"
accounts.
> 
> The reason I want to use procmail is I'm hoping once I get that set up,
> I can then do some intelligent filtering on messages.  Some things
> should go to me, some things to my wife, and some things to both of us.

The trick will be to avoid duplication of effort.  Hopefully you can
find a way to do some "common" filtering that applies to all your mail,
and then apply specific filtering to your mail individually.  Others
might have some ideas on this...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Monitoring CPU usage of a process

2002-06-02 Thread Chris Kenrick
You've probably already thought of this, but would a simple shell script
do the trick...

eg 

while [ true ] 
do 
ps aux | grep [s]omeprocess >> somelogfile
sleep 60;
done


Note that the using the square brackets around the first letter of the
process name is just a neat trick to stop the grep process itself from
being picked up in the output.

- Chris


On Sun, Jun 02, 2002 at 07:23:13PM -0700, Adar Dembo wrote:
> Won't gkrellm require X?
> 
> [EMAIL PROTECTED]:~$ apt-cache show gkrellm
> Package: gkrellm
> Priority: optional
> Section: x11
> ...
> Depends: gdk-imlib1, libc6 (>= 2.2.4-4), libglib1.2 (>= 1.2.0),
> libgtk1.2 (>= 1.2.10-4), xlibs (>> 4.1.0)
> ...
> 
> Like I said, I have no GUI, this is a completely console-based system.
> No X, no KDE, no GNOME, nothing. Thanks for the suggestion, however.
> 
> -Adar Dembo
> - Original Message -
> From: "David Palmer" <[EMAIL PROTECTED]>
> To: "Adar Dembo" <[EMAIL PROTECTED]>; 
> Sent: Sunday, June 02, 2002 7:13 PM
> Subject: Re: Monitoring CPU usage of a process
> 
> 
> > Hello,
> >
> > Try gkrellm.
> >
> > Regards,
> >
> > David.
> >
> > On Mon, 3 Jun 2002 09:32, Adar Dembo wrote:
> > > I have some processes whose cpu usage I would like to monitor, and
> > > pipe into a file. As far as I know, top can't monitor a single
> > > process and send its cpu usage into a file, so I'm wondering what
> > > other programs might do this. This is a testing installation, on a
> > > computer without any GUI or anything sophisticated like that. Any
> > > help is greatly appreciated.
> > >
> > > -Adar Dembo
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Restore CD image equiv.

2002-04-02 Thread Chris Kenrick
Try SystemImager (google for it)

- Chris
- Original Message -
From: "Chapman, Matt" <[EMAIL PROTECTED]>
To: "Debian Users" 
Sent: Wednesday, April 03, 2002 1:00 AM
Subject: Restore CD image equiv.


Hi,

I would like to know if anyone has something that will work for debian
in the following scenario.

I build a server with Debian on it as well as a filter (url) and squid
for caching.  I ship the box.  The customer has a hardware issue and
replaces bad drive etc.  Then needs to restore to the "factory"
defaults.  How could I distribute a cd that installs the os and needed
packages without the user needing to know linux at all.  Much like a
Ghost image or DriveImage.???  Any ideas?

-matt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Recommended approach for installing Woody

2002-02-06 Thread Chris Kenrick
What's the recommended approach for installing Woody
these days?

Is is still best to install a minimal Potato then
dist-upgrade, or is there a better way.

- Chris

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



Re: FW: Setting up a bunch of boxen at a small school.

2001-09-24 Thread Chris Kenrick


> Can you name me a single OSS app that can do what
> Norton does??
> Can you name me a single OSS app that can take
> images of entire hard
> drivers, 
> or various parts, and send them over the network on
> the fly??
> Can you name me a single OSS app that can multicast
> to an entire network, 
> there by speeding the time it takes to "create"
> computer setups??
> Can you name me a single OSS app that can use just
> about every networking 
> card out there, provided that it has dos drivers??
> (99% of all NICs have dos
> 
> drivers).
> Can you name me a single OSS app that works on MORE
> than just UNIX?
> (windows, 
> 9x, 2000/XP, AtheOS, et al)

Actually, SystemImager does most of the above
http://systemimager.sourceforge.net

- Chris


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



Don't understand Unix timestamps

2001-09-12 Thread Chris Kenrick
Hi all,

I'm a bit confused about Unix timestamps on files.  In
particular, I want to know what the timestamp on an
'ls -l' or a 'find . -ls' means.

On a different but related note, what is the easiest
combination of commands to find

A) A list of files in a given directory that have been
accessed in the last 24 hours

B) The total disk usage by the given file list A)

- Chris Kenrick


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



RE: How to get a list of minimal Potato packages

2001-08-23 Thread Chris Kenrick
>>What's your specific need or goal?  There *are*
micro-GNU/Linux 
>>distributions out there fitting various goals. 
Tom's Root/Boot 
>>and the new LNX-BBC project are probably two of the
best and 
>>best known.
My goal is to rebuild some servers that are running
Woody via 
Potato.  The servers are at the moment running lots of
unnecessary 
crud (installed on top of base), so I needed to derive
a list of 
base packages so I can work out what extra needs
installing.  Fortunately, Karsten's magic command line
suggestion should solve it I think.

- Chris Kenrick


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



apt-get without (direct) internet connection?

2001-06-20 Thread Chris Kenrick
I have two boxes here, a Debian woody box, not
internet connected and a Windows NT box, internet
connected.  It's not an option to connect the Debian
box to the net, but it is an option to connect it to
the NT box via a null modem cable...

So what I am asking is, how can I get apt to not
download anything, including for apt-get update and
just print out the download locations?  I tried using
the --print-uris and -s options, but it still wanted
to download the package list files.  Up til now I've
just been manually downloading packages via the Debian
web page links, but there has to be a better way.

- Chris


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



Is debian-user-digest working? (reposted without rich text and disclaimer)

2001-06-14 Thread Chris Kenrick
Sorry about the previous post .. I forgot to turn 
off RTF and the disclaimer got added automatically by
the mail server.

Anyway, here goes again...

 subscribed to debian-user-digest yesterday morning,
and the confirmation process went fine.  However I
haven't received any digests.  Is debian-user-digest
broken, or is there a problem (mail gateway issue?) on
my end?  Note that debian-user mails get through to me
fine.

- Chris Kenrick


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



Re: Next up....Sound..was Re: Next up...printing

2001-06-07 Thread Chris Kenrick



> Thanks all for the help. CUPS got me fixed right up. Now I'll be trying
> to configure sound.
> I have a soundblaster AWE32 sound card. I configured the sound into my
> kernel during installation. dmesg output:
> Soundblaster audio driver Copyright (C) Hannu Savolainen 1993-1996
> SB 4.13 detected OK (220)
> sb: Interrupt test on IRQ7 failed - Probable IRQ conflict
>
> I know my sound card used to be IRQ5 in w98. How do I change it in
> Linux. I am running debian 2.2.18pre21 . any help would be appreciated.
> I have already read more how-to's  and man pages without much success.
>
> Thanks,
> lorens

The config file you are looking for is probably either in a file within
/etc/modutils or /etc/isapnp.conf.  I can't remember offhand whether the
installer uses isapnp or not.

Incidentally, that output you posted looks like a "normal" Soundblaster
driver.
Theres actually a separate driver for AWE based cards.  More details are in
the
SoundBlaster-AWE how to (or something like that), if you haven't come across
that
yet.  Having said that, my own AWE64 card seems to not work when I use
the AWE driver, but fine under the "normal" one.  It should only make a
difference if
you are using some of the more advanced features of your soundcard (like
wavetable
playback).

- Chris


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Getting modules.conf to load sound at startup

2001-06-02 Thread Chris Kenrick
I've managed to get sound working on an SB16 sound card (manually modprobing
from the command line works), but I'm having trouble trying to get it to
load at bootup.  Yes, I did run update-modules after each change...  but
after reboot no sound drivers are present according to lsmod, and dmesg
shows no sound-related messages.  Must be some nuance I'm missing here...

/etc/modutils/sb looks as follows...
options sb io=0x220 irq=5 dma=1
alias sound sb


/etc/modules.conf is:
### This file is automatically generated by update-modules
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

### update-modules: end processing /etc/modutils/0keep

### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off# Unix
# alias net-pf-2 off# IPv4
# alias net-pf-3 off# Amateur Radio AX.25
# alias net-pf-4 off# IPX
# alias net-pf-5 off# DDP / appletalk
# alias net-pf-6 off# Amateur Radio NET/ROM
# alias net-pf-9 off# X.25
# alias net-pf-10 off   # IPv6
# alias net-pf-11 off   # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off   # Acorn Econet

alias char-major-10-130 softdog
alias char-major-10-175 agpgart
alias char-major-81 bttv
alias char-major-108ppp_generic
alias /dev/ppp  ppp_generic
alias tty-ldisc-3   ppp_async
alias tty-ldisc-14  ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5


### update-modules: end processing /etc/modutils/aliases

### update-modules: start processing /etc/modutils/eepro
options eepro io=0x210 irq=10

### update-modules: end processing /etc/modutils/eepro

### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the once that are compiled into the modutils tools
# themselves.

# This used to be quite a list, but upstream merged some Debian patches
# so we currently don't need to do anything here

### update-modules: end processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/sb
options sb io=0x220 irq=5 dma=1
alias sound sb

### update-modules: end processing /etc/modutils/sb

### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t
"set
serial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t
"setser
ial-module uload"
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/setserial

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### update-modules: end processing /etc/modutils/arch/i386


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: apt: http vs. ftp?

2000-12-05 Thread Chris Kenrick
Re: apt: http vs. ftp?
> Er, no it isn't. http is faster and better in all cases where there is not
> a proxy involved.
>>  why would http be faster? how much faster you mean? and what makes it
>>better? AFAIK they are about equally good/fast for purpose of file
>>transfer...

Presumably the level of overhead that is added to the download by the
protocol
itself is less for http.  This makes me curious .. why would a hypertext
transfer
protocol have less overhead on file transfers for one designed for
transferring
files?

- Chris



Re: debian-user-digest Digest V100 #704

2000-12-04 Thread Chris Kenrick
Re: debian-user-digest Digest V100 #704>>Make A Buck Or Two @ TheMail.com -
Free Internet Email
>>Sign-up today at http://www.themail.com/ref.htm?ref=1763925

Did anyone else notice this bit?

I had a quick look at the web page, and basically its a pyramid
scheme where you get money for signing people up.

>From the web page:
"TheMail.com will pay you $0.0025 for each new email read
by a referral. TheMail.com will pay you $0.0005 for each new
email read by an indirect referral. At first glance this may seem
very low and not worth it, but believe me it adds up very quickly!
If you have just a few hundred persons in your downline you stand
 to make about $20 - $30 a month. With a little time and effort $200
 - $300 a month is very attainable"

Looks to me like they were/are trying to get people to join up and
thus make money out of them.  Explains the blank messages,
anyway...

- Chris





Re: coping with a high-volume mailing list (like this one)?

2000-11-29 Thread Chris Kenrick
Title: Re: coping with a high-volume mailing list (like this one)?



 

  >I would assume that if you didn't want to leave the mail 
  on the remote >server you'd just use fetchmail to 
  download it, although, I *think* >gnus has it's own 
  software to download the mail if that's what you >want. 
  You can still use fetchmail to get the mail even if you _do_ 
  want to leave it
  on the IMAP server (can't remember the switch offhand).  
  Although what
  the original poster _might_ have meant by disconnected mode is 
  that the
  client only connects to the IMAP server when it wants to do 
  something 
  (send/check mail), and is disconnected otherwise.  Maybe 
  some clients
  keep the IMAP session up all the time?
   
  - Chris


Re: Backup packages

2000-11-28 Thread Chris Kenrick
Title: Re: Backup packages



You could also try the package mirrordir or 
similar.
 
apt-cache search mirror 
 
or
 
apt-cache search backup
 
should give you a good shortlist... :)
 
- Chris
 
On Tue, Nov 28, 2000 at 11:26:33AM +, Lee Elliott 
wrote: > Hello List, > 
> I have several HDDs on my system and use one of 
them for on-line > backups.  I was about to 
start writing a script that I could execute > 
periodically via cron to 1. copy nominated files that have been > modified and 2. copy new/modified files in nominated directories 
to > this on-line backup space, when it occurred to 
me that someone has > probably already done it.  
Does anyone know of any .deb packages that > will 
give me this functionality? > > TIA > > 
LeeE > > > -- > To UNSUBSCRIBE, email to 
[EMAIL PROTECTED] > with a subject 
of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] 

  --     
          
  russ     
          
  


Re: module for usb support

2000-11-23 Thread Chris Kenrick
module for usb support>I have a scanner HP5200c connected to a usb port,
invisible from debian,
>which makes me suspect that there is some module for usb that I have not
>installed. does any one know which?

USB is not properly supported in Linux until the 2.4 kernel (the one that
still hasn't
been officially deemed 'stable'.  This gives you two options

a) Run a 2.4 series kernel

b) Run a 2.2 series kernel with a patch applied to add USB support.

The good news is the HP5200C is listed as working in USB mode under linux.
Have a surf around http://linux-usb.org and its links to find all the
information you
should need.

- Chris

PS: Let us know how you go, I would certainly be interested because I have
the same scanner and haven't yet got around to setting it up under Linux :)



Re: How to enable my Linux network for W98 machines?

2000-11-22 Thread Chris Kenrick
OT?: How to enable my Linux network for W98 machines?>Does someone have a
hint on how to set up W98 machines to work in my (small)
>Linux (eth-based, 100Mbps) network. One Linux box is used as a
>gateway, the others have their traffic routed using ipchains. Setting
>up the ipchains rule and the gateway entry in the othe boxes Linux is
>sufficient. DNS addresses are given in resolv.conf.
>
>1. Which are the corresponding steps in W98?
>2. Giving the IP address, gateway address and the host identity of the
>IP network driver entries for the W98 box I have been able to ftp to
>the linux box(es). Which steps are necessary to connect to the Internet
>via the gateway, from W98. Do I have to install bind for DNS services
>via named?

Not sure about this stuff.  Probably good to read the Firewall and NAT/IP
masquerading howtos (there may be even more applicable ones).  There's
even been articles on this very topic on Linux web sites, so a web search
might be useful.

>3. Since I can ftp to my Linux boxes, if the service was enabled I
>could log in to Linux from W98, using eg telnet, right? Is it possible
>to do the reverse, i.e. login to the W98 box(es) from Linux box(es),
>for example to use remote control tools? Are there any open source versions
>of such tools (not netbus/backorifice?) and SSH servers/clients available?

Presuming your Linux boxen are not command line only, then you could try
VNC.
It's source is available and both client and servers are available across a
variety
of platforms.  I have heard that its possible to use it over SSH, but you
might
need to do some digging to work out how.

>4. For file and printer sharing do I have to install Samba?

yes :).  Samba howto and docs in /usr/doc/samba are your friend.

>5. How to enable automatic dial up for pppd, when traffic is present on
>the other machines? A dial-up ISDN connection is used for this. I have
>tried diald but did not like it (too long tineouts before releasing
>the connection).

I don't know for sure, but I would have thought that diald had configurable
timeouts?

>6. Anything else to think of?

That should get you started, anyway :)

- Chris




Re: old NIC

2000-11-16 Thread Chris Kenrick
Re: old NICOn Thu, Nov 16, 2000 at 06:27:40PM -0500, Michael P. Soulier
wrote:
> Hey guys. I just tossed an older Cicero ISA 10 Meg NIC in my old i486
box.
> It says that it's ne2k compatible, but that module requires me to figure
out
> what io address and irq it's supposed to use.
> Any idea how I can find that out?

[EMAIL PROTECTED] followed up:
>try io's between 0x100 and 0x400, steps of 10 (remember this is hex)
>irq will probably be autodetected

Hopefully the isapnp methods described in later replies will work for you.
If they don't, be careful with the IRQ selection.  In my experience modprobe
will bomb if the IO address is wrong, but will 'work' if the IRQ  is
wrong.  You will, however, get some weird error messages when trying to
ping or whatever.  So if resorting to trial and error, do the IO address
first,
then the IRQ (there's not too many IRQs anyway...) :)

- Chris



TOT: Pointers to good introductory Linux material

2000-10-26 Thread Chris Kenrick
One of my ex workmates has shown signs of being interested in experimenting 
with 
Linux.  She is, however, quite knowledgeable about computers, programming IBM 
mainframes for some time. 

I'm planning on giving her one of the 'live CDS', probably either the Linuxcare 
BBC or 
the SUSE 7 Live file system CD (not Debian, but _very_ cool nonetheless).  Thus 
she 
can use it on either her work PC or work provided home PC without reformatting 
(plus 
very safe environment .. do something bad as root, reboot, changes gone!).

This leads to my question: What can I point her to in order to give her a 
starting point 
for 'investigating'?  Basically anything that is likely to spark her interest 
in Linux as a 
great OS .. given her background she prefers 'hands on' style computing to GUI 
buried functionality.  Any suggestions?

- Chris

PS: I don't know if I can convince her to buy/use a book, but I'll try if thats 
the best 
route :)