Re: [SLUG] terminal via email

2007-11-14 Thread Tony Green


On Thu, 15 Nov 2007 06:58:02 +1100 (EST), Voytek Eymont [EMAIL PROTECTED] 
wrote:
 some time ago, I came across a utility that would process a terminal
 command in an email body, and, email back the output;
 but I don't recall what it was,
 anyone knows of such tool ?


:0 Wcb: .lock.gpgverify
* [EMAIL PROTECTED]
| /usr/bin/gpg --batch --verify --keyring /home/tgreen/.gnupg/pubring.gpg 2 
/dev/null

:0 ab: .lock.gpgweblog
* [EMAIL PROTECTED]
| (umask 0002; sed -e /SIGNED MESSAGE/,/^$/d -e /BEGIN PGP/,/END PGP/d -e 
s/^$/P/  /home/tgreen/pyblosxom/data/$(date +%s).txt)


I use this procmail snipped to update my blog via GPG signed email.  Should be 
fairly easy to adapt it to your purpose.

-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Locking network interface number to specific MAC address

2007-05-16 Thread Tony Green


On Thu, 17 May 2007 14:20:33 +1000, Erik de Castro Lopo [EMAIL PROTECTED] 
wrote:
 Hi all,
 
 I have a motherboard with two identical (apart from the MAC addresses
 of course) ethernet interfaces. The two MAC addresses are consectutively
 numbered; XX:XX:XX:XX:XX:34 and XX:XX:XX:XX:XX:35.
 
 On most reboots, the interface with the 34 MAC address becomes eth2
 and the other becomes eth3, but very occasionally they get swapped
 around which rather screws things up.
 
 Is there any way to lock a MAC address to an interface name?
 


There certainly is, though it varies on distro.

In debian/ubuntu, you put a hwaddress entry into the interfaces line. 
e.g.
iface eth0 inet static
address 10.206.60.107
netmask 255.255.0.0
gateway 10.206.100.250
hardware XX:XX:XX:XX:XX:34

I'm fairly sure the same type of thing applies in the ifcfg-XXX world of redhat 
derivatives

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Postfix/SASL issue on ubuntu

2007-04-14 Thread Tony Green

Yes

On 14/04/2007, at 10:53 PM, David Ward wrote:


How is your saslauthd running ?

My working one is running like so:

server:/var/run/saslauthd# ps ax | grep sasl
 3352 ?Ss 0:00 /usr/sbin/saslauthd -a pam
 3354 ?S  0:00 /usr/sbin/saslauthd -a pam
 3355 ?S  0:00 /usr/sbin/saslauthd -a pam
 3356 ?S  0:00 /usr/sbin/saslauthd -a pam
 3357 ?S  0:00 /usr/sbin/saslauthd -a pam






On Fri, 13 Apr 2007 09:47:05 pm Tony Green wrote:

I resorted to some stracing and found that it looks like it's not
able to file /var/run/saslauthd/mux, however it's there and the
saslauthd is running



# ps -ef | egrep sasl
root  8160 1  0 21:22 ?00:00:00 /usr/sbin/saslauthd -
a pam
root  8161  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd -
a pam
root  8162  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd -
a pam
root  8163  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd -
a pam
root  8164  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd -
a pam



Going to do some more comparison on the old server, but thought this
might shed more light on the matter.




--
--
Regards
David Ward
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Postfix/SASL issue on ubuntu

2007-04-13 Thread Tony Green


On 13/04/2007, at 3:10 PM, Sonia Hamilton wrote:


If you feel it isn't reading the conf file, could it be errors related
to postfix chrooting? On my server I do this in /etc/fstab, so postfix
can access saslauthd:


Hey Sonia, thanks for the reply.

I've tried it both chrooted and none-chrooted, same result with both  
(the old server ISN'T, but I get the same results on the new server  
chroot or no chroot)


It's only a hunch that it's not reading the smtpd.conf, not sure  
where postfix gets it list of auth mechs from if it's not in there.


Also, is postfix a member of the sasl group?


Yep
#egrep sasl /etc/group
sasl:x:45:postfix

Any other ideas?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Postfix/SASL issue on ubuntu

2007-04-13 Thread Tony Green
I resorted to some stracing and found that it looks like it's not  
able to file /var/run/saslauthd/mux, however it's there and the  
saslauthd is running


8652  read(12, AUTH PLAIN xxx\r..., 4096) = 33
8652  gettimeofday({1176464431, 158663}, NULL) = 0
8652  socket(PF_FILE, SOCK_STREAM, 0)   = 14
8652  connect(14, {sa_family=AF_FILE, path=/var/run/saslauthd/mux},  
110) = -1

ENOENT (No such file or directory)
8652  close(14) = 0
8652  time(NULL)= 1176464431
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  send(7, 20Apr 13 21:40:31 postfix/smtp..., 140,  
MSG_NOSIGNAL) = 140

8652  time(NULL)= 1176464431
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  send(7, 20Apr 13 21:40:31 postfix/smtp..., 107,  
MSG_NOSIGNAL) = 107

8652  time(NULL)= 1176464431
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  stat64(/etc/localtime, {st_mode=S_IFREG|0644,  
st_size=785, ...}) = 0
8652  send(7, 20Apr 13 21:40:31 postfix/smtp..., 148,  
MSG_NOSIGNAL) = 148

8652  time(NULL)= 1176464431
8652  select(13, NULL, [12], [12], {300, 0}) = 1 (out [12], left  
{300, 0})

8652  write(12, 535 5.7.0 Error: authentication ..., 57) = 57
8652  gettimeofday({1176464431, 160965}, NULL) = 0

/var/run/saslauthd# ls -ltr
total 4
-rw--- 1 root root 5 2007-04-13 21:22 saslauthd.pid
-rw--- 1 root root 0 2007-04-13 21:22 mux.accept
srwxrwxrwx 1 root root 0 2007-04-13 21:22 mux


# ps -ef | egrep sasl
root  8160 1  0 21:22 ?00:00:00 /usr/sbin/saslauthd - 
a pam
root  8161  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd - 
a pam
root  8162  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd - 
a pam
root  8163  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd - 
a pam
root  8164  8160  0 21:22 ?00:00:00 /usr/sbin/saslauthd - 
a pam




Going to do some more comparison on the old server, but thought this  
might shed more light on the matter.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Postfix/SASL issue on ubuntu

2007-04-12 Thread Tony Green
Sluggers,

I've got an issue trying to get SMTP auth working on a 6.10 ubuntu server.
 I've got it working on 6.06, but I'm banging my head against a wall
trying it in 6.10.

Basically, I get 535 5.7.0 Error: authentication failed: authentication
failure when I try to authenticate using SMTP AUTH

My initial feeling is that SASL isn't reading the
/etc/postfix/sasl/smtpd.conf.  I've set that file to:
pwcheck_method: saslauthd
mech_list: plain login

However, when I check through telnet, I see:
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5, where as on the working
(6.06 ) server I see only PLAIN and LOGIN.

I've double checked all settings that I can think of, I've copied
smtpd.conf into /usr/lib/sasl2 (strings on /usr/lib/libsasl.so.2).  I've
verified the locations specified in main.cf.

A manual check of sasl (testsaslauthd) works fine with the same user


# /etc/default/saslauthd
# This needs to be uncommented before saslauthd will be run automatically
START=yes

# You must specify the authentication mechanisms you wish to use.
# This defaults to pam for PAM support, but may also include
# shadow or sasldb, like this:
# MECHANISMS=pam shadow

MECHANISMS=pam




# main.cf
egrep sasl|tls /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_relay_domains
#smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_path = /etc/postfix/sasl
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/privkey.pem
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
tls_daemon_random_source = dev:/dev/urandom


Cluesticks welcome, I know now why I love sendmail so much :-)
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: [chat] Howdy all

2006-07-23 Thread Tony Green
On Mon, 2006-07-24 at 13:55 +1000, Jamie Wilkinson wrote:
 Linux, open sores, and questions of a technical nature are all on topic for
 the main list.

You can't write that kind of comedy, nice one Jaq
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Webdav fstab

2006-06-05 Thread Tony Green


On 05/06/2006, at 10:35 PM, Charles Myers wrote:
Yep got it and mounting fine now ;) Thanks.. My next problem is  
sharing a calendar file.. I thought it would be clear cut.. but  
seems very complicated sharing calendar files in 'nix (compared to  
exchange servers :( )   I will keep researching for now (if anyone  
has any experiences sharing .ics files please chime in, any help  
would be great)  .. Thanks for the help as usual.. ;)




I share out a plethora of iCal files using webdav, works fine and was  
simple to setup.  Front end is iCal, backend is Apache+WebDAV on a  
linux server.


Just set up the DAV, point iCal at it and you're away.

Much cheaper than .mac
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] CMS recommendations

2006-05-28 Thread Tony Green
On Mon, 29 May 2006 11:31:27 +1000, david [EMAIL PROTECTED] wrote:
 
 I'm looking at setting up a new website.
 
 The principle function i'm looking for is an easily
 navigable/theme-able/menu-able picture gallery - the site is for a
 photographer - but who knows where a site will end up, so the more the
 system has got the better.
 
 Has anybody got any suggestions? Caveats?

Gallery2 works really well, it also plugs into things like Drupal if you decide 
you do want additional functionality down the track.
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Time to re-visit a curly one

