smail

1997-11-19 Thread Gerald Livingston
OK -- I'm ready to properly configure smail on my single user dynamic 
ip system.

   Who knows where the best FAQ for that is?  Big thing is, I need to 
manage mail accounts from several different addresses. ([EMAIL PROTECTED], 
[EMAIL PROTECTED], [EMAIL PROTECTED]).  I'll probably use procmail to 
separate them after I pull them in.

   I need all OUTGOING mail to say "[EMAIL PROTECTED]"

   My systems current name is force-1.  Naturally, that name means 
nothing when I log on as my ISP assigns a name to whatever port I 
connect to.  

  If I can find a sucker -- errr -- nice person to host for me, would 
it be possible for me to set up a MX on someone's system such as 
force-1.xxx.com and have mail addressed to [EMAIL PROTECTED] be 
held on the host system until it is somehow recognized that I am 
online so SMTP delivery to smail can occur?

Many questions -- enough for now.

TIA
Gerald V. Livingston II

'69 Sedan -- no name yet -- owned  2 years
driven 2 months

http://www.lcc.net/~gvl/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Renaming files

2003-01-05 Thread Gerald Livingston
On Sun, 5 Jan 2003 21:57:45 -0600
will trillich <[EMAIL PROTECTED]> wrote:

> On Sun, Jan 05, 2003 at 01:19:59AM -0600, Gerald V. Livingston II
> wrote:
> > The script:cat ~/bin/names
> > 
> > #!/bin/bash
> > 
> > typeset -i a=1
> > 
> how about
> 
>   ls /t/*.jpg /t/*.JPG /t/*.jpeg 2>/dev/null | wc -l
> or
>   ls /t/*.{jpg,jpeg,JPG,JPEG} 2>/dev/null | wc -l
> 
> hmm? only one test, all done.
> 
> 
> same here:
> 
>   ls /t/*.gif /t/*.GIF /t/*.GIFF 2>/dev/null | wc -l
> 
> or even
> 
>   ls /t/*.{gif,GIF,giff,GIFF} 2>/dev/null | wc -l
> 
> 
>   ls /t/*.{bmp,BMP} 2>/dev/null | wc -l
> 
> > if [ `ls /t/*.bmp 2>/dev/null|wc -l` -gt 0 ]
> >   then for i in /t/*.bmp;
> >do convert "$i" `basename "$i" .bmp`.jpg; rm -f "$i"; done
> > fi
> 
> nicely done.
> 
> > if [ `ls /t/*.jpg 2>/dev/null|wc -l` -gt 0 ]
> >  then for i in /t/*.jpg;
> >   do echo "http://host.com/images/$i"; >>/t/links; done
> > fi
> > 
> > if [ `ls /t/*.gif 2>/dev/null|wc -l` -gt 0 ]
> >  then for i in /t/*.gif;
> >   do echo "http://host.com/images/$i"; >>/t/links; done
> > fi
> 
> how about
> 
>   for i in /t/*.{gif,jpg};
>   do echo "http://host.com/images/$i"; >> /t/links ; done
> 
> get all the gif and jpg in one swoop.

I guess you noticed I'm not real good about command compression. I
*REALLY* need to get the O'Reilley bash book to have on hand for stuff
like this. I just have to work with it so seldom. I'll make the changes
above then start on the problems listed below. Probably have to take it
back to the procmail list to see if there's a better way to determine
the contents of a MIME message. 

Need to security clean the script and my .procmailrc and drop them on a
web server since they are growing with each new problem. 

The problem I'm having now that I'm testing it with other file types and
various maiers sending the attachments is the way "un-named"
attachments are dealt with. They mostly (even images) seem to end up
coming through as "application/octet-stream" with no name in the mime.
So I end up with a bunch od random file names. Guess I'm going to have
to play with running 'file' over each item in the temp directory 

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Interesting X crash

2003-01-06 Thread Gerald Livingston
OK, I have no details because it's not killing me or anything.

Currently my box boots to GDM (sid). Works great. I'm thinking of
killing that againbecause I do a lot of stuff remotely through ssh and
read my mail via IMAP (Courier). Just want to free up the rescources
since X isn't being used most of the time.

I'm also probably going to dump the whole "desktop manager" (Gnome right
now) thing. Once again, freeing up resources used by things that I don't
(use).

So, I logged out of Gnome, hopped over to a terminal window, and killed
GDM (using init.d/gdm stop).

Checked that my .xsession ended with 'exec gnome-session' since that's
what I've been logging in with through GDM, and ran 'startx'.

X goes as far as bringing up the Gnome startup screen then sig-11's.
Nothing in .xsession-errors, it just goes away (and usually leaves me
sitting on the empty VT-7 rather than recovering to the starting VT).

So, I changed .xsession to 'exec sawfish'. No gnome splash screen this
time -- but it still catches a signal 11 and dies.

X and Gnome/Sawfish all work fine from GDM.

Has anyone else seen this? Ability to start from a *DM but segfault from
startx?

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: How does apt-get construt package uri?

2002-10-14 Thread Gerald Livingston

On Tue, 15 Oct 2002 01:57:00 +0100
Colin Watson <[EMAIL PROTECTED]> wrote:

> On Mon, Oct 14, 2002 at 08:46:20PM -0400, Try KDE wrote:
> > Here is a harder question (in my opinion, anyway): given a http/ftp
> > line in sources.list, what's apt's algorithm for retrieve the list
> > of packages. For example, deb http://http.us.debian.org/debian/
> > testing main non-free 
> >contrib
> > 
> > will produce such an output from apt-get:
> >   Get:1 http://http.us.debian.org testing/main Packages [2036kB]
> > 
> > So exactly what uri was constructed out of it? My browser says 
> > http://http.us.debian.org/testing/main doesn't exist. By the way,
> > apt-get's manpage is very unclear in this aspects.
> 
> The sources.list(5) man page is better, but still doesn't go into
> enough detail. The actual URL constructed is:
> 
>   http://http.us.debian.org/debian/dists/testing/main/Packages.gz
> 
> The dists/ is implicit when the distribution, "testing" in your case,
> doesn't end with a slash. The Packages versus Packages.gz thing is my
> recollection, and *is* confusing when you're trying to set up a local
> archive and forget to gzip the Packages file (see bug #65839).
> 

And it gets even more interesting when you are actually working with
installing packages. The URI becomes:

http://http.us.debian.org/debian/pool/[main|contrib|non-free]/[1st-letter-of-package-name]/[package-name]/[package-name_version-debianrelease_arch.deb]

Example:

http://http.us.debian.org/debian/pool/main/3/3dchess/3dchess_0.8.1-9_i386.deb

Yes, the wrapping on those two lines will suck.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: mail server of a sorts

2002-10-15 Thread Gerald Livingston

On Tue, 15 Oct 2002 10:56:15 -0400
Kevin Coyner <[EMAIL PROTECTED]> wrote:

> 
> Is it possible to do the following, or is there a better way ...
> 
> Objective:  setup a spare box that downloads mail for me and my family
> from various POP3 servers.  DL'd mail gets scanned for spam and then
> is held for eventual retrieval by users.
> 
> Proposed Setup 
> 
>  _
>  |  Box 001  |
>  |  running  |
>  |  fetchmail|
>  |  for the Cleaver  |
>  |  family: ward,|  (June isn't in to computers)
>  |  wally & beaver   |
>  |   |
>  |  mail is then |
>  |  sent to procmail |
>  -
>   |
> |
> v
>  - ----
>  |  procmail recipe  |>|  /mail/spam |--->| /dev/null |
>  |  for spamassassin | |  for review ||   |
>  - ----
>   |
> | (good mail)
> v
>  -
>  |  procmail recipes |
>  |  to put in|
>  |  /var/mail/user   |   |
>  | folders for ward  |   |
>  | wally & beaver|   |
>  -   |   |
>  |   |   |
>  |   |   |
>  |   |   |
>  v   v   v
>  --  ---  
>  | /var/mail/ward |  | /var/mail/wally |  | /var/mail/beaver |
>  ||  | |  |  |
>  --  ---  
> 
> So here's where I get lost ..
> 
>  --  ---  
>  | ward is on a   |  | wally is on a   |  | beaver is on a   |
>  | Debian box |  | win2k box   |  | dual boot box|
>  --  ---  | linux & win2k|
>   
> 
> I'm guessing that I'll need to run either a POP3 or IMAP server on Box
> 001 in order for the 3 clients - ward, wally and beaver - to be able
> to retrieve their mail.  Is this correct?  And if so, could you please
> recommend a good yet lightweight mail client, as Box 001 only has
> about 1 gig of free space (it's an old Sparc with small hard drives).

That's essentially what I'm doing here. I don't have the virus/spam
scanning set up completely yet. I have:

exim
fetchmail
procmail
solid-pop3d
courier-imap
apache
squirrelmail

If you all want access to your mail from any box then IMAP is the way to
go. If all email reading is done on a dedicated machine POP3 is fine.
I've been using POP3 and doing interesting things with the various
clients in different places to make sure the mail I wanted to keep
stayed put. I recently set up IMAP so I could get to my mail from
anywhere and manipulate the local mailboxes directly and I love it. Was
going to use Outlook Express on the winboxen at work to read my home
mail but discovered port 143 is currently blocked (we turn off all ports
that aren't actively used at the firewall) so I just fired up a browser
and got to it with squirrelmail -- I really like the interface.

fetchmail graps the mail from the remote mailboxes on my ISP. It
delivers it to exim. Exim drops the mail straigt to /var/mail/[username]
OR, if the user has a ~/.procmailrc it gets sent through procmail. 

I'm using procmail only to sort messages into my various maildir type
folders that are used by courier-imap right now. I'm setting up amavis
plus a virus scanner to scan for viruses because I will be adding
accounts for my mom and brother soon. When virus scanning is working
properly I will add spam filtering in also.

Space requirements really depend more on the users. I don't think any of
the packages I'm using take up serious HD space -- the inbound mail on
the other hand can be huge -- especialy before filtering is complete. If
space is a concern then POP3 is most likely the way to go so that you
KNOW email is removed from your server when read. You migt also want to
set up quotas for your users. 

Mail handling for a small set of users can be done by just about any old
machine. You might want to consider buying an old used pentium class
machine and sticking a 10G HD in it -- then dedicating it as a mail
server for the house. Make it headless and you can be done for under
US$200.

Later,

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: p2p programs

2002-10-16 Thread Gerald Livingston

On Thu, 17 Oct 2002 02:52:40 +0200
Gytis <[EMAIL PROTECTED]> wrote:

> Hi everyone
> 
> So , could all of you share your opinions about p2p software under 
> linux? I'm interested in kazaa and winmx networks ( edonkey for me
> works fine under mldonkey). I used lopster as an alternative to winmx,
> but now it can't get conected to winmx redirect servers,  and normal
> winmx server give me an Server error ( winmx fixed something ?).  And
> as for kazaa i haven't found any working program ? ( smthng mentioned
> in mldonkey cvs but ...).
> 
> Thanx for your time

To expand on this (yes, I know the thread was just covered but I didn't
see an answer to something I was wondering in that thread).

Are there any linux p2p clients that multithread downloads the way KaZaa
does on a win platform. Ie. find 6 or 8 different sources for an
identical file and download a small piece from each server, effectively
increasing download speed to the max your inbound pipe can handle. I use
qtella right now but even if there are 10 different sources for a file
that all match (name/size/etc.) it only downloads from the one source
you direct it to.

G


-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: gdm, log in as root? - solution and new questions

2002-10-16 Thread Gerald Livingston

On Thu, 17 Oct 2002 10:13:13 +0530
Sandip P Deshmukh <[EMAIL PROTECTED]> wrote:

> Oki DZ wrote:
> > On Wed, Oct 16, 2002 at 11:00:33AM +0530, Sandip P Deshmukh wrote:
> > 
> >>and yes, is there any method of changing the display manager? say
> >from >gdm to wdm to xdm to kdm etc?
> > 
> > I believe the program is called update-rc.d.
> > (Assuming that apt-get doesn't remove any of the dm's when the new
> > one gets installed.)
> > 
> > Oki
> 
> well, i could not find a file called update-rc.d
> 
> where is it placed?
> 
> -sandip
> 
$gvl2$:locate update-r
/usr/sbin/update-rc.d
/usr/share/man/fr/man8/update-rc.d.8.gz
/usr/share/man/ja/man8/update-rc.d.8.gz
/usr/share/man/man8/update-rc.d.8.gz

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Spontaneous Rebooting while in X

2002-10-23 Thread Gerald Livingston
On Wed, 23 Oct 2002 16:36:17 -0700
Mike Fedyk <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> This has happened to me a few times before, in 2.2 kernels and 2.4
> kernels. I'm not sure where I should start looking first, but I have a
> feeling that the X server could be a factor.
> 
> The last few times it has happened it was while I was in Mozilla and
> clicking quickly on the horozontal scroll bar to move to the right a
> screen at at time, and then poof, reboot.
> 
> I doubt it is mozilla itself, since unprivleged userspace shouldn't be
> able to reboot the system, though X does have access to the
> hardware...
> 
> This has happened less than 10 times in the past year with different
> kernels, and even different X server versions (I'm running
> debian-testing). What can I do that might be able to help me narrow
> this down a little? 

X is hardware intensive. I would start by setting up memtest86 and
running that for a day or so (at least one full cycle). It may just be
that there are processes in X that aren't dying properly so that you
start getting farther into your physical memory and you reach a specific
"bad" spot. If you have the java plugin running in mozilla I've seen it
open a *LOT* of instances of java_vm -- if they don't die properly as
you move from page to page...well...

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Virus scan again(sid)

2002-10-22 Thread Gerald Livingston
What are you sid people using for an MTA meshed virus scanner. I need to
set up scanning to protect my mother and brother's winbox because they
aren't that net-savvy. I'll be pulling their mail with fetchmail and
feeding it through exim/procmail.

I was setting up amavis-ng and couldn't get it working -- found out that
the sid upgrade to perl 5.8 causes amavis to break. I can either do a
force downgrade to perl 5.6 or find something that works.

I want to start with virus scanning of mail then expand to spam
catching. I'll probably feed their Outlook Express box with IMAP but may
just dump to /var/spool/mail/username and have them pull with pop3.

Thanks,

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: sending email w/perl

2002-10-23 Thread Gerald Livingston
On Wed, 23 Oct 2002 21:26:32 -0500
Lance Hoffmeyer <[EMAIL PROTECTED]> wrote:

> I have a script where I am searching ebay
> to get results and email these to myself.
> The filehandle is FILE but everytime I 
> try to insert FILE into the $smtp it
> prints "FILE" and not the contents of file.
> What is the fix for this?
> 
> 
> use WWW::Search;
> open(FILE,">eltonjohn.txt");
> print FILE "Results of a search for Elton John MFSL on ebay\n\n\n\n";
>   my $oSearch = new WWW::Search('Ebay');
>   my $sQuery = WWW::Search::escape_query("Elton John MFSL");
>   $oSearch->native_query($sQuery);
>   while (my $oResult = $oSearch->next_result())
> { print FILE $oResult->url, "\n"; }
> # { print FILE $oResult, "\n"; }
> 
> 
> 
> 
>  SEND EMAIL INFORMING MYSELF OF EBAY RESULTS #
> #e-mail variables
>  $mailsender = '[EMAIL PROTECTED]';
>  $mailserver = 'mail.augustmail.com';
> # Then you have a subroutine: (You have to have libnet module
> # installed, ask again if you need directions on how to install this
> # module)
> # 
> # ##sends an e-mail
>  #input: subject, mailto, mailbody
>  #output: e-mail
>   
> sub Email{
>#passing the parameters
> ( $subject, $mailto, $mailbody) = @_;
>use Net::SMTP;
>$smtp = Net::SMTP->new($mailserver);
>$smtp->mail($mailsender);
>$smtp->to($mailto);
>$smtp->data();
>$smtp->datasend("Subject: $subject\n");
>$smtp->datasend("To: $mailto\n");
>$smtp->datasend("From: $mailsender\n\n");
> #   $smtp->datasend($mailbody);
>$smtp->datasend(FILE);
>$smtp->datasend();
>$smtp->quit;
>  } #Email
> 
>  &Email('Elton John Ebay Results','[EMAIL PROTECTED]');
> close(FILE);

First, I'm not a programmer -- of any type. Some of my jobs do cause
analytical/logical thinking though. Looking at your script something
didn't look right. 'datasend' seemed to want actual data rather than a
filename and (remember, I don't *know* perl) where is "FILE" ever closed
before attempting to use it for input?

I scanned some perl docs and found this:

**
Net::SMTP - Simple Mail Transfer Protocol Client

data ( [ DATA ] )
Initiate the sending of the data from the current message.

DATA may be a reference to a list or a list. If specified the
contents of DATA and a termination string ".\r\n" is sent to the server.
And the result will be true if the data was accepted.

If DATA is not specified then the result will indicate that the
server wishes the data to be sent. The data must then be sent using the
datasend and dataend methods described in *Cmd*.
***
Net::Cmd - Network Command class (as used by FTP, SMTP etc)

datasend ( DATA )
Send data to the remote server, converting LF to CRLF. Any line
starting with a '.' will be prefixed with another '.'. DATA may be an
array or a reference to an array.
***

 So, it appears that 'datasend' *IS* looking for specific, delimited,
input or a pre-defined array. So, you would most likely have to close
"FILE" then read it back in to an array or read it one line at a time
into the 'datasend' construct.

However, the first 'data ()' instance, right before 'datasend' appears
to be the place to read the file in its entirety (though I still don't
know about the "not closing" the file first thing).

You may just have to read the file into $mailbody using whatever perl
function is used to read a file into a string (saw that done in a
web-email form that used CGI to read the body into $body)

How about this?:

$file = 'FILE'; # Name the file
open(INFO, $file);  # Open the file
@lines = ;# Read it into an array
close(INFO);# Close the file

then your final bit would look like this:

use Net::SMTP;
>$smtp = Net::SMTP->new($mailserver);
>$smtp->mail($mailsender);
>$smtp->to($mailto);
>$smtp->data(@lines);
>$smtp->quit;
>  } #Email

  Someone beat me with a wet noodle if I'm way off base. Just in a
reading/studying mood tonight.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Fetchmail / exim / courier imap

2002-10-28 Thread Gerald Livingston
On Mon, 28 Oct 2002 15:09:56 +1100
"Joyce, Matthew" <[EMAIL PROTECTED]> wrote:

> 
> I have an old 486/66 with debian, I though I might use it to get my
> emails from several accounts.
> 
> I have install fetchmail, configured exim and install courier imap.
> 
> After creating a Maildir folder (makemaildir I think) I can connect
> via an imap client and see the folders ok.
> 
> When I ran fetchmail, it did collect my email, but put it in single
> file in/var/mail/user.
> This was of course correct because I had not changed the config.
> 
> After a bit of googling, I made some changes to point to
> ${home}/Maildir and also maildir_format = true.
> 
> Now it still connects to the servers  and downloads the email, but I
> cannot fathom where they go.
> 
> They do not appear in the Maildir folders, nor the /var/mail folder.

Put fetchmail back the way it was, install procmail, and put a
'.procmailrc' in ~/ as follows:

SHELL=/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/mh/bin:/usr/bin:/bin
MAILDIR=$HOME/Maildir/
LOGFILE=$HOME/Maildir/fetchlog

#Regenerate a clean 'From' header
:0fhw
|formail -I "From " -a "From "

#Safety stanza -- uncomment to enable 
#Copy all incoming mail to ~/Maildir/.backup **CLEAN WEEKLY BY HAND**
#:0c:
#.backup/

#debian-user
:0:
* ^Resent-Sender.*[EMAIL PROTECTED]
.Debian-User/

#Insert other stanzas here for other folders

#Dump to IMAP inbox anything not yet sorted
:0:
./

I have this .procmailrc file in my /etc/skel directory so it is added
for every new user (minus the debian-user stanza).

Fetchmail delivers to exim -- exim will automatically pipe through
procmail if a ~/.procmailrc is present or send mail to
/var/mail/$username if not.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: fetchmail or exim - what is failing?

2002-10-29 Thread Gerald Livingston
On Tue, 29 Oct 2002 12:35:42 +0530
Sandip P Deshmukh <[EMAIL PROTECTED]> wrote:

> 
> hello all
> 
> so far, i have set up exim properly. it is able to send messages. i
> also used fetchmailconf and it created a .fetchmailrc file in ~. i
> have checked and there is no .procmailrc or .forward file in ~.
> 
> .fetchmailrc:
> 
> # Configuration created Fri Oct 25 13:38:42 2002 by fetchmailconf
> set postmaster "sandip"
> set bouncemail
> set no spambounce
> set properties ""
> set daemon 5
> poll 192.168.100.1 with proto POP3
>   user 'deshmukh' there with password 'xxx' is 'deshmukh' here
> 
> etc.
> 
> now, here is output of fetchmail -c:
> 
> 5 messages for deshmukh at 192.168.100.1 (17323 octets).
> etc.
> 
> 
> now, at this time, /var/log/exim/mainlog does not contain any 
> information regarding fetchmail's attempts. i wonder how does
> fetchmail -c not get logged in /var/log/exim/mainlog
> 
> now, finally, hoping that fetchmail will get the messages for me, i
> ran fetchmail. here is what i get in /var/log/exim/mainlog:
> 
> 2002-10-29 12:15:13 verify failed for SMTP recipient
> deshmukh@localhost from <[EMAIL PROTECTED]>
> H=localhost [127.0.0.1] U=sandip
> 
> now, /var/mail/sandip is a 0byte file. there is no mbox file in ~.

According to your .fetchmailrc your username on the local machine is
'deshmukh' (This line defines that:)

" user 'deshmukh' there with password 'xxx' is 'deshmukh' here"

Everywhere else you refer to yourself as "sandip". Fetchmail is telling
exim to put all the mail in /var/mail/deshmukh but there is no local
user named 'deshmukh'. Those messages are getting bounced. 

Change .fetchmailrc to read:

" user 'deshmukh' there with password 'xxx' is 'sandip' here"

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Segmentation faults in apropos

2002-10-31 Thread Gerald Livingston
On Wed, 30 Oct 2002 20:40:08 -0800
Paul Mackinney <[EMAIL PROTECTED]> wrote:

> Colin Watson declaimed:
> > On Tue, Oct 29, 2002 at 04:35:15PM -0800, Paul Mackinney wrote:
> > > I've been running Sid, for some time, lately I've started getting
> > > segmentaion faults when I run apropos, as in the following:
> > > 
> > >   $ apropos hyphenation
> > >   Segmentation fault
> > >   $ 
> > 
> > This has so far been reported as a bug six times, and is a bug in
> > glibc 2.3.1's regexec() implementation. See
> > .
> > 
> > Cheers,
> > 
> > -- 
> > Colin Watson (man-db maintainer) 
> > [[EMAIL PROTECTED]]
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> > 
> Thanks, Colin. I did look in the bug tracker before posting,
> the search mechanism came up empty on open bugs with 'apropos'...
> 
> PM

The bugs are probably filed against 'man' because 'apropos' = 'man -k'.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: recover ext3 deletion

2002-11-08 Thread Gerald Livingston
- Original Message -
From: "Paul Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 22:16
Subject: Re: recover ext3 deletion

On Fri, Nov 08, 2002 at 03:58:52PM -0800, nate wrote:
>> I too am very bad at backing up my personal data, I do back it up
>> but its not often(maybe once or twice a year). Now that I have a DAT
>> drive I may start doing it more often though.

> If you're bad at making backups, or don't have the means to do so, I
> suggest you have TMPTIME in /etc/default/rcS set to 7, and have
> tmpreaper installed.  Instead of deleting things, move them to /tmp.
> The files will automatically be deleted in a week assuming nobody
> touches them.


I went googling and found a utility I had set up when I was first
playing with slackware years ago. It's called safedelete and creates a
"trashcan" like wrapper around 'rm'. I don't see it packaged anywhere
and the .rpm's I found while goggling seem to have been created sometime
in the year 2000 -- the link I provide below indicates a tgz version
from 2001.

http://www2.cddc.vt.edu/linux/utils/shell/

http://www2.cddc.vt.edu/linux/utils/shell/safedelete-1.3b.lsm

Begin4
Title: SafeDelete - safely delete and undelete files
Version: 1.3b
Entered-date: 30MAY01
Description: SafeDelete is a set of utilities which is meant to enhance
 the rm command.  Files which are removed with the
safedelete
 command can be recovered with the undelete command.
 Version 1.3b fixes various bugs and adds a few features.
 There are also two new commands: 1) undeltk provides
 a Tcl/Tk interface to the undelete command and 2) undelsh
 provides a shell interface (runs under bash and ksh only).
 Also updated the Makefiles for the various platforms.
 If you are currently using safedelete 1.3a you can upgrade
 to 1.3b directly (issue safedelete --version to see
version).
 SunOS locking code provided by Alexandar Howard - thanx!!
Keywords: shell utility safedelete undelete rm
Author: [EMAIL PROTECTED] (Jeff Renicker)
Maintained-by: [EMAIL PROTECTED] (Jeff Renicker)
Primary-site: www.ibiblio.org/pub/Linux/utils/shell
  72K safedelete-1.3b.tar.gz
Alternate-site:
Original-site:
Platforms: Linux, AIX, HP-UX, SunOS, Solaris
Copying-policy: Artistic License
End

--
gvl2
http://www.phorce1.com
http://www.buskatiers.org



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




Re: restarting all services

2002-11-08 Thread Gerald Livingston
- Original Message -
From: "Lance Hoffmeyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 23:03
Subject: restarting all services


> How can I restart all services without rebooting?
>
> Lance
>

I normally 'telinit 2' which restarts everything at the same level as a
fresh boot. I'm not at my machine right now so you may actually have to
CHANGE the runlevel to get everything to restart -- i.e.. 'telinit 1' to
go to single user mode then 'telinit 2' to go back to the normal Debian
runlevel.

G


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




Re: Restarting X after graphical login

2002-11-09 Thread Gerald Livingston
- Original Message -
From: "Chris Lale" <[EMAIL PROTECTED]>

> Well, I can use  to run a different terminal session,
> login and start a new instance of X with 'startx -- :1'. There are
some
> problems here:
>
> 1. X run the KDE desktop (not Gnome). This is not really a problem,
but
> it is annoying.
> 2. Sometimes KDE fails to start and I am left with a black screen.
When
> I run out of patience,  seems to kick it into action.
> 3. I am not sure that the changes I am making are working correctly.
> There may be unexpected behaviour (eg while stopping and starting font
> servers, desktop menu fonts changed unexpectedly).
> 4. The original instance of X is still running  and may
> be unaffected by the changes until X is restarted. The only way to
> restart is to reboot!
>
> Is there a better way?

First, don't bother starting a second X session on from the command
line. Either do whatever configuring you need to do right there in your
initial X then logout (since you're using Gnome) of that session so it
tosses you back to the GDM login screen OR, if you want to do all of
your setup/configuring from a command line just log out of X to the GDM
login prompt before getting started.

Now, when at the GDM login screen use CTRL-ALT-F1 to get to a console.
Complete whatever configurations you needed to do then, as root, type
'/etc/init.d/gdm restart'.

Personally, I usually drop to console then issue an '/etc/init.d/gdm
stop' then do any apt-get install/upgrades or config changes -- then
issue an '/etc/init.d/gdm start'.

Read through the scripts in /etc/init.d. you'll learn all sorts of
things about your system.

G

--
http://www.phorce1.com
http://www.buskatiers.org




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




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

2002-11-09 Thread Gerald Livingston
I don't know if any of you are stuck in this situation so I'll just ask.

I have IMAP set up at home -- but when I'm at work I'm currently stuck
using a win-box due to certain required applications. It's not a real
healthy winbox as far as RAM and HD space goes or I'd look at setting up
VMWare to have Debian alongside Win. Even the Win apps run slow on this
machine.

I need to know if there are any decent, free, IMAP clients out there for
Windows. I'm currently using Outlook Express  and tunneling my
IMAP connection through ssh (port 143 is blocked on the work firewall).

I was running Squirrelmail on the home system but since I run SID and a
recent upgrade seems to have broken Apache for me (it just never
starts -- no errors in ANY of the logs -- '/etc/init.d/apache start' --
and the process never appears) I can't use it right now.

Message threading is non-existent in OE and it treats gpg signed
messages as two separate attachments so I have to open the actual text
of the message as an attachment to see it.

So, I'm looking for a decent IMAP client to use on this Winbox until I
get my laptop setup and install Sylpheed or something there. 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.

Thanks,

G


-- 
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-10 Thread Gerald Livingston
- Original Message -
From: "Chris Kenrick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 17:33
Subject: Re: [Semi-OT] IMAP clients for other OS Plus my broken SID
Apache


> 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


I have CygWin installed here. It's so slow on this box it's painful. If
I
were to choose to use Mutt I would just ssh to my home box with
Putty and use it that way. This is primarily for "weekend" use. I work
a straight 48 hour shift from Friday evening to Sunday evening. I've
gotten
really used to the likes of Sylpheed/Evolution/et. al. because my family
members
like to send lots of photo attachments and links to web pages etc. It's
just
easier to be working in a "(x)windows aware/graphical" client. With the
lists
I'm on a client that threads properly is also a must.

The firewall here blocks port 143 so what I'm currently doing is using
Putty
to open an ssh session with my home box and tunnel port 143 from there
to
port 143 here. Then I set an IMAP client (currently Outlook Express) to
look
at localhost:143. I'm currently having some sort of problem with OE
sending an
invalid request through the port occasionally that causes sshd to close
the
connection from my home system. I just fire up Putty again and all is
well until
the next time it happens. I could use CygWin ssh to do the same thing
but I'll
probably remove it. I installed it to try simply opening a remote X
session over
an ssh tunnel but it is unbearably slow on this machine (which has a
crappy built
in video card and only 128M of RAM which is being sucked up by
WinXP-Pro -- also only a 10G HD which is over half used at this point by
CygWin and the apps I have to have installed for work).

I have Opera installed here -- it's mail client doesn't seem to support
IMAP,
just POP3. I pulled the win32 version of both Sylpheed and
Sylpheed-claws.
Both fail to operate here. I read through all the documentation and made
sure I
had the latest DLL files as suggested but they both still fail when I
attempt to
actually open a message for reading. They load fine (but VERY slowly) up
to
that point and I can move around between IMAP folders and see how many
new messages are waiting in each folder etc. But as soon as I attempt to
actually
open a message for reading they lock up tight.

I'd rather not install something like Mozilla just for email -- and does
it thread
properly and allow multiple From addresses for a single IMAP account?

Bah! The limitations imposed by Windows and a slow machine are just
ticking me
off (as usual). I'll just get Woody cleaned up and finalized on my old
P-166 HP
Laptop and install Sylpheed there for remote use via ssh tunnel.

Thanks all for the various suggestions. I have to go back through and
manually
word-wrap this now and re-start Putty before I send it.

G


-- 
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-10 Thread Gerald Livingston
- Original Message -
From: "Chris Kenrick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 17:33
Subject: Re: [Semi-OT] IMAP clients for other OS Plus my broken SID
Apache


> 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


I have CygWin installed here. It's so slow on this box it's painful. If
I
were to choose to use Mutt I would just ssh to my home box with
Putty and use it that way. This is primarily for "weekend" use. I work
a straight 48 hour shift from Friday evening to Sunday evening. I've
gotten
really used to the likes of Sylpheed/Evolution/et. al. because my family
members
like to send lots of photo attachments and links to web pages etc. It's
just
easier to be working in a "(x)windows aware/graphical" client. With the
lists
I'm on a client that threads properly is also a must.

The firewall here blocks port 143 so what I'm currently doing is using
Putty
to open an ssh session with my home box and tunnel port 143 from there
to
port 143 here. Then I set an IMAP client (currently Outlook Express) to
look
at localhost:143. I'm currently having some sort of problem with OE
sending an
invalid request through the port occasionally that causes sshd to close
the
connection from my home system. I just fire up Putty again and all is
well until
the next time it happens. I could use CygWin ssh to do the same thing
but I'll
probably remove it. I installed it to try simply opening a remote X
session over
an ssh tunnel but it is unbearably slow on this machine (which has a
crappy built
in video card and only 128M of RAM which is being sucked up by
WinXP-Pro -- also only a 10G HD which is over half used at this point by
CygWin and the apps I have to have installed for work).

I have Opera installed here -- it's mail client doesn't seem to support
IMAP,
just POP3. I pulled the win32 version of both Sylpheed and
Sylpheed-claws.
Both fail to operate here. I read through all the documentation and made
sure I
had the latest DLL files as suggested but they both still fail when I
attempt to
actually open a message for reading. They load fine (but VERY slowly) up
to
that point and I can move around between IMAP folders and see how many
new messages are waiting in each folder etc. But as soon as I attempt to
actually
open a message for reading they lock up tight.

I'd rather not install something like Mozilla just for email -- and does
it thread
properly and allow multiple From addresses for a single IMAP account?

Bah! The limitations imposed by Windows and a slow machine are just
ticking me
off (as usual). I'll just get Woody cleaned up and finalized on my old
P-166 HP
Laptop and install Sylpheed there for remote use via ssh tunnel.

Thanks all for the various suggestions. I have to go back through and
manually
word-wrap this now and re-start Putty before I send it.

G


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




ssh port forwarding

2002-11-10 Thread Gerald Livingston
OK, got Woody working on the laptop.

Now I seem to be having difficulty getting ssh port
forwarding from the home machine to the woody laptop.

Works fine forwarding port 143 from the home machine
to port 143 on this winbox using Putty.

On the laptop I'm using the ssh command line:

ssh root@home-machine -R 143:localhost:143

I also tried 1143 as the second port argument thinking maybe
I couldn't use a privileged port locally as non root.

It still doesn't seem to be working. My Sylpheed setup pointed 
at localhost doesn't see my IMAP folders. Ideas?

G


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




Re: Knoppix-Piggy and Debian installer

2002-11-10 Thread Gerald Livingston
On Sun, 10 Nov 2002 21:52:01 -0500
Stephen Gran <[EMAIL PROTECTED]> wrote:

> This one time, at band camp, Mark L. Kahnt said:
> > You and me both fumbling at this - my hope was that there was
> > something I was overlooking - maybe filtering or firewall (I've
> > tried this with every part of those shut off) or even some sort of
> > management setting on how much bandwidth I can bring into my own box
> > in a stretch of time.  I've tried pulling ISOs through my own
> > webserver and ftp server on the box, with no problems, but at the
> 
> OK, let's try a couple of things.
> 
> df -H - you're not running out of room, are you?
> 
> Can you do large file transfers with other things over the net
> (sendfile, ftp?) - if you want, we can test with sendfile offlist.
> Write me if you want to try, although my upload is only about 12K/sec
> - might take a while (^:
> 
> wget is usually better at spitting out errors than browsers, as is
> jigdo- you might want to try those to see what's spit out.
> 
> Hmm . . . hmm . . . anybody else have any ideas for figuring out
> whether this is a connectivity or disk space/quota/something problem?

Well, how about just grabbing the first Woody ISO from a remote mirror
somewhere. Considering the point at which the Knoppix D/L stops that
should be large enough to test whether it is specific to the servers
hosting Knoppix. If it works then ask around and see if someone in here
with decent bandwidth will host it for you to grab.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: execute command from HTML page

2002-11-11 Thread Gerald Livingston
On Sun, 10 Nov 2002 21:27:22 +
Debian User <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 11, 2002 at 03:44:33PM +1030, Barney Wrightson wrote:
> > Actually you wouldn't even need the HTML at all, you could simply
> > enter 
> > the address of the cgi script into your browser and load it to cause
> > it 
> > to execute. Provided that apache and user permissions were set up
> > correctly.
> will try that, am unsure of how to give a lowly user [such as
> www-data] enough rights to access wvdial[complains that it cannot
> acess device/dev/ttyS1 which is the modem]. -this is a router box and
> currently only has two users: root and hugh, root is root and hugh is
> used for my email, i cannot start wvdial from hugh account. How would
> i give hugh[or www-data] the privaleges to start wvdial

As root:

addgroup modem
chgrp modem /dev/ttyS1
adduser hugh modem
adduser www-data modem

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: exim, delivery to /home/user instead of /var/mail/user

2002-11-12 Thread Gerald Livingston
On Tue 12 Nov 2002 08:42:43 +0100
"Benedict Verheyen" <[EMAIL PROTECTED]> wrote:

> 
>  Shyamal Prasad <[EMAIL PROTECTED]> wrote:
> 
>   
> >Make sure your pop lines have a "is 'userx' here" line to get the
> >mail to the right users.
> It does have such a line. Yet it puts all mail in
> /var/spool/exim/input. When you are fetching mail for several users,
> that's not a good approach.
> 
> >Don't do this. There is no need to. Leave exim configured the way
> >Debian expects things to be (mail in /var/spool/main/...)
> See comments above. If you are fetching mail for all users then there
> is a need to split mail into various users directories.
> 
> I think it's possible to do this and then if the users has a procmail,
> let that one sort the messages in to the correct subdirectories.

What he was trying to put across is that in the DEFAULT Debian install
of Exim any mail passed to it by fetchmail shuld automatically be
delivered to /var/mail/{username}. If the user has a ~/.procmailrc then
it would automatically be passed through procmail and delivered wherever
the .procmailrc told it to go.

Something is broken in your Exim installation. At this point I would
suggest deleting everythin in /etc/exim and running 
'dpkg-reconfigure exim' or 'eximconfig' to get back to the default
behaviour.

Also, please post your fetchmailrc (sanitize the usernames/passwords
please) here to this thread so we can see if anything appears out of
whack.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: exim, delivery to /home/user instead of /var/mail/user

2002-11-12 Thread Gerald Livingston
On Tue 12 Nov 2002 13:40:33 +0100
"Benedict Verheyen" <[EMAIL PROTECTED]> wrote:

> >What he was trying to put across is that in the DEFAULT Debian
> >install of Exim any mail passed to it by fetchmail shuld
> >automatically be delivered to /var/mail/{username}. If the user has a
> >~/.procmailrc then it would automatically be passed through procmail
> >and delivered wherever the .procmailrc told it to go.
> >
> >Something is broken in your Exim installation. At this point I would
> >suggest deleting everythin in /etc/exim and running 
> >'dpkg-reconfigure exim' or 'eximconfig' to get back to the default
> >behaviour.
> >
> >Also, please post your fetchmailrc (sanitize the usernames/passwords
> >please) here to this thread so we can see if anything appears out of
> >whack.
> >
> >G
> 
> I deleted the files in /etc/exim, ran eximconfig. Then i restarted
> both exim and fetchmail but the mail ends up in /var/spool/exim/input
> again. This is my /etc/fetchmailrc file:
> 
> ==
> set postmaster "user1"
> set bouncemail
> set no spambounce
> set daemon 300
> 
> poll pop.isp.com with proto POP3
> user 'username1' there with password '123456' is 'user1' here
> 
> poll pop3.isp2.com with proto POP3
> user 'username2' there with password '123456' is 'user1' here
> 
> poll pop.isp.com with proto POP3
> user 'username3' there with password '123456' is 'user2' here
> 
> keep
> ==

Hmmm -- check that the user:group for /var/mail is root:mail or
mail:mail. Perhaps exim can't write to the spool directory and this is
causing the failure.

Mine look like this:

ls -lA /var
...
drwxrwsr-x2 root mail 4096 2002-10-28 03:33 mail
...

ls -lA /var/spool
...
lrwxrwxrwx1 root root  7 2002-07-05 03:18 mail ->../mail
...

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




unstabe to testing [was: Re: woody to testing]

2002-11-12 Thread Gerald Livingston
On a related note so I'm stealing the thread.

On Tue, 12 Nov 2002 11:10:17 -0500
David Z Maze <[EMAIL PROTECTED]> wrote:

> > 3. Can I go back to woody after moving to testing?
> 
> Not easily.  Package downgrades aren't well supported.  A couple of
> people have tried to go back with varying degrees of success; search
> the debian-user archives for their stories.
> 

Is it possible to slowly revert to testing from unstable by just
changing the sources.list and essentially having no upgraded packages
found until they have propagated down the tree?

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Visual notice for X

2002-11-18 Thread Gerald Livingston
Is there something that can be run in X that will force a "visual"
notice of an event regardless of what window you happen to be looking
at? I am usually in X now and always run apps maximized so changing the
root background with xsetroot won't work (had considered that). Audio is
out because I usually have the volume turned down because I share this
room.

Thanks,

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Visual notice for X

2002-11-18 Thread Gerald Livingston
On Tue, 19 Nov 2002 13:37:36 +0700
Oki DZ <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 18, 2002 at 11:51:48PM -0600, Gerald Livingston wrote:
> > Is there something that can be run in X that will force a "visual"
> > notice of an event regardless of what window you happen to be
> > looking at? I am usually in X now and always run apps maximized so
> > changing the root background with xsetroot won't work (had
> > considered that). Audio is out because I usually have the volume
> > turned down because I share this room.
> 
> kWhat about installing a desktop mgr?
> In Gnome, you'd always have the panel and the menu panel (if you had
> set them up), and when the main window is max'ed, it won't overlap the
> panels.
> 
> Oki
> 
> 

Actually, I'm using Gnome. But I like to have and use my entire screen.
My panels are set to autohide with a 1 pixel height as all that remains
showing.When I maximize an app it fills the entire screen. xsetroot to
change the background would work only while I was in a gnometerm because
I use a transparent BG there.

What I am searching for is a way for my girlfriend to let me know she
has arrived home from work without having to telephone me. It is a toll
call for her to call me, but not a toll call for me to call her. I may
go for hours without actually reading my email so that is rather
useless. and I do not like to leave gAIM or EveryBuddy active. She is
the only person I chat online with so I don't want them using rescources
or popping up in an annoying fashion when others choose to send an IM
that I am not interested in responding to.

I would like to set up a couple of programs that will pop up a window on
my current Sawfish workspace over the top of anything else I happen to
be viewing. I'll then use procmail to fire the correct program if she
sends an email with a specific subject.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Postscript printer help

2002-11-18 Thread Gerald Livingston
I was given a postscript (level 2) capable color laser printer (HP Color
LaserJet 5M). What should I use as a print spool setup? I've installed
CUPS but it doesn't seem to be offering a plain postscript dump option.
I located a .ps file on my system
(/usr/share/apps/kdeprint/testprint.ps) and just did a 'cat
/usr/share/apps/kdeprint/testprint.ps>/dev/lp0' and it worked
beautifully, color and all. 

Should I remove all CUPS related packages and simply install lprng and
magicfilter?

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Visual notice for X

2002-11-19 Thread Gerald Livingston
On Tue, 19 Nov 2002 23:41:01 -0500
Stephen Gran <[EMAIL PROTECTED]> wrote:

> This one time, at band camp, Gerald Livingston said:
> > What I am searching for is a way for my girlfriend to let me know
> > she has arrived home from work without having to telephone me. It is
> > a toll call for her to call me, but not a toll call for me to call
> > her. I may go for hours without actually reading my email so that is
> > rather useless. and I do not like to leave gAIM or EveryBuddy
> > active. She is the only person I chat online with so I don't want
> > them using rescources or popping up in an annoying fashion when
> > others choose to send an IM that I am not interested in responding
> > to.

> You can use any of the standard email notification programs - if you
> use GNOME, there's a panel applet - and filter the desired email to,
> say,~/Mail/Honey_Im_Home.  Have the biff clone watch that folder only,
> and that should do it.  I think the GNOME one will even play a sound
> when new mail arrives.

I'll have to look into that. I have procmail sorting to Maildir folders
because I use an IMAP server locally. If it reports on more than mail
specifically from her I would soon begin to ignore it.

I'm working with osd_cat from the xosd packages right now. But since it
backgrounds and doesn't open an actual window I haven't figured a way to
make it stick until I dismiss it. It's timed right now depending on the
command line.

Fairly nice but I'll have to select a text color and font that will show
over most anything as the backfround colors in the various apps I use
aren't consistent.

I suppose I just need to go ahead and learn enough TK to write a small
program of my own that will open a separate message window when called,
something that will persist until closed. Could probably read through
the CDRToaster source to learn that much. I've already managed to resize
it's internal box sizes (audio track list wasn't wide enough) and
modified most of the text for the heck of it.

Thanks,

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Visual notice for X

2002-11-21 Thread Gerald Livingston
On Thu, 21 Nov 2002 20:49:20 +1100
Rob Weir <[EMAIL PROTECTED]> wrote:

> On Wed, Nov 20, 2002 at 12:04:25AM -0600, Gerald Livingston wrote:
> > I'm working with osd_cat from the xosd packages right now. But since
> > it backgrounds and doesn't open an actual window I haven't figured a
> > way to make it stick until I dismiss it. It's timed right now
> > depending on the command line.
> 
> xmessage sounds like what you want.  Maybe combine it with bblaunch if
> you need stickiness.
> 
> -rob

Thank you Rob.

That is exactly what I was looking for. I'm glad I started the thread
though, osd_cat looks like a neat toy to play with for adding completion
notices to scripts that I background. The transparency allows me to get
the notice without interrupting what I'm doing in the foreground (which
is what annoys me about instant message programs -- they tend to pop up
and grab the mouse/keyboard focus -- I only want that to happen for one
specific person).

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Virus Alert - ScanMail for Lotus Notes

2002-11-21 Thread Gerald Livingston
On Thu, 21 Nov 2002 17:31:30 -0800
Bill Moseley <[EMAIL PROTECTED]> wrote:

> At 01:16 AM 11/22/02 +, Colin Watson wrote:
> >On Thu, Nov 21, 2002 at 05:03:38PM -0800, Bill Moseley wrote:
> >> This list allows non-subscribers to post, right?  Why is that?  
> >
> >If you've been around for a bit, you'll have seen really quite
> >frequent posts from people saying "I can't handle the volume of this
> >list, so I'm not subscribed; please cc me on replies". The spam
> 
> But if someone doesn't subscribe they have the chance that a reply to
> their question won't go to them (only to the list).  And I also think
> it's trivial and fast to subscribe during time you ask your question
> and expect replies.

That's what the archives are for. During periods that I feel overwhelmed
by list volume I unsubscribe == If I ask a question I don't usually
request a CC -- I just go to the archives a few days later and search on
my original subject.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Looking for a backup to CD-R(W) program

2002-11-25 Thread Gerald Livingston
On Mon, 25 Nov 2002 20:08:53 -0500 (EST)
[EMAIL PROTECTED] (Joe Nahmias) wrote:

> Chris,
> 
> Correct me if I'm wrong, but I thought Linus himself said that using
> dump on live (mounted) filesystems was a bad idea.  I'll see if I can
> dig up a reference to it...
> 
> Thanks for your help!
> Joe
> 
> > Chris Lale wrote:
> > > Incremental daily backup:
> > > dump -3u -z -M -B 65 -f /bkp/home/monday.dump /home
> > 
> > Whoops! that should be -9 not -3:
> > dump -9u -z -M -B 65 -f /bkp/home/daily.dump /home
> > 

>From the top of the "cdbackup" man page:

DESCRIPTION

cdbackup  is  a utility to make streaming backups to CD-R(W)
disks. It's designed to work with any backup tool which writes the
backup to stdout   (like tar/cpio/afio).

NOTE: this program REQUIRES that a recent version of cdrecord(1)
is present in the PATH.

WARNING! When using this program under Linux, be sure not to use
dump on a mounted filesystem. This has a high potential for creating 
corrupted   backups.  As  of  kernel  version  2.4.19,  this  has
not been fixed and it may not be fixed at all.  You can read Linus
statement about this at  



G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Postfix server acting as relay !!!!

2002-11-25 Thread Gerald Livingston
On Mon, 25 Nov 2002 17:53:59 -0800
Curtis Vaughan <[EMAIL PROTECTED]> wrote:

> Well, I took your advice, except for the check_relay_domains, but
> still I am relaying. I guess the intended recipients have FQDNs.
> 
> check_relay_domains I am not using because originally that is what I 
> did, but it would only relay to those domains.  What if an authorized 
> user wishes to send a letter to someone at yahoo.com?  It's not in the
> 
> relay domains, therefore it is dropped.
> 
> Curtis
> 

I don't know how to do it in PostFix but for my Exim setup I allow
relaying TO any domain but only FROM machines on the local net or FROM
authorized users using SMTP-AUTH (must have a valid user/password on the
mail host).

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




giving access to local X disply in procmail

2002-11-25 Thread Gerald Livingston
I've dug through documentation all over the place and no go so far. 

How can I let a procmail recipe pop up a display using xmessage if the
user owning the procmailrc happens to be logged in to a local xsession
at the time it is processed? I keep getting the following error:

procmail: Couldn't determine implicit lockfile from
"/usr/X11R6/bin/xmessage" 
Error: Can't open display: 

This is the recipe:

#test case
:0bc
* ^From.*[EMAIL PROTECTED]
|/usr/X11R6/bin/xmessage --display :0.0 -default okay -nearmouse -file -

I tried adding an su to the user's id but then it complains that su must
be run from a terminal (even though I used -c?).

I fixed the lockfile error (by not using one on the "c" recipe) and the
message drops into my mailbox by the next matching recipe just fine.

I have xmessage working how I want from the command line, just can't get
it to pop to the displat from procmail.

I'll also need to add a "&" on that recipe so procmail won't stop there,
right?

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




[PARTLY SOLVED - NEW QUESTION] Re: giving access to local X disply in procmail

2002-11-25 Thread Gerald Livingston
On Mon, 25 Nov 2002 22:42:36 -0600
Gerald Livingston <[EMAIL PROTECTED]> wrote:

> I've dug through documentation all over the place and no go so far. 
> 
> How can I let a procmail recipe pop up a display using xmessage if the
> user owning the procmailrc happens to be logged in to a local xsession
> at the time it is processed? I keep getting the following error:
> 
> Error: Can't open display: 
> 
> This is the recipe:
> 
> #test case
> :0bc
> * ^From.*[EMAIL PROTECTED]
> |/usr/X11R6/bin/xmessage --display :0.0 -default okay -nearmouse -file
> |-
> 
> I have xmessage working how I want from the command line, just can't
> get it to pop to the displat from procmail.
> 
> I'll also need to add a "&" on that recipe so procmail won't stop
> there, right?
> 
> G

I now have this working, so long as I don't log out, then back in to X.
See below for my new question. Here is aht I have done to get it
working.

I'm using gdm and gnome. Every tim I log in my XAUTHORITY changes to a
new file in /tmp. So, after I get logged in to X I issue the following
command in a shell:

set|grep XAUTH>~/tempfile

then I use this .procmailrc snippet to let procmail use the X display:
SHELL=/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/mh/bin:/usr/bin:/bin
MAILDIR=$HOME/Maildir/
LOGFILE=$HOME/Mail/fetchlog
XMSG=/usr/X11R6/bin/xmessage
DISPLAY=:0
PROCX=$HOME/tempfile
INCLUDERC=$PROCX
#FAILDROP=failed.mail

Note the PROCX variable and the INCLUDERC. This sets the XAUTHORITY
variable in .procmailrc.

So, what I need now is a way to automatically issue that cat command
each time I log in through gdm. Does a gdm login even look at
~/.xsession? If it DOES, has the XAUTH already been issued at that
point?

And, lastly, is there a way to modify that tempfile when I log out of X
(make its only line say XAUTHORITY rather than
XAUTHORITY=/tmp/something)  so I can include a test in procmail to skip
the display recipe if XAUTHORITY is un-set?

Thanks,

Gerald

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Xlib: connection to ":0.0" refused by server ???

2002-11-28 Thread Gerald Livingston
On Thu, 28 Nov 2002 14:00:56 +0100
Tobias Kraus <[EMAIL PROTECTED]> wrote:

> > daves debian wrote:
> > > When i am logged in as a user, I want to execute an X program as
> > > root, I type
> > > su
> > > 
> >
> > ...
> >
> > > The X library has been refused by the X server, because root is
> > > not autherised to connect to the server ??
> >
> > ...
> >
> >only authorized user can connect to X server, just because you
> >are
> > root doesn't mean you can connect to X server on given machine (just
> > like you cannot connect to other services - e.g. you'd still need
> > password for database, ...)
> >
> >you have few options:
> >
> >1) xhost (see man xhost), don't do that though!
> >
> >2) as root run: xauth merge ~userThatRunsX/.Xauthority
> >
> >option 2 will give you access to X server without compromising
> > security (while it's running, if you restart X you have to run xauth
> > again)
> >
> > erik
> 
> alternatively you can do this in the root home directory (/root):
> 
> ln -s ~userThatRunsX/.Xauthority .
> 
> This will work as long as you don't log in in X as root. Then, the
> .Xauthority file will be overwritten.
> 
> Tobias
> 

On my system, when I'm in X, my XAUTHORITY environment variable is set
to something like

XAUTHORITY=/tmp/.gdmXfTqzn

This is being done because I use gdm. Is there any way to automatically
determine what that's going to be or a way to link to XAUTHORITY when it
changes every login? I'm trying to use the X display in a procmail
recipe when I'm logged in but since the XAUTHORITY variable keeps
changing I can't set it arbitrarily in the .procmailrc environment
lines.

For the user who started this thread -- if you have the same problem,
you can set up sudo for the user that needs root access. It works
without having to play with xauth.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Webmail question

2002-11-29 Thread Gerald Livingston
On Fri, 29 Nov 2002 16:00:40 -0500
"David Ellis" <[EMAIL PROTECTED]> wrote:

> Thanks! I'll look into procmail..
> 
> I'm assuming its an MTA (replacement for exim)?
> 
> - David
> ----- Original Message - 
> From: "Gerald Livingston" <[EMAIL PROTECTED]>
> To: "David Ellis" <[EMAIL PROTECTED]>
> Sent: Friday, November 29, 2002 3:58 PM
> Subject: Re: Webmail question
> 
> 
> > On Fri, 29 Nov 2002 14:23:49 -0500
> > "David Ellis" <[EMAIL PROTECTED]> wrote:
> > 
> > > This works great for reading 100-200 messages, but my Debian
> > > folder times out (1000+ messages), squirrelmail seems to be kinda
> > > slow for reading large amount of messages. So my question, does
> > > anyone know if there is a higher performance webmail client that
> > > would work well in the above setup?
> > > 
> > > Thanks!
> > > 
> > > David
> > 
> > I don't know of anything faster but check the following:
> > 
> > in /etc/php4/apache/php.ini
> > 
> > search for "max_execution_time" and increase it (but not too much)
> > 
> > You may also want to increase "memory_limit" a bit.
> > 
> > Now, what you REALLY need to do is set up procmail to deliver your
> > mail into sorted folders so you don't end up with 1000+ messages in
> > a single folder. If you tend to archive messages like I do then
> > create archive folders for old mail and start moving messages there.
> > I create monthly folders for a couple of medium volume lists I am on
> > (1000 to 2000 messages/month) and on the first day of each month I
> > move all messages from the "main" list folder off to a new archive
> > folder.
> > 
> > For debian_user I keep messages I may be interested in re-reading in
> > a separate folder and when it approaches 1000 - 1500 messages I just
> > start a new folder or flip through that one and delete messages I
> > decide I'm no longer interested in keeping --- they're in the
> > archives at debian.org if I need to find them again.
> > 
> > G

1st, I use courier imapd -- you'll need to verify some of this delivery
stuff as far as Cyrus goes and get all of your mail folder paths
straight. I do not know the Cyrus setup at all, Courier uses regular
folders in my home directory and stores mail in MAILDIR format.


No, it's a mail "filtering" program. If you install it and leave exim
alone exim will use it if you have a .procmailrc file in your home
directory or deliver as usual if you don't. I have Courier IMAP set up
with ~/Maildir as my main IMAP folder and I set up my .procmailrc to
deliver there (and subfolders in it) and left exim alone. That way if I
have a user on my system who does NOT want to use IMAP their mail will
still go to /var/mail/{username} and they can use POP3 or a local mail
program to read it rather than having to set up an IMAP client or use
squirrelmail.

My apache is broken right now anyway and I don't feel like figuring out
why so squirrelmail is down. I use Sylpheed to read my IMAP box both
here on the local machine and from mt laptop through an ssh tunnel when
I'm away from here.

Any web search for "procmail" should bring about a zillion hits. If you
just apt-get install procmail it will get it on your system but not
actually use it for anything. You have to set up a ~/.procmailrc before
it gets used for filtering.

Here's a most of my .procmailrc showing delivery to my
~/Maildir/.whatever folders. Note that you cannot use "~" to denote your
home directory, you must use $HOME and Maildir folders MUST be
terminated with a "/" or it will deliver to MH style folders.

Also note the commented out backup section. It would be a GOOD IDEA to
create a folder called "backup" and uncomment that section when you are
"playing" with setup. Just remember to go empty that folder daily
because it will get a copy of EVERY message that gets delivered to you.

Also note the "final failure" catchall at the end. If none of the other
recipes deliver the mail to another folder then this will catch it and
deliver it to a box set up as an "inbox" for "all other unsorted mail".

G

SHELL=/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/mh/bin:/usr/bin:/bin
MAILDIR=$HOME/Maildir/
LOGFILE=$HOME/Mail/fetchlog

#Regenerate a clean 'From' header
:0fhw
|formail -I "From " -a "From "

#Copy all incoming mail to ~/mail/backup **CLEAN WEEKLY BY HAND**
#:0c:
#.backup/


#debian-user
:0:
* ^Resent-Sender.*[EMAIL PROTECTED]
.Debian-User/

#debian-firewall
:0:
* ^Resent-Sender.*[EMAIL PROTEC

Re: What [OT] stands for?

2002-12-08 Thread Gerald Livingston
On Mon, 09 Dec 2002 15:20:01 +0900
hiranokazunari <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> Can anyone tell me what [OT] stands for, which I often see in the
> message title box for this mailing list?
> 
> Thanks.
> 
> Nari

[O]ff [T]opic


-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Help! Exim & verizon.net

2002-12-13 Thread Gerald Livingston
On Fri, 13 Dec 2002 15:44:37 -0500
R Ransbottom <[EMAIL PROTECTED]> wrote:

> On Thu, Dec 12, 2002 at 05:20:55PM -0600, Gerald V. Livingston II
> wrote:
> > 
> > R Ransbottom said:
> > 
> > >
> > > I am trying to set up a debian mail server that
> > > sees the world through incoming.verizon.net and
> > > outgoing.verizon.net.
> 
> > Short reply for now. It can be done. I'm using smarthost with SMTP
> > auth on my home system. I am remote right now on a weak machine so I
> > don't want to ssh to my box to dig through the config. I will be
> > home in a few hours and will post the solution then if no-one else
> > has.
> 
> I would appreciate the info.  I've read the other posts and spec.txt
> chap 35 and think I have a handle on this, but I must be missing
> something basic.

Sorry -- eneded up staying out overnight. Life has been hectic here
the last 3 weeks or so. Here is the relevant section that makes it work
for me. I first set up using the"smarthost" option then dug around on
the net until I found this.

This is for a smarthost that uses "plain" or "NT" SMTP AUTH.

This section is added in its entirety at the very end of the exim.conf
file. Note that the lines that start with "server_condition = " have
wrapped and should be one line all the way out to the " {0}}" ".

Also, the second part, starting with "login:" is not needed. That
section causes *MY* Exim setup to use SMTP AUTH for one particular local
username so I can send mail out through my own mail server (which then
goes out through the smarthost) when I am using another physical machine
since I have all non-local machines restricted from relaying further up
in the exim.conf file. Only that one username can relay mail unless
actually sending from the local machine. I set that up since I quite
often use my laptop on several different networks and discovered I
couldn't use "localhost" as my outgoing mail server. It lets me keep a
similar mail setup on both my laptop and desktop (Sylpheed reading IMAP
folders -- through an ssh tunnel if I'm not local).

Gerald

##
#   AUTHENTICATION CONFIGURATION #
##

# Look in the documentation (in package exim-doc or exim-doc-html for 
# information on how to set up authenticated connections.

# The examples below allow two styles of plain-text authentication
# against an /etc/exim-passwd file which should have user IDs in the
# first column and crypted passwords in the second

 plain:
   driver = plaintext
   public_name = PLAIN
   client_send = ^username^password
   server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim-passwd}{$valu
e}{*:*}{1}{0}}"   
   server_set_id = $1

 login:
   driver = plaintext
   public_name = LOGIN
   client_send = :localauthorizedusername:password
   server_prompts = "Username:: : Password::"
   server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim-passwd}{$valu
e}{*:*}{1}{0}}"
   server_set_id = $1

# End of Exim configuration file

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Sylpheed and mail client

2002-12-24 Thread Gerald Livingston
On Wed, 25 Dec 2002 03:34:31 +
Carlos Sousa <[EMAIL PROTECTED]> wrote:

> On Mon, 23 Dec 2002 18:29:24 -0500 Marc Shapiro wrote:
> > Sometimes, when I receive mail-list digests, some of the message
> > will display, but not all of it.
> (...) 
> > Obviously, using a more complex, and less likely to be used
> > by accident, section divider would mostly eliminate this problem
> > from the standpoint of a particular digest, but the mailer should be
> > able to prevent the problem.
> 
> I reported this bug almost a year ago (can't find it in the BTS
> though), and got an answer from upstream, through the Debian
> maintainer, saying that Sylpheed follows the relevant RFC's
> scrupulously and they *won't* change the code just because the Debian
> digests are broken.
> 
> So I think this must be solved by changing the divider line in the
> Debian digests, but somehow I don't see that happening :)
> 
> That made me change my subscription to the real lists instead of the
> digest ones, and I'm happy with the move. List digests make it
> difficult to reply to specific messages, it's nearly impossible to
> follow threads, and the savings in bandwidth aren't all that relevant.

Some people get the digests because of high telephone/internet rates. A
single large file downloaded is much faster than many individual
message. Also, for thos who can only connect once, or maybe twice per
day a max size setting for the digest can break up a list such as this
one (up to 300 messages daily) into manageable chunks.

For those people just set up procmail (or "splitdigest") to break the
digests back into individual messages. Then any mailer can handle it.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




[OT] Procmail/metamail assistance

2002-12-25 Thread Gerald Livingston
OK, my eyes are burning from googling and reading man pages. I'd like to
do the following:

When a message comes in with an image attachment I would like that image
saved to a file in a specific directory. I would also like any message
body text saved to a file, and the original sender's name to another
file.

I've been playing with metamail for saving the pieces but I can't figure
out how to save all the parts but I can't figure out how to make it not
require user input.

So far I can get the files saved to the current directory with the
filenames encoded in the mime parts. The body wants to go to a file in
/tmp by default but the binary attachments are saved with the encoded
filenames to the CWD.

What I'm trying to do is let friends/family with no web space (or who
are too computer illiterate to put an image on the web) send me images
as attachments. I will have a specific email address set up for this so
procmail will process ALL messages to that address as if the contain
image attachments. When the message arrives I want all the parts listed
above saved to a specific directory. I will then run a bash script over
them to rename the image files to
"sender_name_mmdd_hhmmss.[jpg|gif]". The senders will be informed
that .bmp files will be deleted, they can download irfanview for
Winboxen and save as .jpg because I don't feel like adding convert to
the mix.

Once the renaming is done the script will ftp the files to a specified
web directory and create an email back to the originator and/or other
specified address with links to the pictures.

Right now I'm working on getting the attachments saved without my
intervention. I haven't even started on the procmail recipe yet (except
to move messages to that specific address into a new folder). I already
have a bash script that wgets images on a regular basis and renames them
with date/time so I have a base to work from on that. Somewhere I have a
snippet I used to use for auto-updating a web page via ftp.

Thanks in advance for any pointers,

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: computer hypothermia -- help!

2002-12-25 Thread Gerald Livingston
On Wed, 25 Dec 2002 10:24:49 -0600
Nori Heikkinen <[EMAIL PROTECTED]> wrote:

> due to circumstances beyond my control, my computer has spend much of
> the past four days in the trunk of various cars schlepping 1000 miles
> across the frozen Midwest.  i've done this lots of times before, but
> usually the trip takes half as long, and is much colder.
> 
> i have a couple questions, one of which is rather open-ended.  what do
> you think could have caused this?  was it the cold?  do hard drives
> poo from being frozen?
> 
> does this one appear to be legitimately dying?  do i need to look into
> getting a new one now as opposed to the 6 months or more i was going
> to wait?

> 

Is this a desktop or laptop system? If it's a desktop box that's been
carried around I would suggest you get a clean shutdown then open the
box and remove everything that plugs in (cards, memory, maybe even cpu)
then put it all back in. Thermal expansion/contraction has most likely
caused a few bad connections.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Booting without a monitor: No Go

2002-12-26 Thread Gerald Livingston
On 27 Dec 2002 00:49:30 -0600
Ron Johnson <[EMAIL PROTECTED]> wrote:

> On Thu, 2002-12-26 at 23:31, Curtis Spencer wrote:
> > I have it set up for  Halt On: no error on that BIOS setting, yet
> > strangely I still cannot boot up.  I disconnect all peripherals
> > including the keyboard, but leave just the monitor, and I can watch
> > it boot up just fine.  The kernel output just complains that no AT
> > keyboard is present but I am able to SSH into the system.  
> > 
> > I have done some more investigating with disconnecting the monitor
> > at different times and it seems that once it passes the POST, I can
> > disconnect the monitor and it will continue to boot up fine.  It
> > seems that it needs the monitor at POST.  I think this is no longer
> > a problem with debian, but perhaps someone might have an idea.  It
> > is a Elsa Geforce 2 Vid Card by the way and KT7 Raid.
> 
> Is there a way, from the BIOS setup, to bypass POST, or do a "quick
> POST"?
> 

It's probably the video card bios halting when it can't configure itself
to the 'detected' monitor (which isn't detected because it isn't there).
Try booting with the no video card at all or with an old, cheap,
PCI VGA card plugged in.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: run-parts

2002-12-30 Thread Gerald Livingston
On Mon, 30 Dec 2002 15:21:18 -0500
Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote:

> On Mon, Dec 30, 2002 at 01:11:01PM -0600, Russ Cook wrote:
> | On Mon, 30 Dec 2002, Jamin W. Collins wrote:
> | > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
> | >
> | > Why not use a dynamic DNS service, such as DynDNS.org?
> |
> | I knew nothing about such a service.
> 
> DDTS (www.ddts.net) is another such service.

And also http://www.no-ip.com

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




AOL "art" files

2002-12-30 Thread Gerald Livingston
Is there something that can view AOL "art" image files? My GF uses AOL
and I can't break her of it. That means I have an AOL email address that
I access through mozilla. She sent an email to it with an attached image
that says type image/x-art/base64/inline when I right click on it and
choose "view image". Mozilla just doesn't know what to use to view it.

Tried gqview and gimp1.3 and that was a no-go.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: AOL "art" files

2002-12-31 Thread Gerald Livingston
On Mon, 30 Dec 2002 19:49:35 -0700
Mark Zimmerman <[EMAIL PROTECTED]> wrote:

> On Mon, Dec 30, 2002 at 05:25:48PM -0600, Gerald Livingston wrote:
> > Is there something that can view AOL "art" image files? My GF uses
> > AOL and I can't break her of it.
> --snip--
> > -- 
> > Configure your Email to send TEXT ONLY -- See the following page:
> > http://expita.com/nomime.html
> 
> Ahhh, the irony...
> 
> You might try passive aggression:
> 
> while [ she_sends_to_your_aol_address ]; do
>echo "You sent me e-mail _where_?"
>echo "I'm sorry but I just keep forgetting to check that account"
>echo "That image you sent me must have gotten corrupted"
> done

Hehe -- actually, she generally only send mail to that address when
she's spotted something "cute" on AOL she wants me to see.
Unfortunately, AOL doesn't show here whether the graphic she's looking
at is a gif, jpg, or art file. If it turns out to be .art I just tell
her I'll look at it when I'm over there.

Of course, since she's running AOL 8, all the email she sends to my
regular addresses is HTML also. At least my MUA's handle it well.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: initializing linux partitions after installation

2003-01-02 Thread Gerald Livingston
On Thu, 2 Jan 2003 07:56:36 +
"Karsten M. Self" <[EMAIL PROTECTED]> wrote:

> No, but it means you're going to want to move the directory and copy
> its contents to the new mountpoint once you've created it:
> 
> $ sudo bash
> # cd /
> # mv home home-bak
> # mount /home
> # cp -pdR home-bak/* /home
> 

I never created a separate /home partition -- made a 27G /. Decided last
night to clean up and rearrange drives. I've been using /home for all
kinds of storage -- mp3, ogg, local copy of hosted web site, etc. Ended
up having to move 22G of files and put /home on its own 40G drive. 

Don't feel like re-partitioning so now I'm using the extra space in /
for things like /tmp and /var/cache/apt.  

My current drive mess looks like this:

FilesystemTypeSize  Used Avail Use% Mounted on
/dev/hdc7 ext3 27G  898M   25G   4% /
/dev/hdc3 ext39.2G  4.8G  4.0G  55% /debian
/dev/hdc1 ext3 19M  4.7M   13M  27% /boot
/dev/hdc5 ext3 14G  6.4G  6.7G  49% /usr
/dev/hdc6 ext34.6G  246M  4.2G   6% /var
/dev/sda1 ext3 17G   33M   17G   1% /scsi
/dev/hda2 ext3 28G   15G   12G  58% /mp3.mov
/dev/hdb1 ext3 37G   22G   14G  62% /home

hda is 40G, hdb is 30G, hdc is 60G, and sda is 18G. Still have some
re-arranging to do, just haven't decided what to move where. I like
having most of my free space in one area. With these drives I suppose I
should go to LVM -- does it allow free space to be concatenated across
physical drives?

Gotta figure out what the heck is sucking up /var too since I have
/var/cache/apt sitting elsewhere.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Timing a program run?

2003-01-02 Thread Gerald Livingston
OK -- dumb question that I can't remember the answer to and can't find
by googling.

How the heck do I time how long it takes a certain script to run?

I've searched the archives and google and apropos and apt-cache on all
kinds of variations of "time" (timing, timer, etc) and can't find
anything.

Do I need to write a 'date +%s' in to the beginning and end of the
script and do the math when it finishes?

Another dumb bash question later if I can't figure it out.

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Timing a program run?

2003-01-02 Thread Gerald Livingston
On Thu, 2 Jan 2003 02:07:03 -0800
Paul Johnson <[EMAIL PROTECTED]> wrote:

> On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> > How the heck do I time how long it takes a certain script to run?
> 
> This isn't shell specific.  And you're probably going to have to get a
> surgeon to remove your hand from your forhead from hitting it so
> hard.  8:o)
> 
> time 

Where the heck is that documented, and where is the "time" command *AT*?

I typed 'time' at the prompt and got a "syntax error near unexpected
token `newline'" 

I did a "locate n/time" looking for "time" in a "*bin/" directory --
not there.

I searched "man bash-builtins" -- not there.

AHHH -- there it is, in "man bash" buried in "SHELL GRAMMAR -->
Pipelines", where it doesn't stand out at all. 



I knew it was simple, just brain dead at 0400.

Thanks

G
-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




[OT] Cleaning up the output of a multiple file rename (bash)

2003-01-02 Thread Gerald Livingston
OK, I asked about timing my script because I'm renaming multiple files
using "date +%s" as the base for the new name. I was using a "sleep 1"
in the script to keep the filenames unique because it runs through them
much faster than 1 per second. Too slow if I get a LOT of files. So I
dug around and figured out how to add an incrementing integer as the
last part of the filename.

My problem is that if a particular file extension does NOT exist there
is output to the screen indicating this fact. The new filenames are
being sent to a text file and the output goes there too. I would like to
know how to suppress all output when there is no file to rename.

What I am doing is setting up a script so that HTML/FTP "dumb" users on
an auto-related mailing list that I'm on can send photos as attachments
to a specific email address I have set up. The attachments are split out
by procmail/metamail into a temp directory. The script I'm writing will
rename all the attachments, ftp them to a web folder I will set up, then
generate an email back to the list containing the original TEXT body of
the message accompanying the images plus links to the images themselves.

I also need to figure out how to drop the leading directory name from
the filename when I echo it out to the "links" file though I can script
around that too and clean it up with search/replace after it's
generated. Suppose I could delete the *.xxx lines that way too -- but I
should be able to do it cleanly from the start, right?

The script plus the output and what is echoed to my "links" text file
are below, any assistance appreciated.

Forgive the wrapping, all of the for...done commands are actually on a
single line for each.

G

$username$:cat names
#!/bin/bash

typeset -i a=1
for i in /home/username/metatemp/*.{jpg,JPG}; 
do mmv "$i" /home/username/metatemp/`date +%s`-$a.jpg; 
a=a+1; done

a=1
for i in /home/username/metatemp/*.{gif,GIF}; 
do mmv "$i" /home/username/metatemp/`date +%s`-$a.gif; 
a=a+1; done

a=1
for i in /home/username/metatemp/*.{bmp,BMP}; 
do mmv "$i" /home/username/metatemp/`date +%s`-$a.bmp; 
a=a+1; done

for i in /home/username/metatemp/*.{jpg,JPG,gif,GIF,bmp,BMP}; 
do echo "http://www.phorce1.com/hvwcimage/$i"; >>
/home/username/metatemp/links; done

**
$username$:time ./names
/home/username/metatemp/*.JPG ->
/home/username/metatemp/1041504285-6.jpg : no match. Nothing done.
/home/username/metatemp/*.gif ->
/home/username/metatemp/1041504285-1.gif : no match. Nothing done.
/home/username/metatemp/*.GIF ->
/home/username/metatemp/1041504285-2.gif : no match. Nothing done.
/home/username/metatemp/*.bmp ->
/home/username/metatemp/1041504285-1.bmp : no match. Nothing done.
/home/username/metatemp/*.BMP ->
/home/username/metatemp/1041504285-2.bmp : no match. Nothing done.

real0m0.102s
user0m0.020s
sys 0m0.040s
**
$username$:cat links
http://www.phorce1.com/hvwcimage//home/username/metatemp/1041504285-1.jpg
http://www.phorce1.com/hvwcimage//home/username/metatemp/1041504285-2.jpg
http://www.phorce1.com/hvwcimage//home/username/metatemp/1041504285-3.jpg
http://www.phorce1.com/hvwcimage//home/username/metatemp/1041504285-4.jpg
http://www.phorce1.com/hvwcimage//home/username/metatemp/1041504285-5.jpg
http://www.phorce1.com/hvwcimage//home/username/metatemp/*.JPG
http://www.phorce1.com/hvwcimage//home/username/metatemp/*.gif
http://www.phorce1.com/hvwcimage//home/username/metatemp/*.GIF
http://www.phorce1.com/hvwcimage//home/username/metatemp/*.bmp
http://www.phorce1.com/hvwcimage//home/username/metatemp/*.BMP

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Timing a program run?

2003-01-02 Thread Gerald Livingston
On Thu, 2 Jan 2003 02:46:19 -0800
"Eric G. Miller" <[EMAIL PROTECTED]> wrote:

> On Thu, Jan 02, 2003 at 04:31:39AM -0600, Gerald Livingston wrote:
> > On Thu, 2 Jan 2003 02:07:03 -0800
> > Paul Johnson <[EMAIL PROTECTED]> wrote:
> > 
> > > On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> > > > How the heck do I time how long it takes a certain script to
> > > > run?
> > > 
> > > This isn't shell specific.  And you're probably going to have to
> > > get a surgeon to remove your hand from your forhead from hitting
> > > it so hard.  8:o)
> > > 
> > > time 
> > 

> > AHHH -- there it is, in "man bash" buried in "SHELL GRAMMAR -->
> > Pipelines", where it doesn't stand out at all. 
> 
> No. You probably want the time program in package "time".  It'll live
> at/usr/bin/time.

No, I don't have the 'time' package installed (which is why 'locate'
didn't find it) and using "time command" works fine. It's listed in "man
bash" as mentioned above as "The reserved word 'time'".

G

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: dhcp and dnat

2002-10-07 Thread Gerald Livingston

Oops -- sent this directly to Stephen. Forwarding to list. Sorry Stephen.

G

Begin forwarded message:

Date: Mon, 7 Oct 2002 14:25:45 -0500
From: Gerald Livingston <[EMAIL PROTECTED]>
To: Stephen Gran <[EMAIL PROTECTED]>
Subject: Re: dhcp and dnat


On Sun, 6 Oct 2002 18:20:06 -0400
Stephen Gran <[EMAIL PROTECTED]> wrote:

> This one time, at band camp, martin f krafft said:
> > hi there,
> > 
> > my ISP allows me to use 4 IPs obtained with DHCP. I have a firewall
> > box connecting a DMZ and the LAN to upstream. In the DMZ, there are
> > two servers for which I would like to use a public IP assigned by
> > upstream's DHCP server and consequently DNATted (iptables) by the
> > firewall box.
> > 
> > My thought was to let the firewall box be a proxy DHCP client (not
> > a relay), requesting multiple leases from the upstream DHCP server.
> > Once it obtained a lease it simply calls a custom script to set up
> > iptables DNAT and SNAT appropriately.
> > 
> > However, I am unsure on how to do this. dhcp3-client works
> > wonderfully, but it requires the specification of an interface. As
> > I know of no way to configure proxy interfaces[1] I wonder how
> > I should use dhclient3 to accomplish what I want: obtain and maintain
> > a lease independently of the one for eth0 and simply make the obtained
> > IP available to a script.
> > 
> > Do you know of a way to do this?
> > 
> >   1. here's a cool idea for iptables: it provides interfaces like dnat0
> >  and dnat1 to be configure like so:
> > 
> >ifconfig dnat0 up 212.113.54.167 for 192.168.1.13
> > 
> >  and consequently, anything it receives on that interface is
> >  DNATted and sent to 192.168.1.13. i guess SNAT would have to be
> >  done transparently in the background for 192.168.1.13.
> 
> How about virtual interfaces?  IIRC eth0:1, etc. (check the syntax - I
> can't look it up right now).  Each could have an interfaces entry, they
> could each be DHCP, and they could each be made to send the MAC address
> of the machine that they route for.  Makes setting up routes easy too -
> all traffic on eth0:4 gets sent to box4, etc.
> 
> Just a thought,
> Steve
> 

Where's the best documentation on setting up virtual interfaces? I'd like to
be able to have my debian home machine talk to my debian laptop without
installing another physical interface. The home box is getting it's primary
IP from a cable modem through a hub -- my brother's Winbox is also plugged
into the hub grabbing a second DHCP address. I want to be able to plug the
laptop into the hub and talk to my home machine.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




procmail "safety net"

2002-10-07 Thread Gerald Livingston

OK -- I got courier IMAP up and running. Now, I'd like procmail to
sort and deliver to the maildir foldres I've got created. Right now I
pick up with fetchmail and it drops everything in
/var/mail/username plain old mbox style. I want procmail to do the same
thing at first so I can add recipes one at a time and get them working.
I've been through a lot of the procmail docs but haven't seen anything
that specifically says it is OK to set the default mailbox to
/var/mail/username as an mbox style file and ALSO send messages to
maildir style boxes with recipes. Is it OK to mix the two mailbox styles
and use /var/mail/username as the default "fallthrough" box?

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: procmail "safety net"

2002-10-07 Thread Gerald Livingston

On Tue, 8 Oct 2002 15:11:18 +0930
Tom Cook <[EMAIL PROTECTED]> wrote:

> On  0, Gerald Livingston <[EMAIL PROTECTED]> wrote:
> > OK -- I got courier IMAP up and running. Now, I'd like procmail to
> > sort and deliver to the maildir foldres I've got created. Right now
> > I pick up with fetchmail and it drops everything in
> > /var/mail/username plain old mbox style. I want procmail to do the
> > same thing at first so I can add recipes one at a time and get them
> > working. I've been through a lot of the procmail docs but haven't
> > seen anything that specifically says it is OK to set the default
> > mailbox to/var/mail/username as an mbox style file and ALSO send
> > messages to maildir style boxes with recipes. Is it OK to mix the
> > two mailbox styles and use /var/mail/username as the default
> > "fallthrough" box?
> 
> I think so...  make sure you add the trailing / to the maildir names
> so procmail knows its a maildir mail box.
> 
> If you set the DEFAULT variable in your procmail recipe then mail that
> isn't caught by another rule will go there.
> 
> I'm not sure if you were asking about this, but the default exim
> install runs procmail on all of a user's mail if a .procmailrc file
> exists in his home directory.

Thanks. I'm going to play with it in a bit now that incoming mail has
slowed for the night (mostly this list). I am using exim as my MTA -- is
fetchmail just passing the mail to port 25 and exim doing the delivery?
I actually never thought about it when I installed because this is my
home, single user, machine. 

I'm about to add a couple of accounts for family members though because
WinXP doesn't seem stable on the machine they use. I'm going to start
storing all mail on this box using IMAP so they will quit losing all
their saved stuff every time windows eats it's own system file and has
to be re-installed. I'll probably end up re-building that other box to
dual boot win98 for games and debian for net/email if winxp keeps
crapping out.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: How to virus-check cyrus-imap mailboxes

2002-10-08 Thread Gerald Livingston

On Tue, 8 Oct 2002 20:59:47 +0200 (CEST)
Terje FĂ„berg <[EMAIL PROTECTED]> wrote:

> 
> Hi, 
> 
> I have a nice eMail server here, which servers mail to
> about ten users using cyrus-imapd. Amavis is scanning
> all incoming and outgoing mail for over about a year
> now. 
> 
> I've been quite happy with this until yesterday, when
> one user encountered quite an old mail containing the
> famous love letter. The beast didn't really spread,
> but I'm a little bit concerned about other potentially
> dangerous viruses within my system. 
> 
> I tried different scanners on imap boxes containing
> the love letter, but no one of these was able to find
> the (base64-)encoded virus in the mail. 
> 
> And that's where I'm standing right now: I have a few
> gigabytes of emails and no clue whether there are any
> virii in them. And neither do I have a clue how to
> solve this problem.
> 
> Any ideas?
> 
> Ha det godt, 
> Terje

I haven't investigated any further than checking "apt-cache show
clamav" but you may want to check it out. Says it scans archives etc.
for virii so I'm assuming it is something you can run against the files
in a filesystem (maildir). I have courier imap set up here. If cyrus
buries its mail in a special format then I don't know if this will work.

 G
-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Email virus scan questions

2002-10-08 Thread Gerald Livingston

OK -- I'm about to start serving mail for my mom and brother from this
machine via IMAP. They may be using Outlook Express as their client. I
want to do all virus scanning on this side before they read the mail.
Maybe some spam filtering too since my brother was careless with his
address at some point and is getting hammered.

I did an apt-cache search virus and it came back with quite a few
choices that seem feasible. Any suggestions as to which may be best
suited to my purpose?

Thanks,

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Email virus scan questions

2002-10-08 Thread Gerald Livingston

On Tue, 8 Oct 2002 21:54:02 +0200
martin f krafft <[EMAIL PROTECTED]> wrote:

> also sprach Gerald Livingston <[EMAIL PROTECTED]> [2002.10.08.2149
> +0200]:
> > I did an apt-cache search virus and it came back with quite a few
> > choices that seem feasible. Any suggestions as to which may be best
> > suited to my purpose?
> 
> amavis-ng + f-prot or antivir (www.hbedv.com)
> (or clamav or openvirusscanner)

I had looked at amavis-exim -- amavis-ng looks better. What about
sanitizer whose description touts the ability to disable
javascript/vbscript in incoming email? Will it integrate with
amavis-ng+other scanner?

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Mounting CD-R

2002-10-08 Thread Gerald Livingston

On Wed, 09 Oct 2002 08:13:59 +0200
DSC Siltec <[EMAIL PROTECTED]> wrote:

> Hi,  I got a new IDE CD-R, and swapped out my old CD.  As of this
> point, I am having trouble mounting it from Linux (Win98 works).  I
> have Woody.
> 
> In my box, I have on the first cable:
> DEV HDA1:  Win98
> DEV CD-R
> On the second cable:
> DEV HDC2:  Linux boot (loadlin)
> DEV C1,C3-C5:  Linux partitions
> 
> Presumably, that means that the CD-R might be HDB1
> 
> In my fstab, I have
> 
> /dev/cdrom   /cdrom  iso9660 defaults, ro, user, noauto
> 
> When I try "mount  /dev/cdrom" I get "special device cdrom does not
> exist".
> 
> When I try "mount -t iso9660{or auto} /dev/hdb1 /mycdr
> I get "device hdb1:  unknown device"
> 
> Anyone know what I have to do here?

CD's aren't "partitioned" try this:

mount -t iso9660{or auto} /dev/hdb /cdrom

For your fstab entry to work you can either use

/dev/hdb   /cdrom  iso9660 defaults, ro, user, noauto

or do a "ln -s /dev/hdb /dev/cdrom" as root  would probably be best as
many different programs will be looking for /dev/cdrom.

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: Email virus scan questions

2002-10-09 Thread Gerald Livingston

On Wed, 9 Oct 2002 10:32:09 +0200
martin f krafft <[EMAIL PROTECTED]> wrote:

> also sprach Gerald Livingston <[EMAIL PROTECTED]> [2002.10.08.2206
> +0200]:
> > I had looked at amavis-exim -- amavis-ng looks better. What about
> > sanitizer whose description touts the ability to disable
> > javascript/vbscript in incoming email? Will it integrate with
> > amavis-ng+other scanner?
> 
> Yes, but my experience was that amavis suffices. I use
> 
>   smtp:  postfix -> amavis -> postfix -> local
>   local: procmail -> spamassassin -> sanitizer -> Maildir
> 
> but the sanitizer is really not that great, at least I can't put it to
> good use. it does its job, but it also prevents users from doing legit
> things at times. windoze is just not deterministic.
> 

Thanks,

Right now I seem to have properly operational for my own email the
following:

fetchmail -> exim -> local 
local: procmail -> maildir folders (managed by
courier IMAP) | fallthrough to /var/mail/username (not finished with
.procmailrc)

All of my email goes to remote POP3 accounts. I prefer the reliability
of mail addresses on dedicated mail servers not attached to a dchp cable
modem. I have several different email addresses used for different
lists/purposes.

The win users who will be served by my local machine have the same setup
-- mail delivered to a remote address that will be delivered here via
fetchmail. They are my mother and brother who wouldn't know the
difference between html/vbscript/javascript and who barely understand
the basics of email period (I have managed to vociferously deter them
from the dreaded winuser habit of automatically hitting "forward" on
every message that suggests it should be "forwarded to everyone you
know"!)

I'll be setting up all the filters on this box. I'll create a "junk"
folder for each of them and have all "rejected" messages (rejected by
spamassassin/sanitizer -- not the AV suite) delivered there for review.
If they spot one that shouldn't have been tossed I'll see if I can
correct the behaviour of the filter.

I have one of my addresses that I use to get info from a website or
three and it gets loaded with spam daily (all "cleverly disguised" as
opt-in mail of course). I can use that address to test a few filters.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




amavis-ng + exim setup problems

2002-10-09 Thread Gerald Livingston

Installed amavis-ng and did the configs for exim.

Everything works fine (using ~/.procmailrc for final delivery) with the
amavis stuff commented out.

However, when I uncomment my amavis sections in /etc/exim/exim.conf I
get the following error (and no mail delivery):

2002-10-09 17:08:02 Exim configuration error
  director amavis: cannot find director driver "pipe" in line 278

Here are the amavis sections from exim.conf

##
#  TRANSPORTS CONFIGURATION  #
##
#Amavis scnner transport

#amavis:
#  driver = pipe
#  command = "/usr/sbin/amavis -f <${sender_address}> -d
#  ${pipe_addresses}" prefix =
#  suffix =
#  check_string =
#  escape_string =
# for debugging change return_output to true
#  return_output = false
#  return_path_add = false
#  user = amavis
#  group = amavis
#  path = "/bin:/sbin:/usr/bin:/usr/sbin"
#  current_directory = "/var/amavis"
#  headers_add = "X-Virus-Scanned: by AMaViS-ng"

##
#  DIRECTORS CONFIGURATION   #
# Specifies how local addresses are handled  #
##

#amavis_director:
#  condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
#  driver = smartuser
#  transport = amavis

##
#  ROUTERS CONFIGURATION #
#Specifies how remote addresses are handled  #
##

#amavis_router:
#  condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
#  driver = domainlist
#  route_list = "*"
#  transport = amavis

Any ideas?

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: MUA that supports MH-folders?

2002-10-09 Thread Gerald Livingston

On 10 Oct 2002 00:01:46 +0200
Jens Grivolla <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have been using sylpheed but would like to change because of a few
> small inconveniences (e.g. no freely editable "From:", seemingly
> messed up line wrap in sylpheed claws, ...)
> 
> However, I have been unable to import my Folders into any of the MUAs
> that claim to support MH (such as balsa, tkrat, ...) except exmh.  My
> .mh_profile seems to be ok.
> 
> I googled around, but nobody seems to have any problems.  What am I
> doing wrong?  All I want is to say "start from here and import the
> entire hierarchy".
> 
> Thanks for any hints.
> 
> Bye,
>Jens

Sylpheed doesn't create the ".mh_sequences" in each MH folder that is
required by many MUA's. I discovered this when trying to access my
folders from remote via ssh/mutt. I just went in each folder and did a
"touch .mh_sequences" and mutt found them fine.

Also, in Sylpheed, just create a "local" account for each address that
you use. You can then select which account (address) the mail gets sent
from. My gripe is that you cannot associate an account to a specific
folder. Pegasus mail for Windoze let's you assosciate each from address
you have created to a folder so replying from that folder uses the
correct address (which can be changed from a drop-down).

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: ISPs are blocking port 445?

2002-10-10 Thread Gerald Livingston

On 10 Oct 2002 11:24:36 -0500
Ron Johnson <[EMAIL PROTECTED]> wrote:

> On Wed, 2002-10-09 at 14:22, Tim Dijkstra wrote:
> > On Wed, 9 Oct 2002 18:13:42 +0200
> > Tim Dijkstra <[EMAIL PROTECTED]> wrote:
> > 
> > I know it's rather silly to reply on your on post, but I did some
> > more research... It seems that our M$ using friends have some
> > problems. Win2k/XP have a filesharing protocol on 445, and because
> > most users of M$ products are so enlightend to choose a blank admin
> > password, this is a security issue.
> > So apperently some ISP's have chosen to 'protect' their users from
> > these attacks and are dropping these packets...
> 
> Cox Cable did the same thing with port 80 soon after Code Red 
> struck.  Yet another reason why I hate MSFT and lusers.
> 
> At the same time, they decided to be really anal and block port
> 25, too.  Bah!

Time Warner blocked 80 here but they are polite enough to scan 25 for
open relays. From the rejected messages in Exim it appears that if they
find one they will at least inform you before locking it down. (Messages
deleted so I can't copy the text. Appears to be roughly a monthly scan.)

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Re: MUA that supports MH-folders?

2002-10-10 Thread Gerald Livingston

On 10 Oct 2002 08:21:59 +0200
Jens Grivolla <[EMAIL PROTECTED]> wrote:

> Gerald Livingston <[EMAIL PROTECTED]> writes:
> 
> > My gripe is that you cannot associate an account to a specific
> > folder.
> 
> You can, with the freshly released sylpheed-claws 0.8.5 :-)
> 
> Ciao,
>Jens

I didn't know that -- upgrade time. Thanks.

G

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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




Help with amavis-ng_exim installation?

2002-10-10 Thread Gerald Livingston

This is in my sent box but I never saw it hit the list from this end.
One more try.

G

 Installed amavis-ng and did the configs for exim.

 Everything works fine (using ~/.procmailrc for final delivery) with the
 amavis stuff commented out.

Everything gets properly delivered to /var/mail/username if the user has
no ~/.procmailrc

 However, when I uncomment my amavis sections in /etc/exim/exim.conf I
 get the following error (and no mail delivery -- period):

 2002-10-09 17:08:02 Exim configuration error
   director amavis: cannot find director driver "pipe" in line 278

The procmail stanza just above my amavis stanza uses "driver = pipe"
just fine (procmail stanza not listed here -- most of my config left out
because it's long and I haven't edited out any security related info. If
anyone needs the whole exim config file let me know and I will clean and
post it).


 Here are the amavis sections from exim.conf

 ##
 #  TRANSPORTS CONFIGURATION  #
 ##
 #Amavis scnner transport

 #amavis:
 #  driver = pipe
 #  command = "/usr/sbin/amavis -f <${sender_address}> -d
 #  ${pipe_addresses}" prefix =
 #  suffix =
 #  check_string =
 #  escape_string =
 # for debugging change return_output to true
 #  return_output = false
 #  return_path_add = false
 #  user = amavis
 #  group = amavis
 #  path = "/bin:/sbin:/usr/bin:/usr/sbin"
 #  current_directory = "/var/amavis"
 #  headers_add = "X-Virus-Scanned: by AMaViS-ng"

 ##
 #  DIRECTORS CONFIGURATION   #
 # Specifies how local addresses are handled  #
 ##

 #amavis_director:
 #  condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
 #  driver = smartuser
 #  transport = amavis

 ##
 #  ROUTERS CONFIGURATION #
 #Specifies how remote addresses are handled  #
 ##

 #amavis_router:
 #  condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
 #  driver = domainlist
 #  route_list = "*"
 #  transport = amavis

 Any ideas?

-- 
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com


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