Two unrelated questions - spamassassin/kmail and tape drive
Having set up my father's computer with SuSE 8.2 at Christmas, there are two lingering problems. First, I am setting him up with kmail, because it's pretty good and is the KDE norm. However, is there an easy way to set up spamassassin (or another good spam filter) with kmail? At least, a way short of using the fetchmail/procmail/spamassassin chain? Second, he has a tape drive on this computer for backups (an HP T20). I was surprised that this drive wasn't configured automatically - that is, no mount point is provided in /media with the other drives and there is no entry for it in /etc/fstab. Checking the hardware config, the drive is recognised as a tape device and (IIRC - my notes were taken a little while ago) as a mass storage device. Can anyone suggest how I might get this device working? TiA John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Knossos: escape the ever-changing labyrinth before the Minotaur catches you!
-----Original Message-----
From: John Pettigrew
Second, he has a tape drive on this computer for backups (an HP T20). I was surprised that this drive wasn't configured automatically - that is, no mount point is provided in /media with the other drives and there is no entry for it in /etc/fstab. Checking the hardware config, the drive is recognised as a tape device and (IIRC - my notes were taken a little while ago) as a mass storage device. Can anyone suggest how I might get this device working?
Even though this is a mass storage device it is -not- a mountable device and will not have an entry in fstab nor a mount point under /media. Check /var/log/boot.msg to see if any info shows pointing to the device. My guess is that it will show up as a SCSI device and should be able to be accessed as /dev/st0. The most simple way to test it is with the tar command: tar cvf /dev/st0 <somefile system> Ken
In a previous message, "Ken Schneider"
From: John Pettigrew
Second, he has a tape drive on this computer for backups (an HP T20).
Even though this is a mass storage device it is -not- a mountable device [snip] The most simple way to test it is with the tar command:
tar cvf /dev/st0 <somefile system>
OK. I'll pass that on. Will it only be accessible through tar? He's keen to get at stuff he's put on the tapes in the past from Windows. John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Knossos: escape the ever-changing labyrinth before the Minotaur catches you!
On Saturday 24 January 2004 6:09 am, John Pettigrew wrote:
In a previous message, "Ken Schneider"
wrote: tar cvf /dev/st0 <somefile system> Will it only be accessible through tar?
No, there are other programs that will access the tape [taper comes to mind, as well as some commercial-class offerings like arkeia(*) -- I've used both under linux, with mixed results...]
He's keen to get at stuff he's put on the tapes in the past from Windows.
This is where you'll get stuck -- generally [so far as I know], tape formats are "proprietary" -- i.e., tapes stored with a particular backup program are only readable by that program; competitor programs won't read the tapes. You *may* have some success by running the windows-based archive program under "wine", or you may have to bite-the-bullet and go through this sequence: boot to windows [presuming a dual-boot system] restore a tape to a [temp] drive or partition [accessible to both OS's] boot to linux store a new tape from that temp partition lather, rinse, repeat... if the system isn't dual boot, but has network capability, you could do this over samba, or in the case of a program like arkeia, there is a network-capable windows client that will let you "back up" to a server (or locally, I suppose) and then, because it IS the same program, you could read the tapes under linux Tom (*) At one point, "the boxed set" of redhat software included this program [or perhaps even SuSE, like maybe 6.x?] but I think you can download a "two-client" version for free from them -- it has been a while since I've looked into this [but with a "drive problem" still in recent memory, I *really* need to rethink this... ;) ] -- Yet another Blog: http://osnut.homelinux.net
In a previous message, Tom Emerson
On Saturday 24 January 2004 6:09 am, John Pettigrew wrote:
He's keen to get at stuff he's put on the tapes in the past from Windows.
This is where you'll get stuck -- generally [so far as I know], tape formats are "proprietary"
He says that he didn't use a specific program to write the tapes - he could just use it like a normal drive; still, copying the tapes to disk and then tarring them might be the easiest route. Does anyone else know about this HP drive specifically (T20, as I said in the original post)? John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Knossos: escape the ever-changing labyrinth before the Minotaur catches you!
On Saturday 24 January 2004 04:17 am, John Pettigrew wrote:
Having set up my father's computer with SuSE 8.2 at Christmas, there are two lingering problems.
First, I am setting him up with kmail, because it's pretty good and is the KDE norm. However, is there an easy way to set up spamassassin (or another good spam filter) with kmail? At least, a way short of using the fetchmail/procmail/spamassassin chain?
You can set up SA with just kmail. Make one filter that looks for anything that will cause a hit (such as 'from' in the headers) and then use the 'pipe through' action to send the mail through spamassassin. Then set a following filter to look for the X-Spam-Flag: YES in the email. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 01/24/04 08:57 + +----------------------------------------------------------------------------+ "You might be a high-tech Red-neck if: you rotate your screen savers more frequently than your automobile tires"
In a previous message, Bruce Marshall
You can set up SA with just kmail. Make one filter that looks for anything that will cause a hit (such as 'from' in the headers) and then use the 'pipe through' action to send the mail through spamassassin.
That's great - thanks! John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Valley of the Kings: ransack an ancient Egyptian tomb but beware of mummies!
On Dissabte 24 Gener 2004 15:10, John Pettigrew wrote:
In a previous message, Bruce Marshall
wrote: You can set up SA with just kmail. Make one filter that looks for anything that will cause a hit (such as 'from' in the headers) and then use the 'pipe through' action to send the mail through spamassassin.
That's great - thanks!
I suggest you that you use the "spamc" client instead of the spamassassin script. It also comes in the SA package. You'll need to have the "spamd" daemon running (add it to runlevels...) but it's way faster and alleviates the fact that Kmail will be unresponsive each time a message is checked for spam. KDE bug #41514 http://bugs.kde.org/show_bug.cgi?id=41514
Op zaterdag 24 januari 2004 20:31, schreef Ivanovich:
On Dissabte 24 Gener 2004 15:10, John Pettigrew wrote:
In a previous message, Bruce Marshall
wrote: You can set up SA with just kmail. Make one filter that looks for anything that will cause a hit (such as 'from' in the headers) and then use the 'pipe through' action to send the mail through spamassassin.
That's great - thanks!
A question for clarification. What is the effect of kmail's 'pipe through' action? Does the message return in kmail's filtering system after the 'pipe through', and is one still able to filter msgs, just like kmail is doing without SA?
I suggest you that you use the "spamc" client instead of the spamassassin script. It also comes in the SA package.
-- Richard Bos Without a home the journey is endless
On Saturday 24 January 2004 20:55, Richard Bos wrote:
A question for clarification. What is the effect of kmail's 'pipe through' action? Does the message return in kmail's filtering system after the 'pipe through', and is one still able to filter msgs, just like kmail is doing without SA?
From Kmail's Fine Manual: pipe through This will feed the message to a program. If that program returns output, the entire message (including the headers) will be replaced with this output. If the program does not return output or exits with a return code that's not 0, the message will not change. Specify the full path to the program. The same substitutions (%n, %{foo} as with execute command are performed on the command line. Warning Be cautious with this action, as it will easily mess up your messages if the filter program does return garbage or extra lines.
participants (7)
-
Anders Johansson
-
Bruce Marshall
-
Ivanovich
-
John Pettigrew
-
Ken Schneider
-
Richard Bos
-
Tom Emerson