2006-05-28 Thread Tony Green


On Mon, 29 May 2006 14:57:35 +1000, Michael Kedzierski [EMAIL PROTECTED] 
wrote:
 On 5/29/06, Peter Rundle [EMAIL PROTECTED] wrote:
 1. Should slug be a subscribers only list?
 
 I think this makes sense, I don't know why someone would be posting to
 a list they aren't a part of.
 

I can think of a few reasons, however the number of people who do it should be 
small.  It's not like the requests will go to the bin, they'll be held for 
moderation.  The admins can then use the 'auto accept mail from this address' 
once they've verified it's not spam.

I'm not in favour of a closed list, but there are options to lessen the pain if 
the ctte decide to go down that path.
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Gallery2 themes setup; was: photo gallery recommendations sought

2006-05-07 Thread Tony Green

On 07/05/2006, at 7:10 PM, Voytek Eymont wrote:

I'm looking at using Gallery2 within a clubs' custom CMS;

if anyone is familiar with its 'themes setup':
how big a job is it to incorporate a photogallery page within existing
page layout...? (no database hook up, just, look'n'feel setup)

(and, how long is a piece of string ?)

I'm just trying to figure out whether I can do it with a text  
editor, or,

do I need someone with Dreamweaver..?)


For the NFP's I look after, i just use drupal/gallery (actually  
civiccms and gallery - but that's drupal under the hood).  Works  
great and the themes aren't an issue as it's all held within the  
drupal framework.

--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] photo gallery recommendations sought

2006-05-05 Thread Tony Green

On 05/05/2006, at 8:56 PM, Voytek Eymont wrote:

I'm looking for a photo gallery, if anyone has any recomendations,
so far I've looked at Coppermine, which actually seems quite good,  
but, if

anyone has other suggestions, I'm interested in hearing


Gallery2 - http://www.gallery2.org/
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: WAS: RE: [SLUG] Invalid credentials error code 49

2006-04-23 Thread Tony Green


On 24/04/2006, at 7:53 AM, O Plameras wrote:

Jeff Waugh wrote:

Dude, you can use gobbledegook in a DN.


This is not true that you can use gobbledegook in a DN. That's the
reason for the SCHEMAS and RFCs, to keep DN etc in line with  
standards. There

are two standards X.500 and IETF. You use anything else then you don't
obey the standards at the perils of having errors in your LDAP
implementations.


Can doesn't mean should.  You CAN use anything in your DN, I've done  
it and it works [1].  That doesn't mean that you SHOULD use it.


In the same way you can set up BIND to host any DNS domain you  
choose, it doesn't mean that the rest of the denizens


[1] For certain values of 'works'
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: WAS: RE: [SLUG] Invalid credentials error code 49

2006-04-23 Thread Tony Green
Sorry - suffering from premature posting - I'm seeing a therapist  
about it..


On 24/04/2006, at 7:53 AM, O Plameras wrote:

Jeff Waugh wrote:

Dude, you can use gobbledegook in a DN.


This is not true that you can use gobbledegook in a DN. That's the
reason for the SCHEMAS and RFCs, to keep DN etc in line with  
standards. There

are two standards X.500 and IETF. You use anything else then you don't
obey the standards at the perils of having errors in your LDAP
implementations.



Can doesn't mean should.  You CAN use anything in your DN, I've done  
it and it works [1].  That doesn't mean that you SHOULD use it.


In the same way you can set up BIND to host any DNS domain you  
choose, it doesn't mean that the rest of the denizens of the 'net  
will think it's a good thing, however you might have a legitimate (in  
your eyes) reason for doing it.


Oscar, I think you should be weary of the terminology you use.   
Saying you CAN'T do something implies some sort of real limitation,  
maybe you should say it's not a good idea or that it's not the way it  
was designed to be used.  There are times when you may want to set up  
an LDAP DN which looks wrong, according to the RFC's.


greeno

[1] For certain values of 'works'
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: WAS: RE: [SLUG] Invalid credentials error code 49

2006-04-23 Thread Tony Green

On 24/04/2006, at 8:28 AM, O Plameras wrote:

Tony Green wrote:

On 24/04/2006, at 7:53 AM, O Plameras wrote:

This is not true that you can use gobbledegook in a DN. That's the
reason for the SCHEMAS and RFCs, to keep DN etc in line with  
standards. There
are two standards X.500 and IETF. You use anything else then you  
don't

obey the standards at the perils of having errors in your LDAP
implementations.



Can doesn't mean should. You CAN use anything in your DN, I've  
done it and it works [1]. That doesn't mean that you SHOULD use it.


I did not say you CAN'T.



You didn't say you can't you said This is not true that you can.   
I accept I reversed the modal verb and added a contraction, but the  
sentiment of the sentence remains intact.


--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ADSL Query

2006-02-24 Thread Tony Green


On 25/02/2006, at 5:40 PM, Martin Ellison wrote:


I haven't had any problems with iinet myself. They don't seem to mind
Linux. But then I have an Ethernet modem; also I have dual boot XP/FC,
so I just get their technical support to fix the XP side, and then
translate to FC.


I've got nothing but good things to say about iiNet.  I've been with  
the for a few years (both dial up and ADSL).  Their tech support is  
great (once you get through some of the dodgy first line support  
guys).  They offered help with Debian, OSX and Airports - none of  
which they officially support.


Their plans are pretty good too.  I've got 1500kbps/80GB/month for a  
fairly reasonable $90 - if only I was on an iiNet DSLAM!


--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Committee nomination: Grant Parnell for President (or VP)

2006-02-23 Thread Tony Green

quote who=Grant Parnell
 I've been using Linux since about 1993. I've been going to SLUG for at
 least 8 years now. I work for EverythingLinux (ELX) and have an interest
 in the Linux market. I've been on the committee since 2004, first as
 Secretary then as President. I'm involved with OSIA and Computer Bank
 Sydney. I guess I prefer the command line to the GUI - old habbits plus
 things seems to work more consistently accross distributions. My
 preference is Fedora mainly because of habitual use.


Seconded.


-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux to linux shares

2006-02-20 Thread Tony Green


On 20/02/2006, at 8:25 PM, O Plameras wrote:


Jeff Waugh wrote:

... as long as you recompile your kernel.


SNIP I do re-compile my
kernel, though as a matter of procedure, to trim out the  
unnecessary modules and components.


lyrics
They say our love won't pay the rent
Before it's earned, our money's all been spent
I guess that's so, we don't have a pot
But at least I'm sure of all the things we got

Babe
I got you babe
I got you babe
/lyrics

Someone turn off that alarm clock!

So what is it?  If Tux comes out of his igloo and can see his own  
shadow, we have 42 more days of checking our kernel source code for  
security holes?



--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Training.

2006-01-23 Thread Tony Green

quote who=Chris Deigan
 Best to send your questions to [EMAIL PROTECTED] and wait for an
 answer (I hear they can be pretty snappy).


Depends on how much caffeine they've injected this morning :-)
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ISC DHCP and Jumpstart

2006-01-18 Thread Tony Green
OK, not directly Linux related, but there's Linux in there somewhere.

I'm setting up a DHCP jumpstart environment on Solaris (jumpstart is the
Solaris build system for those who're scratching their heads).

The problem I'm having is that the DHCP requests are only sucessful if I
use 'boot -v net:dhcp - install' (note the '-v' it turns on verbose
booting).  If I leave out the verbose flag, it fails.

I've gone through Google and Sunsolve with no luck.

To add something interesting to the mix, if I host the DHCP on a linux
server it works fine without the '-v' (exactly the same config file for
DHCP).

I could cope with the '-v' hack if it worked across the board, but the new
T2000's don't support the '-v' flag to boot.

Anyone seen this before?

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: [chat] traffic usage whilst listening to radio ?

2006-01-05 Thread Tony Green

quote who=Rob Sharp
 On 1/6/06, Chris Deigan [EMAIL PROTECTED] wrote:
 On 1/6/06, Voytek Eymont [EMAIL PROTECTED] wrote:
  I'm looking at setting up 'internet radio' to listen to overseas
 streaming
  b/cast via windoze media player, whilst playing, the player shows:
  '16Kbit/sec'

 16 KBits not 16KBytes!



Yeah, but he only asked for a 'guesstimate' so I think that's close enough ;)
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Further to Azureus/Bittorrent req - checking ports?

2005-11-29 Thread Tony Green
quote who=Bill
 Azureus still shows Blue Smiley mostly, with the occassional Yellow
 Smiley, indicating supposed NAT problems.

 I'm pretty sure that everything is setup correctly, but when I try
 checking
 ports ( either 6881 or 49152) on sites uch as grc.com (Shields Up) these
 ports are shown as blocked. I don't believe tht this is correct or else
 Azureus would not be downloading/Uploading.

 I have run Netstat to check open ports but neither 6881 or 49152 show up.

 How can I be certain that port 6881 is forwarded to 49152 and that I have
 no problems with NAT on my modem/router?



1) telnet to your host on the port 6881 (telnet MYIP 6881) from your host,
this will prove that it is listening on the right port.

2) telnet to your host on the port 6881 from another host on the same
subnet, this will prove that it's not refusing non-local connections.

3) telnet to your host from a machine outside of your network (I can help
out with that if you can't)

I just went through the bittorrent fun and games on my Mac with a Netcomm
router.  I thought I was going mad until I figured out that my mac had the
local firewall enabled.  1 worked, 3 didn't and I couldn't figure it out
until I did 2.

Try those and let us know how you go, it should help us narrow down where
the problem is.

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spam filtering: not hard. (was: Re: [chat] spam...)

2005-11-10 Thread Tony Green

quote who=Jamie Wilkinson
 If you're using Evo or sommat, you can regularly filter your junk mailbox
 into bogofilter, or try to work with its spamassassin integration, or wait
 for them to get around to making a decent plugin interface and then you
 can
 hack the Junk button to your hearts desire.


I use IMAP and just have a 'Spam-to-Scan' folder where I jump anything I
want to feed into SA/Bogofilter.

Then a cronjob runs across it, feeds the filters and deletes the mail.

Works really well.

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spam filtering: not hard. (was: Re: [chat] spam...)

2005-11-10 Thread Tony Green

quote who=Jamie Wilkinson
 If you're using Evo or sommat, you can regularly filter your junk mailbox
 into bogofilter, or try to work with its spamassassin integration, or wait
 for them to get around to making a decent plugin interface and then you
 can
 hack the Junk button to your hearts desire.


I use IMAP and just have a 'Spam-to-Scan' folder where I jump anything I
want to feed into SA/Bogofilter.

Then a cronjob runs across it, feeds the filters and deletes the mail.

Works really well.

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Embedding CVS commit info into scripts

2005-11-08 Thread Tony Green
Oh great font of knowledge that is SLUG, I genuflect in your general
direction.

I've got a CVS query which I hope is an easy one to answer, only trouble
is, CVS has too much google juice and I can't seem to separate the wheat
from the chaff.

I'm CVS'ing some scripts, the current version control procedures are to
(optionally) add comments to the start of the file.  Since there's no real
control over this, I'd like to put CVS over the top of it and have
something create these entries.

Personally, I'm happy with 'cvs log', but they really want to keep the in
script comments, for at least the last revision.

I'm hoping there's a way of putting a keyword into the script and have CVS
replace it with the latest revision info and log message.

Hope this makes sense, I have a small herring which I am ready to
sacrifice in your name.

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Embedding CVS commit info into scripts

2005-11-08 Thread Tony Green

quote who=Roger Barnes
 I'm CVS'ing some scripts, the current version control
 procedures are to
 (optionally) add comments to the start of the file.  Since
 there's no real control over this, I'd like to put CVS over
 the top of it and have something create these entries.

 Sounds like $Log$ is what you need

 http://www.ugcs.caltech.edu/info/cvs/cvs_12.html

 HTH,

It certainly did.  Thanks Roger and James, you both hit the nail on the
head with a mighty cluebat.

TG
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Embedding CVS commit info into scripts

2005-11-08 Thread Tony Green
quote who=Michael Lake
 I presume you meant fount of knowledge.



No, I meant font.  Isn't knowledge the default SLUG typeface?

;)
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] smh media streaming now windows only- link

2005-11-03 Thread Tony Green

quote who=Mark Chandler
 I wonder if he meant Sea Monkey. But, I can't see anything obvious
 from a Google search on Sea Monkey, etc. that might be relevant to this
 issue.


Could be this 'grease monkey'
https://addons.mozilla.org/extensions/moreinfo.php?application=firefoxid=748

Sounds likely to me :
Allows you to customize the way a webpage displays using small bits of
JavaScript. Hundreds of scripts, for a wide variety of poular sites, are
already available in the Greasemonkey script repository at
http://dunck.us/collab/GreaseMonkeyUserScripts. You can write your own
scripts too. Mark Pilgrim's definitive Greasemonkey guide,
diveintogreasemonkey.org will show you how.

I've never used it, just got bored and did a quick gogole
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Keeping passwords safe

2005-10-05 Thread Tony Green


I normally don't like to pimp my own work, but hey, what the heck.

http://bandcamp.tv/vault/ is a GPG based password storage system with  
some hooks into things like CVS.


I stopped hacking on it a while ago but, because of other reasons, I  
recently started looking at it again.


It might not do everything you want, but it's pretty nice to use if  
you're in a *NIX environment.


Comments/bugs/flames to the normal address.
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] urgent help requested for Solaris

2005-09-27 Thread Tony Green


On 27/09/2005, at 4:16 PM, Charles Gallagher wrote:

Running Solaris 10 on the network I need to FTP to the
internet to get updates to software.

However there is no DNS server for the internet and
gateway to the internet defined.


DNS == /etc/resolv.conf
gateway == /etc/defaultrouter (or 'route add default xxx.xxx.xxx.xxx')

--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] bulk mail script

2005-08-28 Thread Tony Green

On 29/08/2005, at 9:49 AM, Alexander Else wrote:

Hi all,

A task has been allocated to me to send out a mail (possibly with a  
word/pdf
attachment) to a few hundred email addresses in an hour and a  
half.  As i don't
have a lot of time to do my homework on this one, i hope someone  
can point me to

one or two options for a script that will do this for me.

I know it's a pretty trivial task to write one but the limited time  
frame and
apparent urgency of it makes me want to just pick one up and make  
sure it works

for me before then, rather than write my own and risk missing that
tiny-but-critical flaw.




When you say 'sending it out in an hour and a half', is that just the  
submission of the email, or actual delivery?


There's little chance you can ensure that it's going to be delivered  
within that time period, but submission into the mail system's fairly  
straight forward.


One hurdle you're going to face is getting classified as bulk email  
(or worse, spam).  I'm assuming that you're doing something nice and  
these people actually WANT your email to be sent to them.


I'd check MIME:Lite for PERL, but you've not stated what languages  
you're proficient in, so that may not be of use to you.



--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] bulk mail script

2005-08-28 Thread Tony Green

On 29/08/2005, at 11:12 AM, Peter Chubb wrote:

Surely if the message is identical for all of the recipients, then:
   cat message | /usr/lib/sendmail -f 'from_address' address1  
address2 address3

will do the trick.



Providing you've got the MIME message formatted correctly in the file  
message.  If you just have a PDF that you want to send, you can't do  
that, you have to encode it up - which is the tricky bit.

--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dual authentification

2005-08-04 Thread Tony Green

On 04/08/2005, at 9:22 PM, Ken Foskey wrote:

Got this one today, strange one:

Do you know if it is possible to setup a Linux redhat server to  
require

two passwords to gain root access? The responsibilities for the server
are going to be split over two different teams and we don't want  
either
to have root access without the other team knowing about it. Please  
let

me know if you can come up with something.

Basically they would like to set up the machine so that it requires  
two

people to  sign in to root, an application guru and an administrator.
If anything is destroyed then they are both accountable as they look
over each others shoulders.


I'm guessing you could do a dual stage 'sudo su'.  One account which  
allows sudo su access to pre-root (which the application guy has the  
password to) and then a sudo from pre-root - root using the password  
which the admin guy has.


You'd have to watch the console logins, that would be more tricky and  
single user mode etc would have to be considered.


There may be holes in this theory, but I'm pretty sure a couple of  
sudo statements and a pre-root account could be a way to do it.

--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] script assistance please

2005-06-19 Thread Tony Green

On 20/06/2005, at 9:36 AM, David wrote:
I need to go through an entire directory replacing foo.bar with  
bar.foo

within each file and at the same time I also need to replace macintosh
line breaks with unix ones.




perl -i -pe 's/foo.bar/bar.foo/g;s/\r/\n/g' filename(s)

--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] script assistance please

2005-06-19 Thread Tony Green

On 20/06/2005, at 10:51 AM, Tony Green wrote:

perl -i -pe 's/foo.bar/bar.foo/g;s/\r/\n/g' filename(s)


I was going to put some explanation in, but got to eager :-)

OK let's break that down:

perl - pretty obvious, runs the Perl interpreter

-p - says to perl, 'for every line in the file, do this...'
-i - says to perl, 'don't create backup copies'

-e - says 'run the next bit as if it's a script'

s/foo.bar/bar.foo/g;s/\r/\n/g : This is the bit that does the work

s// - the substitute command, The '/' are just separators
\r - a 'return'
\n - a 'newline
g - means 'global', ie for every ocurrance.

So, put that together, and it means 'substitute every foo.bar with  
bar.foo and every  \r with \n'


--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] finding a file

2005-04-14 Thread Tony Green
On 15/04/2005, at 11:44, Ben Donohue wrote:
Further to this (and this is not an answer to the question above) but 
I'm buggered if i can find the largest files on the hard disk and list 
them in order.
I've tried various arguements but can't seem to crack it.
like find / -S -r (or -s) -name xxx|more


This will give you the 10 largest files on your hard drive (that can be 
seen by the user executing the code)
find / -ls -type f 2/dev/null | awk '{print $7   $11 }' | sort -nr | 
head -10

Change the 'head -10' to another number to get more/less files listed.
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Print server

2005-03-25 Thread Tony Green
On 26/03/2005, at 7:51 AM, Phill wrote:
I am trying to setup a print server on a fedora 3 platform using samba.
 Windows xp sp2 correctly recognises the printer but a test document 
does not get printed

 The follwing ports are open on the firewall: 137:udp, 139:tcp, 445:tcp
 smb.config printers section looks like this
 [printers]
  comment = All Printers
  valid users = phill
  path = /var/spool/samba #has read/write/execute permissions for 
all users
  browseable = no
  public = no
  printable = yes

 
Where should I look next?
You don't state, but I assume you can print OK from linux directly?  
What printer sub-system are you using?  Is there anything in the logs? 
(/var/log/samba/* /var/log/[printer|lpd|messages] etc)

--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Sharing IMAP Folders

2005-03-20 Thread Tony Green
On 21/03/2005, at 11:10 AM, David Fisher wrote:
I'm setting up a couple of imap servers using dovecot myself, but on
Debian sarge.  You may have a problem here, because the last time I 
looked
(IIRC) dovecot does not yet support shared folders.

Having said that I would be delighted for both of us if someone could
prove me wrong.
I just did a quick test on my courier imap setup.  You can symlink imap 
directories, though I can't give assurances of how well it works.

Perhaps it may be worth looking at if you really need it and can't find 
any other way.

TG
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Fwd: [LINK] unix time = 11111111111 about mid-day today.

2005-03-17 Thread Tony Green
On 18/03/2005, at 11:52 AM, [EMAIL PROTECTED] wrote:
Hi, heh, interesting
is there a way we could watch it ticking over, as in running digits?
while [ 0 ]; do clear; date; date +%s; sleep 1; done
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Nomination: Robert Collins

2005-02-28 Thread Tony Green
On 28/02/2005, at 9:53 PM, Robert Collins wrote:
On Mon, 2005-02-28 at 21:43 +1100, Chris Deigan wrote:
Evening,
I'd like to nominate Rob Collins for Treasurer.
I suck at writing reasons, so I won't even bother. :)
I accept ... damn :)
Seconded - even if it's just to get Jaq off the hook this year!
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Nomination: Robert Collins

2005-02-28 Thread Tony Green
On 28/02/2005, at 10:25 PM, Jeff Waugh wrote:
s/hook/hookers/ - take away the cash supply, vote [1] Robert Collins 
for
treasurer!

Come on - the charges were dropped due to lack of evidence.  He's paid 
back most of the money now!
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Incremental Backup Script

2005-02-09 Thread Tony Green
On Wed, Feb 09, 2005 at 10:47:59AM +1100, Lyle Chapman 
([EMAIL PROTECTED]) wrote:
Can anyone point me to a good backup script or program that does
incremental backups?
I have a particluar directory I want to backup to an external firewire
drive every night.
http://bandcamp.tv/quickbackup
Might be of use, depending on your needs
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] A New Linux User Is Born

2005-01-13 Thread Tony Green
On 14/01/2005, at 1:05 PM, Craige McWhirter wrote:
Many of you will be happy to hear that long time SLUG member, former
committee member (VP) and general Linux activist, Tony Green and his 
wife
Danni successfully brought Edward into this world overnight. Edward 
was a
healthy 8 lbs 2 ozs (3.7 kilos) and everyone is well and happy, if not 
a
little tired.  :)

Congratulations Tony and Danni!
SLUG have sent flowers on all our behalf.
I'm so glad that spawning a child process in Linux is a fair bit easier 
(and a whole lot quicker!)

We really appreciate all of the e-mails and phone calls, it's great to 
know we have so many friends out there.

Thank you to Craige and the ctte for the flowers, a very nice thought.
Now, next codefest is to find out how to bootstrap a baby.  I need snmp 
monitoring so that I can hook it into my NMS.

Thanks again,
Tony, Dani and Edward
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Laptop as remote display?

2004-12-30 Thread Tony Green
On 31/12/2004, at 1:40 AM, [EMAIL PROTECTED] wrote:
It it possible, via a monitor cable plugged into a headless machine, to
display all the video signals (from boot time to running an X session)
in a window on another computer?
Not that I'm aware of, however there is serial console support in 
linux.  You can have a serial cable between the two machines and use it 
as a console, great for text based stuff but no good for X - but that's 
what X forwarding is for :-)

I've not used it in 2.6 but it was fairly simple to use in 2.4.
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] sshd config: tighten access ?

2004-12-29 Thread Tony Green
On 30/12/2004, at 2:42 PM, Brett Fenton wrote:
if you're really interested you can add a line like to hosts.deny
ALL: ALL: spawn (/bin/echo -e %d %a %c %s from %h at `date` 
|/usr/bin/mail
-s 'LOGIN ATTEMPT %h %a' [EMAIL PROTECTED])

which basically emails you a log each time someone tries to connect. 
the
connections will always fail unless they are coming from an IP from 
within an
IP or IP range specified in hosts.allow
Swatch makes life a lot easier when you're trying to do this kind of 
thing.

--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] free software alternative to Big Brother

2004-12-20 Thread Tony Green
On 21/12/2004, at 2:45 PM, Danny Yee wrote:
Does anyone know of a free software server monitoring tool with
similar functaionality to Big Brother?  I'm having trouble as all
the obvious search terms are overloaded.
http://nagios.org
One of the best monitoring tools I've used.
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] free software alternative to Big Brother

2004-12-20 Thread Tony Green
On 21/12/2004, at 3:09 PM, [EMAIL PROTECTED] wrote:
Just for the sake of an alternative though, you
might want to look at opennms.org.
opennms has come a long way, but it's all java.  Not a real problem if 
you've got the grunt to run  it.

Nagios+cricket+syslog-ng+swatch+snmp gives a great (and free) NMS
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] jfs on rh73 ?

2004-12-09 Thread Tony Green
On 10/12/2004, at 8:41 AM, O Plameras wrote:
how do I determine if this rh73 has jfs support,
Two ways:
As root, check that you have the module device driver
configured:
1) # ls /lib/modules/2.4.???/kernel/fs/jfs/jfs.o
or
2) As root, check that  in  /boot/config-?
contains this, 'CONFIG_JFS_FS=m'.
Note that this will only work if JFS support was built as a module.  It 
may have been built directly into the kernel.  A check of 
/proc/filesystems (as suggested by Dave) will show if this is the case.

--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ADSL/DNS/IPTables issue

2004-11-25 Thread Tony Green
Happy Friday Afternoon one and all,
I've got a annoyance of a problem which, I thought, was limited to my 
home ADSL connection, but I was wrong.

I upgraded my firewall at home to Debian Sarge (running 2.6 kernel) and 
quickly found some problems which didn't used to exist.  I thought it 
was MSS clamping (which I had missed), but enabling that didn't fix 
everything.

The issue is that when a desktop requests a DNS lookup, it times out 
before it comes back (5 seconds approx).  You can immediately request 
the address again and everything works fine - a simple but annoying 
work around.

I thought it was some weird setup thing with my ADSL (iiNet).  I 
switched from PPPoE on the firewall to running that on the ADSL modem - 
still no good.  I looked into MTU's, but nothing worked (went down to 
1452).

The firewall config is the same on the old and the new setups, port 53 
tcp/udp is allowed through.  I'm running bind9 on the firewall and the 
iptables is run through shorewall.

Head scratching and googling hasn't yielded much more info and now I've 
replicated the problem on a brand new, but completely separate, machine 
(same packages but on Telstra ADSL).

Concussion from a cluestick to the head is more than welcome.
Greeno
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Preventing attacks

2004-11-07 Thread Tony Green
On 08/11/2004, at 1:31 PM, O Plameras wrote:
Now, I posed the problem without really knowing  the complete details  
of the circumstances
because 'kerberos' is meant to be the strongest security protection  
against this sort of
attacks. I gather that 'ssh' which I noticed is the cryptographic  
security procedure used
at these Debian sites has not prevented the attacks. I note here some  
differences between
ssh and kerberos:

1. SSH needs local identity files whilst kerberos does not (Attacker  
has less info to
paly with)
2. SSH does not impose time restrictions on a session whilst kerberos  
does (Prevents
replay attacks)
3. In SSH the client decides what tools and application to run on the  
server
whilst in kerberos, the server may restrict the clients from running  
certain tools and
applications (Ease and simplicity of management as to who and what to  
allow or
disallow)

This is my understanding of SSH and Kerberos so correct me if I'm  
wrong.

SSH is a remote shell
Kerberos is an authentication system
http://www.ssh.com/support/documentation/online/ssh/adminguide/32/ 
Kerberos_Authentication.html

They can be used together but kerberos on it's own provides no way to  
remotely (or locally) access the machine.
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] procmail and mailing lists

2004-11-03 Thread Tony Green
On 03/11/2004, at 5:31 PM, Jamie Wilkinson wrote:
Hope that helps someone; for a full set of mailing list procmail check 
out
http://spacepants.org/conf/dot.procmailrc
Pearl, pearl, pearl![1]
[1] http://lists.slug.org.au/listinfo/pearls
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Seeking GNOME application for image manipulation

2004-09-15 Thread Tony Green
On 16/09/2004, at 2:21 AM, Mary Gardiner wrote:
I take photos with a digital camera. I arrange these in a directory
structure by hand. I would like to be able to rotate them (this camera
isn't one of the ones which knows which way up it goes so I have to
rotate all the images by hand) and resize them. Ideally I would do this
by selecting a bunch of images in Nautilus or some image application 
and
performing an action on them.

Instead I appear to have the following options:
 - Nautilus's default Image Viewer which cannot resize images at al
Before switching to the OSX dark (but purty) side, I used to use the 
nautilus script function to do rotations on selected files.  I just had 
an imagemagik script which called convert(?) with the right 
params...

Easiest way I could find, but that was a while ago now.
TG
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] db-4.2.52 install problem

2004-09-07 Thread Tony Green
On 07/09/2004, at 4:30 PM, David wrote:
I'm trying to install netatalk which requires BerkeleyDB.4.2 I've
downloaded the tarball for db4 and built it according to instructions 
(I
think). The output of #make install is below. It looks OK to me. When I
configure netatalk, it tells me db4 isn't there (see below). What did 
I do
wrong?

You have to tell netatalk where BerkeleyDB lives.  You might find it 
easier to create a symlink in /usr/local which links BerkeleyDB.4.2 to 
BerkeleyDB (since then you can swap versions without causing problems 
and most things check for /usr/local/BerkeleyDB - no version).
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] db-4.2.52 install problem

2004-09-07 Thread Tony Green
On 07/09/2004, at 5:01 PM, David wrote:
On Tue, 7 Sep 2004, Tony Green wrote:
On 07/09/2004, at 4:30 PM, David wrote:
I'm trying to install netatalk which requires BerkeleyDB.4.2 I've
downloaded the tarball for db4 and built it according to instructions
(I
think). The output of #make install is below. It looks OK to me. 
When I
configure netatalk, it tells me db4 isn't there (see below). What did
I do
wrong?

You have to tell netatalk where BerkeleyDB lives.  You might find it
easier to create a symlink in /usr/local which links BerkeleyDB.4.2 to
BerkeleyDB (since then you can swap versions without causing problems
and most things check for /usr/local/BerkeleyDB - no version).

thanks.. but this is what I did:
Did you try the symlink though?  Do that then do another ./configure 
and see what happens
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] splitting text files by key word lines ?

2004-09-03 Thread Tony Green
On 03/09/2004, at 10:19 PM, Voytek wrote:
I have an MySQL 'whole server' dump which is somewhat not very small at
about 91M and 400,000 lines, how can I spilt it into separate unequal
files, based on key word line ?


for I in keyword1 keyword2 keyword3
do
egrep $I bigfile  sorted-$I
done
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Nagios escalation issue

2004-08-23 Thread Tony Green
I'm scratching my head over this one, hoping that someone'll be able to 
hit me with a clue stick.

I've got a working nagios install but am having problems getting 
escalation working.  The following escalation definitions are in place 
:


define serviceescalation{
host_name   nts-t
service_description RAID
first_notification  1
last_notification   0
notification_interval   5
contact_groups  ops
}
define serviceescalation{
host_name   nts-t
service_description RAID
first_notification  3
last_notification   0
notification_interval   5
contact_groups  mobiles
}

When the RAID service is tripped, I get e-mails out to the 'ops' 
contact groups every five minutes (irrespective of the 
notification_interval set).  I would expect the e-mails to 'ops' be 
joined by e-mails to 'mobiles' after the first 3 alerts (15 minutes), 
however it's not.

Am I missing something here?
TG
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] 'named' problems (dns)

2004-08-23 Thread Tony Green
On 24/08/2004, at 2:52 PM, Jared Pritchard wrote:
Just experiencing some crazy problems with named (dns).
Our web server (which is also our gateway to the Internet for our 
office machines) serves as a DNS and sporadically over the last couple 
of days, for no known reason, named keeps failing and every now and 
then (between 15 minutes to a few hours) it will just, stop. I restart 
it using service named restart and it says that the shutdown of 
named failed, but startup is OK.

Originally (not knowing what the problem was) I reset our web server, 
so its not just some bug in startup, and we have made NO changes that 
should effect its workings at all.

Just weird. =/
Ive looked through the cronjobs  theres nothing that even comes 
close to the failure times, so I cant see what the problem might be.

Has anyone experienced this sort of thing before, or have any idea 
what it might be?
Be useful to see some logs from the server.  /var/log/daemon.log is a 
good place to start, depending on your syslog config.

Sounds to me like bind (named) is dying.
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] logout stop

2004-08-17 Thread Tony Green
On 18/08/2004, at 6:55 AM, Alan L Tyree wrote:
The problem is that I have a 95yo neighbour who I have set up with an
old box currently running Redhat 8 and Gnome. But the full Gnome 
desktop
is really too much for the box, and I would like to replace with a
lightweight desktop. I don't think that she would take too kindly to 
the
log in as root, type halt kind of instruction, so I was looking for 
an
alternative.

Actually the solution I found was not a solution after all - it
merely logs out of the window manager.
I suspect I should use some kind of script with sudo and dialogue, but
any suggestions would be welcome.
Might not work for you (depending on the hardware), but I used to use 
an ACPI script to run shutdown if the power button was pressed.
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] recovering overwritten files

2004-08-15 Thread Tony Green
On 16/08/2004, at 10:16 AM, Voytek wrote:
I've just managed to overwrite my recntly completed script, as well as
it's backup, essentially, I've copied another file to the script's 
name,
not deleted, but, overwiritten.

I guess I need to start again ?
Yep, and if you want to avoid doing it again, consider using :
alias mv='mv -i'
alias cp='cp -i'
alias rm='rm -i'
I usually enable these options for users who aren't familiar with 
UNIX's userfriendlyness

Put them in ~/${SHELL}rc to have them work on each login
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread Tony Green
On 18/07/2004, at 10:16 PM, James Gregory wrote:
I just tried to use the 'find' command to locate for me all files on a
filesystem that were modified on a given date. I have just discovered
that this is a moderately difficult problem. 'man find' tells me that
there are atime, ctime and mtime options but they only let me specify
time relative to today in hours. I can see that I potentially could
construct a find query with these tools and judicious use of -a and 
'!',
but that can't be the simplest way.

Quickest way I found to do this (hacky but quick) was
find . -ls | egrep Jul 18
I think all modern versions of find support '-ls', if yours doesn't, 
try '-exec ls -l {} \;' instead.

Remember that 'ls' pads the date, so Jul 1 is Jul  1 (two spaces).
Greeno
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ssh and X forwarding woes.

2004-07-15 Thread Tony Green
On 16/07/2004, at 12:50 PM, Richard Heycock wrote:
I have turned maximum debug on the machine that doesn't work and there
is no mention of X11 unlike the other which clearly indicates that it 
is
setting up X11 forwarding.

In addition to Jan's suggestion, check /etc/ssh/sshd_config on the 
server side of the connection.

Check that X11Forwarding is set to 'yes', even if you try to override 
it on the command line, you can't if it's set to 'no' in that file.
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] madwifi for Debian

2004-07-09 Thread Tony Green
On 09/07/2004, at 7:32 PM, Matthew Davidson wrote:
make -C /lib/modules/2.4.26-1-386/build 
SUBDIRS=/usr/src/modules/madwifi/ath_hal modules
make: *** /lib/modules/2.4.26-1-386/build: No such file or directory.

and indeed the file does not exist.
Symlink your kernel source tree to /lib/modules/2.4.26-1-386/build 
(/usr/src/linux-2.4.26?)
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] executable file from GUI

2004-06-22 Thread Tony Green
On 23/06/2004, at 12:54 PM, Simon Bryan wrote:
Hi all,
Why can't I 'double click' this file from the GUI to execute it? I am 
sure
I used to do that with the previous incarnation of my LTSP server.

It is owned by the user, is in the users home directory and has 
rwxr-xr-x
permissions

Since the script is in bash and you're running a GUI, you need 
something to sit in the middle to provide a window.  I'd suggest using 
an xterm, though gnome-terminal or kterm (and many others) would do.

xterm -e scriptname should do what I think you're trying to do.  You 
may be able to associate *.sh with xterm -e so that all shell scripts 
become 'clickable', but I've never tried it.

Greeno
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] executable file from GUI

2004-06-22 Thread Tony Green
On 23/06/2004, at 1:29 PM, Tony Green wrote:
Since the script is in bash and you're running a GUI, you need 
something to sit in the middle to provide a window.  I'd suggest using 
an xterm, though gnome-terminal or kterm (and many others) would do.
Sorry - I meant to add that this is only required because you need 
interactivity with the script (username/password input in this case).  
Normally, if the script doesn't require user input, you should be able 
to just double click it.
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] mandatory profiles

2004-04-29 Thread Tony Green
On 29/04/2004, at 10:25 PM, David Kempe wrote:

Hi people,
If you had a bunch of Knoppix boxes, one the server and the rest 
workstations, anyone know of a nice way to have a HDD install, but 
have mandatory profiles. IE, if users stuff up stuff on the desktop, 
their profile is loaded fresh each time, on a per user basis. Any 
suggestions? I can think of a few ways, but thought there might be 
some funky tips I didn't know about.
Perhaps a combo of pam_mkhomedir, /etc/skel and an 'rm -fr ~' in the 
.profile (or equiv)?

--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Destroyed hard drive

2004-04-18 Thread Tony Green
Evening all,

I've got a machine which has been vandalised, it looks like someone has 
copied/dd'ed /dev/random over the hard drive(s).

Obviously, they're not mountable, the paritions are borked (rebulit but 
still not usable) and some of the data's going to be useless.

From some digging, I can see some data towards the mid-end of the disk, 
so it didn't finish.

Anyone know any ways of automating part of the recovery?

greeno
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Destroyed hard drive

2004-04-18 Thread Tony Green
On 18/04/2004, at 19:58, Tony Green wrote:
Evening all,

Oh yeah, don't mention backups.  If they'd had them, I wouldn't be 
going through this.
--
Tony Green [EMAIL PROTECTED]

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Destroyed hard drive

2004-04-18 Thread Tony Green
On 18/04/2004, at 20:32, Terry Collins wrote:
Don't most distros allow you to automate installation.
Yes, which would be useful if I was looking to do an install.  I'm 
looking to do a sector by sector scan of the drive and recover whatever 
I can.  I'm trying to find tools which may make this easier.

If there is no backup, then it wasn't important.
I won't bother responding to that..
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Bad magic number in super-block

2004-04-15 Thread Tony Green
On 16/04/2004, at 02:30, Edwin Humphries wrote:

G'day all,

We're just trying to add a second HDD to our Fedora server. It's not
new but recent.
fdisk'd it OK (one single linux partition), then ran mke2fs -j
/dev/hdb1, which reported no problems.
Then, to check (because we weren't entirely sure about the provenance
of the drive) I ran fsck, which reported as follows:
You didn't state what command you used exactly, but I'd wager you tried 
to fsck /dev/hdb rather than fsck /dev/hdb1 (note the 1).

That would explain the message.

Greeno
--
Tony Green [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Nomination: Vice President

2004-03-25 Thread Tony Green
This one time, at bandcamp, Peter Hardy said :
Heh, thanks Craige and Ben. I accept. Seeing as there's only one 
nomination for president, I'd also like to put myself forward for this. 
If nothing else, Jan should work a little for his stripes. :-)



Seconded.  I vote for a steel cage match.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Problems with .tv?

2004-03-25 Thread Tony Green
I'm kinda cut off at the moment from access at the moment and have found, to my horror 
this morning, that the .tv domain structure seems to have gone on safari.

I have a few .tv's and all of them now resolv to 65.201.175.144.  I've
checked netsol's whois and I'm still the owner.  The auth DNS servers
are ns1.nic.tv and ns2.nic.tv, looks like someone's playing silly
buggers.

Anyone know what's going on? Please email me directly as well as the
list (as I'm signed up to slug on one of the affected domains)

Greeno
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Problems with .tv?

2004-03-25 Thread Tony Green
 I'm kinda cut off at the moment from access at the moment and have
 found, to my horror this morning, that the .tv domain structure seems
 to have gone on safari.

Looks like, according to www.tv (verisign), it's a 'technical issue' with
no estimated fix time.
Ah well, email's for wimps
-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux cooking my PSU

2004-03-11 Thread Tony Green


 h I have the complete opposite. On one machine it would
 spazmodically crash on me in windows leaving a black screen. I hold
 down the power button for
 several seconds to reboot the machine. With Mandrake 8.0 I was
 experienced extended uptime and I could still play alot of the games I
 wanted, under winex
 Now with mandrake 9.0 I have the same problems with my machine as it
 was Windows.


What PSU do you have and what hardware do you have in the machine?

I've seen this problem a fair bit and most of the time it's an
underpowered (or shoddy) PSU.-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mozilla/Firebird/Konqueror problem with stgeorge.com

2004-03-09 Thread Tony Green

 Hi:
 I read a few days (weeks?) ago about a fix for
 stgeorge.com's changed site that cannot be accessed
 from Linux anymore. Can someone post it again, please?


http://www.google.com/search?q=stgeorge+linux+fix+site:slug.org.auie=UTF-8oe=UTF-8
-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] MTA for laptop

2004-03-09 Thread Tony Green

 Hi all,
 I have an old Compaq Armada currently running Debian Woody. I will be
 travelling with it, using a dial-up connection.

 Question is a good lightweight MTA for it. Exim and friends seems like
 an overkill. I could use Sylpheed or some such, but I would prefer to
 run text based stuff most of the time since the machine is
 underpowered.


Nullmailer and masqmail work pretty well.
-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] cfengine query

2004-03-09 Thread Tony Green
I'm wading back into cfengine after a bit of a break and I'm running into the same 
problems, hopefully one of the cfengine advocates out there will be able point me in 
the right direction.

A typical example is:

I'm editing /etc/system on solaris, I want to ensure that this line is
set :
set shmsys:shminfo_shmmax=4294967296

I can use the 'AppendIfNoSuchLine' command and that'll work fine the
first time around.  My issue is, what happens the next time I want to
change that line?

I could switch to the 'ReplaceLineWith' command, but that won't add the
line if it doesn't exist.

Is there a sensible way around this?  I'm guessing I might be missing
something but a couple of dives through the refernce manual turned up
naught.

If anyone has a decent set of examples (or knows of a site with examples
worthy of study), I'd be happy to do some more self-study.  I googled
for examples, got a lot of results but, like most things, quantity !=
quality.  Since I'm rolling this out fresh, I'd like to get it right
from the outset.

Cheers

greeno
-- 
Tony Green [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] cfengine query

2004-03-09 Thread Tony Green

 On Wed, Mar 10, 2004 at 01:14:28PM +1100, Tony Green wrote:
 Not that I have any cfengine experience, but from your description,
 wouldn't AppendIfNoSuchLine followed by ReplaceLineWith do the job?
 Creates it if it doesn't exist, and sets it to the right value either
 way.  For new adds, you'll run both, but I don't think the extra
 processing time is going to be noticeable.


That's kinda where I'd got to and it does work, it just seems wrong.  A
ReplaceLineWith on a generic 'string.*' will always replace the line (and
therefore always edit the file).  I was going to wrap it in a
BeginGroupIfNoLineMatching, but it's the wrong way around.
It may be that there is no elegent way around it, but I'll wait until
Uncle Gus pipes up before I consider it a lost cause ;-)
 Of course, if that's impossible with cfengine I'll just go away and
 hide.

You can join me under the table, I have biscuits!


 Out of interest, do have any recommendations as to introductory
 cfengine material?  I really should learn how to use it, everyone seems
 to think it's the world's greatest admin tool.


Debian: apt-get install cfengine-doc
Web : http://www.gnu.org/software/cfengine/docs/cfengine-Tutorial.html

It really is worth the effort, but it is a lot of effort :-)

-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] [Job: Syd] Java Coder wanted

2004-02-25 Thread Tony Green

 On Thu, Feb 26, 2004, Terry Collins wrote:
 ...snip

  want to send to [EMAIL PROTECTED] instead.

 Does that list still take spam from agencies?

 I'm not sure who is filtering posts to that list... it was Tony Green
 for a while, maybe it still is. In practice, about 50% of the posts are
 people asking for work, the rest non-agency. But I don't know whether
 that's because agency stuff is filtered out :)

IIRC, we've only had one agency posting on the list.  That was from a guy
who I knew and who was recruiting for a FOSS related position within a
company who was known to be linux friendly.
All of the other agency posts we had (when I was running the list) were
turned down.  I can't speak for the current admins.
-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Could someone explain a sendmail log message please?

2004-01-18 Thread Tony Green
On 18/01/2004, at 19:27, [EMAIL PROTECTED] wrote:
Currently I'm looking to see why it's trying to use /var/spool/mqueue -
it looks like the system is set up to use /var/spool/mail.  I'm now
reading sendmail's README.cf and looking to see how to alter that.  I
think:
define(`QUEUE_DIR',`/var/spool/mail')

DO NOT DO THAT   Lots of things will break and children will cry.

You'll be changing where sendmail puts its queue (which should be 
/var/spool/mqueue[-client]).  /var/[spool/]mail is where the MTA puts 
mail which it has delivered (users mailboxes) by default.  VERY 
different things.

The error message means that it cannot find the DNS entry for the 
domain.  Why you can resolve it manually, I don't know.

Setting the allow unresolvable domains will NOT allow you to be used a 
spam relay.  It may mean you get a couple of extra spam messages 
through to your self, but not a noticable difference.

The relay controls (access.db etc) in sendmail control the relaying of 
mail, allow unresolvable domains just means that you will accept mail 
if the domain of the user is not reverse resolvable.

Are you allowing both port 53 UDP and TCP through?  Since DNS requests 
go out by both TCP and UDP (depending on the query size), this could be 
what your problem is.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Could someone explain a sendmail log message please?

2004-01-18 Thread Tony Green
On 18/01/2004, at 21:42, [EMAIL PROTECTED] wrote:
I've turned on FEATURE(accept_unresolvable_domains) and followed Tony
Green's other advice, and then got errors like this from mailq:
I've been using sendmail for years now and I can safely say that the 
best option for you at the moment is to install postfix.

Sendmail is great if you really want to understand SMTP.  If you just 
want to get things working, use postfix.

You'll be much better off searching for a postfix howto than trying to 
crowbar sendmail into working.

TG

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Could someone explain a sendmail log message please?

2004-01-17 Thread Tony Green
On 18/01/2004, at 15:38, [EMAIL PROTECTED] wrote:
I'm just hoping someone can explain what some log messages mean, since
I appreciate that there's a wide range of errors I could be making.
(sendmail.mc, submit.cf, access, genericstable, aliases, reolv.conf,
host.conf, spamassassin/local.cf, ...)
Jan 17 22:56:14 posh sm-mta[16557]: i0HBuE2p016557: ruleset=check_mail,
 arg1=[EMAIL PROTECTED], relay=localhost.localdomain 
[127.0.0.1],
 reject=553 5.1.8 [EMAIL PROTECTED]...
 Domain of sender address [EMAIL PROTECTED] does not exist
Jan 17 22:56:14 posh sm-mta[16557]: i0HBuE2p016557: 
from=[EMAIL PROTECTED],
 size=3150, class=0, nrcpts=0, bodytype=7BIT, proto=ESMTP, daemon=MTA,
 relay=localhost.localdomain [127.0.0.1
Can the machine which generates these messages resolve slug.org.au 
(host slug.org.au)?

I'm guessing that you're blocking DNS requests and sendmail can't 
resolve the hosts.

If you really can't sort it, you can try adding 
FEATURE(accept_unresolvable_domains)
into your sendmail.mc

TG

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How to import Mozilla mail to Evolution?

2004-01-17 Thread Tony Green
On 18/01/2004, at 17:22, Jeff Ai wrote:
hi guys,
 I thought it would be easy, but turned out could not find a clear 
solution on google.
 any ideas from you good slugers?

 am using Evolution 1.4.5 and Mozilla 1.5

Don't know if there's a conversion script which you can run, however 
you could just upload your mail to an IMAP server and then download it 
to your new client (or leave it on there and never have to worry about 
switching clients again).

If you're stuck for an IMAP server to use, I could set you up a temp 
one on one of my servers.

TG

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Getting sendmail to use nullclient

2004-01-15 Thread Tony Green
Might be a stupid question, but have you re-created your sendmail.cf once
you modified the sendmail.mc?  In debian, there is a make file in
/etc/mail, so you just mod sendmail.mc then do a 'make'.
You'll also, obviously, have to restart sendmail so that it picks up the
changes to the config files.
I would recommend testing out your config using the sendmail debugging.

/usr/lib/sendmail -bv matth
and
/usr/lib/sendmail -bv
   /parse matth

I've got a lot of null mailers setup and they all work fine with a very
similar sendmail.mc to yours.
HTH

greeno
-- 
Tony Green [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spam Rejection During Connection

2003-12-09 Thread Tony Green
On 10/12/2003, at 10:25, [EMAIL PROTECTED] wrote:
Does this sort of thing not exist? or is it not a good idea?

I do this with sendmail and spamass-milter [1].  I don't think it's a 
great way of doing things, but it does work well on my box.  I 
certainly would be weary of using it in production.

It basically uses the libmilter sendmail hooks to do parsing of the 
message during the SMTP conversation.

You can do a lot of user level checking by using something like 
'access.db' in sendmail, I'm sure the other MTA's have a similar 
function.

Sendmail and postfix have inbuilt RBL checks, if you enable them.  
After recent events [2], I'd be weary about enabling them on their own.

TG

[1] http://bandcamp.tv/spamass-milter/index.html
[2] One of the main RBL's got DOS'ed and gave positives to every query
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] PCMCIA Hard Disk Drive on Slackware 9.1

2003-12-09 Thread Tony Green
On 10/12/2003, at 14:23, David Uzzell wrote:

Just a quick question for those that may have stumbled across this in 
the past :)

I have a 2Gb PCMCIA Hard Disk Drive that I would like to be able 
access under Linux, I want to use it for Still Picture storage and 
sharring between Linux and windows!

The challange is how to get it avaliable so that I can use it under 
slackware?


IIRC you just need the PCMCIA/IDE modules.  Either compile the PCMCIA 
source or use a recent kernel which should have the required code 
already.

My old tosh 2gb PCMCIA HDD worked fine with both my laptop (linux) and 
my ipaq (linux).

TG

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] CLI deMIMEing attachement in Maildir, what with ?

2003-12-09 Thread Tony Green
On 10/12/2003, at 14:12, Voytek wrote:

I have some largish emails with attachements on my Linux server in my
/Maildir, it contains some pics, etc, that needs to end up on the 
server's
web directory

I don't feel like downloading it on a 33.6 modem, to detach, then, ftp 
back
again

what can I use from command line to detach mime attachemts ?


Mutt?

I think it can open just a single mail file, perhaps with the '-f' flag?

Then you can just save the attachments.

TG

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] removing exim would remove logrotate - i dont want it to

2003-12-02 Thread Tony Green
On 03/12/2003, at 09:36, Michael Lake wrote:
It would remove logrotate ! Thats used to rotate my apache-perl, mysql
logs.
Logrotate needs an MTA to report on it's errors, so removing exim means 
no MTA.

Easiest way is to do an apt-get install nullmailer, nullmailer is a 
very small MTA which sends email to a specified smart host.

If you REALLY don't want an MTA on the box, then you'll need to cludge 
the logrotate package so that it no longer requires an MTA.

Do I just backup logrotate.conf and logrotate.d directory and let exim
remove logroate then just reinstall logrotate or what?
Won't work, trying to install logrotate will force the install of an MTA

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] sendmail/procmail question

2003-11-05 Thread Tony Green
On Thu, 2003-11-06 at 15:31, Jobst Schmalenbach wrote:
 all,
 
 I want to create mail aliases for my users so we can send SMS messages
 to their mobile phones. I was thinking something in the line of:
 
   [EMAIL PROTECTED]
 
 and
 
   [EMAIL PROTECTED]
 
 
 Is this possbile to do with rules in sendmail?

Yes

 Can I do this with procmail?
No




Ah, I'm guessing your next question will be how :-)

Try adding the required entries into /etc/mail/aliases [1] then run
'newaliases'.  Providing you've got alias support in sendmail (which
most installs do by default) you should be fine.

TG

[1] Location may vary depending on distro/age/personal preferences
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] No more Red Hat Linux support after April 30 2004 - Quick Survey

2003-11-03 Thread Tony Green
On Tue, 2003-11-04 at 15:07, Andrew Bennetts wrote:
 
 I'm curious -- why would you choose Debian over Fedora?  I'm a happy Debian
 user, but I would've thought that someone with a Red Hat background would
 use Fedora?  
 

In my view, the lack of corp support would be key.  The reason a lot of
people choose redhat by default is because of the name recognition etc.

If you're loosing that advantage, perhaps it's time to evaluate if your
distro is truly right for you.

(I'm assuming that fedora will not be officially supported by Redhat and
that vendors will start releasing products tested with RHAS-WE etc)
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Static IP being assigned dynamic IP - debian

2003-10-26 Thread Tony Green
On Mon, 2003-10-27 at 13:24, [EMAIL PROTECTED] wrote:
 Hey All,
 I have a machine freshly build, and just for building purposes, it was 
 assigned a dynamic IP address from a dhcp server.
 I have since changed it to a static IP address, not through the dhcp 
 server, but just in the local /etc/network/interfaces (Without rebooting), 
 then ran `ifdown eth0; ifup eth0`
 This worked fine for about a day, until the dhcp server offered a new IP 
 address, and the debian machine accepted!!
 I restarted the network (ifdown eth0; ifup eth0), and it worked OK again.
 However, I noticed dhclient-2.2.x running, so I have terminated that 
 process, and hopefully everything will continue to work ok.
 

I would have suggested that you do the following when changing from dhcp
- static

ifdown eth0
edit interfaces
ifup eth0

If you do the ifdown after editing rather than before, it doesn't 'know'
about the dhcp settings and doesn't terminate the dhclient (AFAIK).

greeno
-- 
Tony Green [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Mounting Hardrives in SuSe 7.0

2003-10-09 Thread Tony Green
On Thu, 2003-10-09 at 16:40, Rick Welykochy wrote:
(sudo or su are required if you're not logged in as root: the disk can only be 
directly accessed as root)


-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IP accounting from a PIX (or similar) using SNMP

2003-10-02 Thread Tony Green
On Fri, 2003-10-03 at 10:36, John McQuillen wrote:
 Try MRTG - http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
 

Thanks for that one, but cricket is 'mrtg on steroids'.  Apparently
neither can do what I'm after.  Though it sounds like netflow can.

I'm going to be replacing the 515 with a linux based fw at some point,
the cost of the netflow will help justify it too :-)

Thanks for everyone suggestions (both on and off list).

TG
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IP accounting from a PIX (or similar) using SNMP

2003-10-02 Thread Tony Green
On Fri, 2003-10-03 at 11:24, John McQuillen wrote:

 I am very much a novice when it comes to snmp, so please feel free to
 hit me with a clue stick if there is much more to it than I am
 suggesting :)

Actually, I can't see any reason why that won't work..

I'll start on some perl snmp stuff and see how it goes :-)

Thanks
TG
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IP accounting from a PIX (or similar) using SNMP

2003-10-02 Thread Tony Green
On Fri, 2003-10-03 at 11:53, Terry Collins wrote:
 Just checking. You are going to write something in perl to capture the
 snmp packets, thove them into a file and a certain times just count up
 packets for various accts?

Thats the current plan.

I may use rrdtool or similar in the long run

-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IP accounting from a PIX (or similar) using SNMP

2003-10-02 Thread Tony Green
On Fri, 2003-10-03 at 12:22, [EMAIL PROTECTED] wrote:
 Eh?  There's something I'm missing.  cricket is rrdtool (frontend
 actually) so it should just do what you want to 

Maybe, but it doesn't seem to want to.  Google threw up a lot of people
trying and very few people getting it working.
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IP accounting from a PIX (or similar) using SNMP

2003-10-02 Thread Tony Green
On Fri, 2003-10-03 at 12:29, John McQuillen wrote:
SNIP
 If my understanding is correct, the PIX is doing most of the work here,
 we just have to read the correct counters and analyse the data as
 required.

Yep, I think you're right.  We're now just debating the right way to
collect/collate the data.

Since I use cricket for everything else, it would be nice to get it to
do it too.  I've come up with some stuff to do it, I just have to cron
the reset of the counter on the 1st of each month now
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] The Infopackets Gazette -- Oct/01 (Wed)

2003-10-01 Thread Tony Green
OK, here's some interesting info

From the headers of the last spam 'someone' signed the SLUG mailing list
up for :
X-No-Abuse:  The IP address used to subscribe this user
X-No-Abuse:  was: 203.10.46.62


[EMAIL PROTECTED]:~$ nslookup  203.10.46.62
SNIP
Non-authoritative answer:
62.46.10.203.in-addr.arpa   name = 46-62.mary.acu.edu.au.



Now, most of the signup's we've seen have been from this domain (hence
my copying their registrar and abuse addresses on this email).  The
other address I can remember is 203.10.46.54.

I would not like to venture a guess as to who's behind this, but I would
like them to stop.  It proves nothing and is very immature.

If the admin staff at ACU have any control over this individual, please
stop them from abusing both your and our networks.

Thanks in advance for your assistance in this matter.

TG
-- 
Tony Green [EMAIL PROTECTED]
From [EMAIL PROTECTED] Thu Oct  2 11:13:16 2003
Return-Path: [EMAIL PROTECTED]
Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by
flute.bandcamp.tv (8.12.3/8.12.3/Debian-6.6) with ESMTP id h921DGeK023364
for [EMAIL PROTECTED]; Thu, 2 Oct 2003 11:13:16 +1000
Received: from maddog.slug.org.au (localhost [127.0.0.1]) by
maddog.slug.org.au (Postfix) with ESMTP id A0E6710A380; Thu,  2 Oct 2003
11:14:10 +1000 (EST)
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from ns1.infopackets.com (ns1.infopackets.com [207.44.192.24]) by
maddog.slug.org.au (Postfix) with ESMTP id 73E0E10A380 for
[EMAIL PROTECTED]; Thu,  2 Oct 2003 11:14:02 +1000 (EST)
Received: (from [EMAIL PROTECTED]) by ns1.infopackets.com (8.11.6/8.11.6) id
h922f7f05984; Wed, 1 Oct 2003 22:41:07 -0400
Message-Id: [EMAIL PROTECTED]
Content-Disposition: inline
MIME-Version: 1.0
X-Mailer: MIME::Lite 2.117  (F2.6; A1.50; B2.16; Q2.16)
Date: Thu, 2 Oct 2003 02:41:07 UT
From: [EMAIL PROTECTED]
To: Wsfg [EMAIL PROTECTED]
X-Habeas-Swe-1: winter into spring
X-Habeas-Swe-2: brightly anticipated
X-Habeas-Swe-3: like Habeas SWE (tm)
X-Habeas-Swe-4: Copyright 2002 Habeas (tm)
X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-Swe-6: email in exchange for a license for this Habeas
X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this
X-Habeas-Swe-9: mark in spam to http://www.habeas.com/report/.
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: ATTN: ABUSE / NETWORK ADMINS --
X-No-Abuse: 
X-No-Abuse: User: [EMAIL PROTECTED] was subscribed
X-No-Abuse: to our list using double opt-in
X-No-Abuse: co-registration provided by Topica
X-No-Abuse: on 20031001.
X-No-Abuse: 
X-No-Abuse: http://www.topica.com
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: The IP address used to subscribe this user
X-No-Abuse: was: 203.10.46.62
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: NOTICE:
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: ALL REMOVAL REQUESTS TO OUR LIST
X-No-Abuse: ARE AUTOMATED.  TO REMOVE THIS
X-No-Abuse: ADDRESS, PLEASE VISIT:
X-No-Abuse: 
X-No-Abuse: http://www.infopackets.com/remove+change+email.htm
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: 
X-No-Abuse: Regards,
X-No-Abuse: 
X-No-Abuse: Dennis Faas
X-No-Abuse: List owner and editor
X-No-Abuse: [EMAIL PROTECTED]
X-No-Abuse: 
X-No-Abuse: http://www.infopackets.com
X-No-Abuse: 
X-No-Abuse: 
X-SLUG-Spam-Status: No, hits=-4.5 required=3.4 tests=CLICK_BELOW,
HABEAS_SWE, NO_REAL_NAME, OPT_HEADER, REMOVE_PAGE
X-SLUG-Spam-Checker-Version: SpamAssassin 2.60, Mailman 2.1, Pete's evil
mailman hack 0.3
Subject: [SLUG] The Infopackets Gazette -- Oct/01 (Wed)
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Linux and Free Software Discussion slug.slug.org.au
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Subscribe: http://lists.slug.org.au/listinfo/slug,
mailto:[EMAIL PROTECTED]
List-Archive: http://lists.slug.org.au/archives/slug
List-Unsubscribe: http://lists.slug.org.au/listinfo/slug,
mailto:[EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-4.5 required=5.0 tests=CLICK_BELOW,HABEAS_SWE,
NO_REAL_NAME,OPT_HEADER,REMOVE_PAGE autolearn=no version=2.60
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
flute.bandcamp.tv
Content-Length:   8746
Lines: 320
Content-Type: text/plain
X-Evolution-Source: imap://[EMAIL PROTECTED]/
Content-Transfer-Encoding: 8bit



Infopackets Gazette: October 01, 2003



NOTE: This newsletter has been truncated to ensure timely delivery to
Readers and to reduce web server bandwidth consumption.

The original newsletter was produced in HTML format, contains

Re: [SLUG] Spam Subscriptions

2003-10-01 Thread Tony Green
Jon (or Allan if you'd prefer),

The machine that subscribed to the lists was the same as the machine
you're using at the moment.  Since we know you're at work, that casts
doubt on the whole 'home machine' argument.

I've also never heard of a virus that signs people up for random mailing
lists, mind you I don't pay attention to outlook virii so I can't be
sure about that one.

Your machine is called 'mandark' (as evidenced here by a SMTP log from
one of your emails)

Sep 29 16:14:27 flute sm-mta[29152]: h8T6EReK029152:
from=[EMAIL PROTECTED], size=1805, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=MTA,
relay=mail.mary.acu.EDU.AU [203.10.46.15]


mandark  was the requester for the subscription to the windows
newsletter :
Received: from mandark ([203.10.46.54])
 by marn1.acu.edu.au (Lotus Domino Release 5.0.12)
 with ESMTP id 2003093014453265:19566 ;
 Tue, 30 Sep 2003 14:45:32 +1000

The odds on a conincidental virus (which causes subscribtions to spam
lists) infecting your machine at the same time that you're berating
everyone in SLUG for not doing anything about SPAM are pretty high.

If it truly is a virus, then please ensure you clean your machine to
stop any future subscriptions coming from your address.  Perhaps I could
suggest not using your work machine for private emails, this would also
solve the problem.

Your abusive attitude is not welcome on the list.  We do not want more
swearing, more threats or more tantrums.

Just stop Jon.  No more follow-ups, no more threats, no more swearing,
no more childish pranks.  Just stop, unsubscribe if you wish, just stop.

I'm sure your employeer would rather you got on with more productive
work.

TG

On Thu, 2003-10-02 at 12:00, Allan Bogasti wrote:
 I've just read Jeff Waugh's totally inaccurate and childish attempt to intimidate 
 me
 
 HAHAHAHAHAHA
 
 I subscribed no-one to anything, however I did discover how it happened.
 
 I use Windows at home for some things, including VPN'ing into work to manage servers.
 
 I had a virus that came in through Outlook that I didn't catch - this virus nuked my 
 address book.
 
 I have had reports from others who's addresses I have that they have been subscribed 
 as well...
 
 Sorry - not my fault (well, not directly)
 
 Jeff, you are pathetic  The IP you posted is a proxy that is at my employer, 
 anything else happened from HOME.
 
 I'm unsubscribing now... Byebye, wankers
 
 -- 
 __
 http://www.linuxmail.org/
 Now with e-mail forwarding for only US$5.95/yr
 
 Powered by Outblaze
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] bigpond cable.

2003-09-29 Thread Tony Green
On Tue, 2003-09-30 at 13:41, Malik Jayawardena wrote:
 Hi Sluggers,
 
 Got a problem with Bpalogin. I've tried it on, RH8.0, 9.0 + Mandrake 9
 + 9.1 and it doesn't work.
 It seems to work ok on Mandrake 8.0 though and I think RH 7.3. I'm not
 sure what the changes are that screwed with its functionallity but it
 certainly isn't 
 working properly in the newer versions of both. I have been to the
 bpalogin sourceforge site and a few people seem to have to same
 problem but there seem to be only half ar$ed answers there and they
 really don't help much.
 

Google seems to think it's a known problem :
http://sourceforge.net/tracker/index.php?func=detailaid=713082group_id=19555atid=219555
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] bigpond cable.

2003-09-29 Thread Tony Green
On Tue, 2003-09-30 at 13:34, Tony Green wrote:
 Google seems to think it's a known problem :
 http://sourceforge.net/tracker/index.php?func=detailaid=713082group_id=19555atid=219555

Mandrake comes with a built in firewall that is most likely dropping the
heartbeat, go into the mandrake control center and have a poke at the
security settings, you want to allow your dce-server to access port
5050, and set the same in /etc/bpalogin.conf.
-- 
Tony Green [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


  1   2   3   4   5   >