RE: [SLUG] Re: slug Digest, Vol 29, Issue 62

2005-08-28 Thread Michael Kraus
Thanks James, I thought this would be the case but I couldn't think of
an example quickly.

Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007
 

> -Original Message-
> From: James Polley [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 29 August 2005 4:50 PM
> To: Michael Kraus
> Cc: [EMAIL PROTECTED]; slug@slug.org.au
> Subject: Re: [SLUG] Re: slug Digest, Vol 29, Issue 62
> 
> > As for not "trusting 'their' firewall" to work right, maybe 
> you should 
> > reconsider -
> 
> Especially because this particular device
> (http://www1.linksys.com/international/product.asp?coid=19&ipid=667)
> runs linux, and iptables - so "their firewall" uses exactly 
> the same software that your own firewall would be running anyway.
> 
> --
> There is nothing more worthy of contempt than a man who quotes himself
> - Zhasper, 2005
> 




Wild Technology Pty Ltd , ABN 98 091 470 692
Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017
Telephone 1300-13-9453 |  Facsimile 1300-88-9453
http://www.wildtechnology.net
DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in this email 
message and any attachments may be confidential information and may also be the 
subject of client legal - legal professional privilege. If you are not the 
intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited.   This email and any attachments are 
also subject to copyright.  No part of them may be reproduced, adapted or 
transmitted without the written permission of the copyright owner.  If you have 
received this email in error, please immediately advise the sender by return 
email and delete the message from your system.


--
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: slug Digest, Vol 29, Issue 62

2005-08-28 Thread James Polley
> As for not "trusting 'their' firewall" to work right, maybe you should
> reconsider - 

Especially because this particular device
(http://www1.linksys.com/international/product.asp?coid=19&ipid=667)
runs linux, and iptables - so "their firewall" uses exactly the same
software that your own firewall would be running anyway.

-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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: slug Digest, Vol 29, Issue 62

2005-08-28 Thread Michael Kraus
G'day...

> Please elaborate, specially why 'and IMHO it would be undesirable'
> 
> my previous (last post to slug) explained in depth the woes I 
> had trying to use a dynalink router.
> Every router that I've looked at is hard/obscure when you try 
> to route AND run servers. Also you end up trusting 'their' 
> firewall to work right.

How many routers have you looked at? Which ones were they? How long ago
did you look at them?

Most current routers provide NAT firewalling and port forwarding (both
TCP and UDP) and work reliably. Some of the older ones may not be as
reliable, but they've been around long enough that you can google for
people's experiences and opinions on them. (E.g. the old Dlink DSL-300s
are having faults as telephone exchanges are being updated but they are
not routers anyway.)

You can check the features of a router before purchase, even as far as
downloading the instruction manual from the manufacturers website.

The routers have an Apache web server built into them and are fairly
easy to configure. 

Why would you go to the trouble of reproducing this behaviour when you
already have it configured in hardware routers?

As for not "trusting 'their' firewall" to work right, maybe you should
reconsider - granted that a software router is as likely to have the
same security issues if not more so. (How do you know how secure your
box is? How thoroughly have you tested it? What tests did you run? Do
you know where potential vulnerabilities exist? Are you up to date with
all security updates? How quick to respond are you to security updates
given by security authorities? Who do you use as security authorities on
a practical level? Are you running additional software on the box other
than just the firewall and port fowarding functionality? - If so you're
even more at risk and are working with a somewhat broken paradigm.)

Running a modem/router is cheaper in terms of hardware costs /and/ time
spent assembling the hardware /and/ time spent installing and
configuring the necessary software /and/ in terms of space requirements
/and/ in terms of energy usage /and/ in terms of pre-requisite knowlege.


Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007
 





Wild Technology Pty Ltd , ABN 98 091 470 692
Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017
Telephone 1300-13-9453 |  Facsimile 1300-88-9453
http://www.wildtechnology.net
DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in this email 
message and any attachments may be confidential information and may also be the 
subject of client legal - legal professional privilege. If you are not the 
intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited.   This email and any attachments are 
also subject to copyright.  No part of them may be reproduced, adapted or 
transmitted without the written permission of the copyright owner.  If you have 
received this email in error, please immediately advise the sender by return 
email and delete the message from your system.


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


[SLUG] Re: slug Digest, Vol 29, Issue 62

2005-08-28 Thread jam
On Monday 29 August 2005 12:25, [EMAIL PROTECTED] wrote:
Hi

> > What you want to do is very easy. Although I am not certain the
> > existing ADSL router you own can be told or configured to be a dumb
> > bridged ADSL modem, much like the Linksys ADSL2MUE units are by
> > default. All this means is that the linux box would run PPPoE and do
> > the authentication etc. Then you'd install and configure NAT (Network
> > Address Translation) so that your internal lan can see and use the
> > internet. Much like NAT built into the WAG54G, but in this case the
> > linux box could handle more NAT entries and not fall over when too
> > many are opened. etc.
>
> This isn't necessary, and IMHO it would be undesirableand IMHO it would be 
> leaving the modem to handle the ADSL connection but setting it to 
> automatically forward all packets to the firewall. The firewall can then
> choose what to do with them.
>
> This way, you are splitting up the tasks amongst the devices. The modem can
> use PPPoA (which in many cases is better than PPPoE) but it doesn't hinder
> firewalling/forwarding.

Please elaborate, specially why 'and IMHO it would be undesirable'

my previous (last post to slug) explained in depth the woes I had trying to 
use a dynalink router.
Every router that I've looked at is hard/obscure when you try to route AND
run servers. Also you end up trusting 'their' firewall to work right.

tigger.ws, its dns, mail, vpn and www is testament to how easy and sucessfull 
a bridge can be.

James
-- 
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: Webserver behind ADSL router

2005-08-28 Thread Michael Fox
On 8/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> In router-mode forwarding was a major hastle
> ssh connections timed out
> I could not get the tcp/ip and udp forwarding to work for dns
> The modem-setup page (www) was published on the internet as
> http://customer.com.au (shock-horror-gasp)
> 
> So ... choose your router carefully


And thankfully most routers have got alot nicer. Most of the time this
web configuration page is only bound to the internal nic, and not any
outbound interface. And they can also be configured on ports other
then TCP/80.

But yes some routers still do as you said, which is a total pain in
the backside.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Webserver behind ADSL router

2005-08-28 Thread jam
Hi

> I have been asked to set a Fedora box up as a web and mail server for a
> customer of mine in his business grade ADSL service. He is using a Netcomm
> NB1300 as his ADSL router and he has a static IP assigned by his ISP. I
> have Apache and Postfix running fine on the box. I have Ports 25, 53, 80
> and 110 forwarded on the NB1300 router and I have them forwarded to the IP
> address of the Fedora box. I am a bit confused on how to set the DNS up to
> get the whole thing to work. At present if I browse to the static IP
> address assigned by the ISP I can see the standard Apache test page. I need
> to be able to use the domain name. I have a domain name registered for this
> guy and at present it is delegated pointing to the static IP assigned by
> the ISP as advised by the domain supplier.
>
> Has anyone ever set a web server up on an ADSL line anything like this? If
> so I would appreciate the benefit of your experience. Has anyone had
> experience in setting up the DNS for a situation like this? If so I would
> appreciate any help.

I used a dynalink modem and this was a diaster. I was able to set it as a 
bridge and then all was easy.

In router-mode forwarding was a major hastle
ssh connections timed out
I could not get the tcp/ip and udp forwarding to work for dns
The modem-setup page (www) was published on the internet as 
http://customer.com.au (shock-horror-gasp)

So ... choose your router carefully

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


[SLUG] Re: linux box as router

2005-08-28 Thread jam
On Monday 29 August 2005 12:25, [EMAIL PROTECTED] wrote:
> Hi.
>
> I would like to know it anyone is running a linux box as their adsl
> router/modem?
>                       /--\
>  |~|          |linux |          |-|
>  | network |<>|      |<>| ISP     |
>  |_|          | box  |          |-|
>                       \--/
>
> Is it possible? How to do it?
>
> ---
>
> I have a WAG54G, which is very basic as a router and which I want to use as
> a bridge, then use a linux box to act as a gateway/firewall/router to my
> internal network.
>
>                       /--\  
>   |\__/|          |linux |       |~|          |-|
>   |network |<=--=>|      |<->| WAG54G  |<>| ISP     |
>   |/~~\|          | box  |       |_|          |-|
>                       \--/    
>
> Does anyone have experience with this?
> Can anyone point me to specific resources for this?

This is dead easy. Details depend on your distro.
I use suse and point-n-click was the only fiddling that I did.
My isp (powerdsl) does not even need pppoe

Setup you external network card
setup your internal card
setup your firewall +
setup masqurade

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


[SLUG] Firefox print crash

2005-08-28 Thread Phil Scarratt

Hi

Has anyone else had trouble with firefox or thunderbird crashing when 
you press CTRL+P or select Print from the File menu? I'm using Ubuntu Hoary.


It's driving me insane. Currently googling but what is really insane is 
that after I try something to fix it, I have to click print of course 
and firefox crashes again..arrrggg


Fil
--
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] Webserver behind ADSL router

2005-08-28 Thread Dennis M. Gray
> Has anyone ever set a web server up on an ADSL line anything like this? If
> so I would appreciate the benefit of your experience. Has anyone had
> experience in setting up the DNS for a situation like this? If so I would
> appreciate any help.
>
Richard,

I have done it the way Jeff suggested and, like he said, there are no
tricks. James's suggestions would have helped in my case but I just
resolved the name differently in my /etc/hosts file because I was the only
internal user.

Dennis

-- 
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] Webserver behind ADSL router

2005-08-28 Thread James Gray
On Monday 29 August 2005 14:03, Jeff Waugh wrote:
> 
>
> > Has anyone ever set a web server up on an ADSL line anything like this?
> > If so I would appreciate the benefit of your experience. Has anyone had
> > experience in setting up the DNS for a situation like this? If so I would
> > appreciate any help.
>
> There's no trickery involved. Just set the A records for the root domain
> and the www subdomain to his ADSL's static IP... and you're done.
>
> - Jeff

Just to add to Jeff's comments, if you need separate addresses returned by the 
DNS server depending on whether the request came from an internal or external 
client, you might want to look at ISC Bind's (ver 9+) "view" directive.

Let's say your customer's webserver (www.foo.com) has the address 192.168.0.80 
but it's external (internet static IP via NAT) is 1.2.3.4.  You probably want 
internal users to have www.foo.com resolve to 192.168.0.80 but external users 
resolve to 1.2.3.4.  ISC Bind's "view" will allow you to do this with a 
single config file and single named daemon - and it's actually quite simple 
to do.

Have a look at the bind 9 admin reference:

http://www.nominum.com/content/documents/bind9arm.pdf
specifically sections 6.2.19 and 6.2.20 (page 80).

HTH,

James 
-- 
Weekend, where are you?


pgpZXNtF1sbjw.pgp
Description: PGP signature
-- 
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 box as router

2005-08-28 Thread Michael Fox
On 8/29/05, Sridhar Dhanapalan <[EMAIL PROTECTED]> wrote:
> This way, you are splitting up the tasks amongst the devices. The modem can
> use PPPoA (which in many cases is better than PPPoE) but it doesn't hinder
> firewalling/forwarding.

Yes, PPPoA in my opinion appears to be alot more robust then PPPoE, but YMMV.

Currently my ADSL router is not doing bridge mode, the router is doing
all the work. I just port forward what I need to internal hosts. IN
this case smtp, http etc to my linux box.

Thanks
--
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] Webserver behind ADSL router

2005-08-28 Thread Jeff Waugh


> Has anyone ever set a web server up on an ADSL line anything like this? If
> so I would appreciate the benefit of your experience. Has anyone had
> experience in setting up the DNS for a situation like this? If so I would
> appreciate any help.

There's no trickery involved. Just set the A records for the root domain and
the www subdomain to his ADSL's static IP... and you're done.

- Jeff

-- 
EuroOSCON: October 17th-20thhttp://conferences.oreillynet.com/eurooscon/
 
 "It's only ironic because it's true." - Reflexive irony, overheard
-- 
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 box as router

2005-08-28 Thread Sridhar Dhanapalan
On Mon, 29 Aug 2005 13:33, Michael Fox <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What you want to do is very easy. Although I am not certain the
> existing ADSL router you own can be told or configured to be a dumb
> bridged ADSL modem, much like the Linksys ADSL2MUE units are by
> default. All this means is that the linux box would run PPPoE and do
> the authentication etc. Then you'd install and configure NAT (Network
> Address Translation) so that your internal lan can see and use the
> internet. Much like NAT built into the WAG54G, but in this case the
> linux box could handle more NAT entries and not fall over when too
> many are opened. etc.

This isn't necessary, and IMHO it would be undesirable. You're better off 
leaving the modem to handle the ADSL connection but setting it to 
automatically forward all packets to the firewall. The firewall can then 
choose what to do with them.

This way, you are splitting up the tasks amongst the devices. The modem can 
use PPPoA (which in many cases is better than PPPoE) but it doesn't hinder 
firewalling/forwarding.


-- 
Sridhar Dhanapalan  [Yama | http://www.pclinuxonline.com/]
  {GnuPG/OpenPGP: http://dhanapalan.webhop.net/yama.asc
   0x049D38B4 : A7A9 8A02 78CB AB1B FCE4 EEC6 2DD9 249B 049D 38B4}

"We'll do as you suggest and go with Linux. I've always liked that character 
from Peanuts." -- The Boss, "Dilbert"


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

[SLUG] Webserver behind ADSL router

2005-08-28 Thread Richard Luckhurst



Hello 
All
 
I have been asked to 
set a Fedora box up as a web and mail server for a customer of mine in his 
business grade ADSL service. He is using a Netcomm NB1300 as his ADSL 
router and he has a static IP assigned by his ISP. I have Apache and Postfix 
running fine on the box. I have Ports 25, 53, 80 and 110 forwarded on the NB1300 
router and I have them forwarded to the IP address of the Fedora box. I am a bit 
confused on how to set the DNS up to get the whole thing to work. At present if 
I browse to the static IP address assigned by the ISP I can see the standard 
Apache test page. I need to be able to use the domain name. I have a domain name 
registered for this guy and at present it is delegated pointing to the static IP 
assigned by the ISP as advised by the domain supplier.
 
Has anyone ever set 
a web server up on an ADSL line anything like this? If so I would appreciate the 
benefit of your experience. Has anyone had experience in setting up the DNS for 
a situation like this? If so I would appreciate any help.
 
Regards
 
Richard
-- 
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 box as router

2005-08-28 Thread james
> Hi.
>
> I would like to know it anyone is running a linux box as their adsl
> router/modem?

Yup.

>   /--\
>  |~|  |linux |  |-|
>  | network |<>|  |<>| ISP |
>  |_|  | box  |  |-|
>   \--/
>
> Is it possible?
Very much so. You get a firewall totally under your control that way, too. 
Whether
this is a good thing, is another matter :)

> How to do it?
Short version: rp-pppoe, iptables and at least two network cards.
The longer version (for iptables) is here: http://www.iptables.org/
You'll also want to look at this:
http://www.roaringpenguin.com/penguin/open_source_rp-pppoe.php

iptables is what you use to manipulate linux's packet filtering system 
(netfilter),
and rp-pppoe is Roaring Penguin's application for connecting on adsl.



> ---
>
> I have a WAG54G, which is very basic as a router and which I want to use as a
> bridge, then use a linux box to act as a gateway/firewall/router to my 
> internal
> network.
>
>   /--\
>   |\__/|  |linux |   |~|  |-|
>   |network |<=--=>|  |<->| WAG54G  |<>| ISP |
>   |/~~\|  | box  |   |_|  |-|
>   \--/
>
> Does anyone have experience with this?
I have no experience with that arrangement, myself. I use the Linux box as a
gateway/firewall between the internet (separate ADSL modem), wireless and 
internal
ethernet networks.

I'm sure others on the list are doing this, however.

Which ISP are you using? Some seem to be easier than others to connect to, with 
Linux.

> Can anyone point me to specific resources for this?
>
> Thanks.
> Luke
>
>
> --
> ._..
> .|  .| |.|/.|_ .
> .|__.|_|.|\.|_ .
> :61 421 276 282:
> --
> 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] linux box as router

2005-08-28 Thread Simon Bowden

Hi,

I wrote up some stuff I did a fair while ago for at home.
I've got a different ISP and hardware now, but same applies, plus there's 
probably useful general notes:


http://www.cse.unsw.edu.au/~simonb/swiftel/

Cheers,

 - Simon

On Mon, 29 Aug 2005 [EMAIL PROTECTED] wrote:


Hi.

I would like to know it anyone is running a linux box as their adsl
router/modem?
 /--\
|~|  |linux |  |-|
| network |<>|  |<>| ISP |
|_|  | box  |  |-|
 \--/

Is it possible? How to do it?

---

I have a WAG54G, which is very basic as a router and which I want to use as a
bridge, then use a linux box to act as a gateway/firewall/router to my internal
network.

 /--\
 |\__/|  |linux |   |~|  |-|
 |network |<=--=>|  |<->| WAG54G  |<>| ISP |
 |/~~\|  | box  |   |_|  |-|
 \--/

Does anyone have experience with this?
Can anyone point me to specific resources for this?

Thanks.
Luke


--
._..
.|  .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
--
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] linux box as router

2005-08-28 Thread Michael Fox
Hi,

What you want to do is very easy. Although I am not certain the
existing ADSL router you own can be told or configured to be a dumb
bridged ADSL modem, much like the Linksys ADSL2MUE units are by
default. All this means is that the linux box would run PPPoE and do
the authentication etc. Then you'd install and configure NAT (Network
Address Translation) so that your internal lan can see and use the
internet. Much like NAT built into the WAG54G, but in this case the
linux box could handle more NAT entries and not fall over when too
many are opened. etc.

Take a look at one of the ip-masquerading howto guides that use to be
found on one of the Linux Documentation Project mirror sites. I am
guessing its probably been rewritten and maybe called something else.

Although I suspect at the moment, your WAG54G probably is not going to
be able to be a bridged/dump ADSL ethernet modem. ie. not going to be
able to disable nat, dhcp and all the other functions that make the
device it is.

On 8/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> I would like to know it anyone is running a linux box as their adsl
> router/modem?
>   /--\
>  |~|  |linux |  |-|
>  | network |<>|  |<>| ISP |
>  |_|  | box  |  |-|
>   \--/
> 
> Is it possible? How to do it?
> 
> ---
> 
> I have a WAG54G, which is very basic as a router and which I want to use as a
> bridge, then use a linux box to act as a gateway/firewall/router to my 
> internal
> network.
> 
>   /--\
>   |\__/|  |linux |   |~|  |-|
>   |network |<=--=>|  |<->| WAG54G  |<>| ISP |
>   |/~~\|  | box  |   |_|  |-|
>   \--/
> 
> Does anyone have experience with this?
> Can anyone point me to specific resources for this?
> 
> Thanks.
> Luke
> 
> 
> --
> ._..
> .|  .| |.|/.|_ .
> .|__.|_|.|\.|_ .
> :61 421 276 282:
> --
> 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


[SLUG] linux box as router

2005-08-28 Thread luke
Hi.

I would like to know it anyone is running a linux box as their adsl
router/modem?
  /--\
 |~|  |linux |  |-|
 | network |<>|  |<>| ISP |
 |_|  | box  |  |-|
  \--/

Is it possible? How to do it?

---

I have a WAG54G, which is very basic as a router and which I want to use as a
bridge, then use a linux box to act as a gateway/firewall/router to my internal
network.

  /--\   
  |\__/|  |linux |   |~|  |-|
  |network |<=--=>|  |<->| WAG54G  |<>| ISP |
  |/~~\|  | box  |   |_|  |-|
  \--/ 

Does anyone have experience with this?
Can anyone point me to specific resources for this?

Thanks.
Luke

 
-- 
._..
.|  .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: bulk mail script

2005-08-28 Thread Matt Palmer
On Mon, Aug 29, 2005 at 11:15:59AM +1000, Tony Green wrote:
> 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 '' 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.

nail, baby!  Yeah!

The world's tastiest mail(1) drop-in replacement.  Beloved by all.

- Matt


signature.asc
Description: Digital signature
-- 
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 '' 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] bulk mail script

2005-08-28 Thread Michael Kraus
If you're not looking to program a solution yourself, you could simply
add the email addresses to a group entry in your email address book.

(That is if you are using Evolution or a similar client.)

Regards,
Michael Kraus
Software Developer
[EMAIL PROTECTED]
Direct Line 02 8306 0007
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Else
> Sent: Monday, 29 August 2005 9:49 AM
> To: slug@slug.org.au
> Subject: [SPAM - FORGED HEADERS >> ] - [SLUG] bulk mail 
> script - Email found in subject
> 
> 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.
> 
> Regards,
> Alexander.
> --
> SLUG - Sydney Linux User's Group Mailing List - 
> http://slug.org.au/ Subscription info and FAQs: 
> http://slug.org.au/faq/mailinglists.html
> 




Wild Technology Pty Ltd , ABN 98 091 470 692
Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017
Telephone 1300-13-9453 |  Facsimile 1300-88-9453
http://www.wildtechnology.net
DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in this email 
message and any attachments may be confidential information and may also be the 
subject of client legal - legal professional privilege. If you are not the 
intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited.   This email and any attachments are 
also subject to copyright.  No part of them may be reproduced, adapted or 
transmitted without the written permission of the copyright owner.  If you have 
received this email in error, please immediately advise the sender by return 
email and delete the message from your system.


--
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 Peter Chubb
> "Alexander" == Alexander Else <[EMAIL PROTECTED]> writes:

Alexander> Quoting Tony Green <[EMAIL PROTECTED]>:
>> 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.
>> >
>> 

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

If you have all the email addresses in a file, one per line, then
   cat message | xargs -a address_file /usr/lib/sendmail -f ''
will do it.

(Of course, the email addresses must be the simple bare [EMAIL PROTECTED]
form, no GECOS or brackets).

message must be a complete message with all headers, etc.
The easiest way to create one is to mail it to yourself, and save and
edit the result --- for example,  to change the `To' line to something
sensible, and remove any `Received-by: ' headers.


-- 
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
The technical we do immediately,  the political takes *forever*
-- 
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 Alexander Else
Quoting Tony Green <[EMAIL PROTECTED]>:

> 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]>
> 


Thanks Tony.  By 'an hour and a half' i mean that is when i hit the big green
'Go' button that queues all the mails onto our SMTP server for delivery as
normal (ie. no expectation that they all are delivered/returned within any
specific timeframe).

Yes, these are recipients who want our mail.  I'm not too concerned about the
likelihood of it being caught in spam filters.

Perl is the best option if it's something i'll need to modify.  Ideally, a
prewritten script that i can give a message and list of addresses is what i
want.  Yeah, i don't ask for much ;)
-- 
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


[SLUG] bulk mail script

2005-08-28 Thread Alexander Else
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.

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


[SLUG] Creating a driver disk

2005-08-28 Thread Howard Lowndes
I have a very geriatric laptop with RH8 on it and I want to upgrade to 
at least RH9 so that I can use the updates from Fedora Legacy.


It uses a PCMCIA NIC which uses the axnet-cs driver and I want to do the 
upgrade as an NFS upgrade due to an dodgy CD drive.


How do I go about making a driver disk for the PCMCIA driver.

--
Howard.
LANNet Computing Associates - Your Linux people 
--
When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
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] ubuntu mod perl2

2005-08-28 Thread Angus Lees
At Sat, 27 Aug 2005 13:30:42 +1000, Ashley Maher wrote:
> I loaded the mod perl2 package into Ubuntu.

> The registery scripts worked well.
> 
> The handler modules test failed misserably.

> mod_perl/1.99_14 Perl/v5.8.4 PHP/4.3.10-10ubuntu4 configured -- resuming
> normal operations
[...]
> [Sat Aug 27 12:39:46 2005] [error] [client 127.0.0.1] Can't locate
> Apache2/RequestRec.pm in @INC (@INC
> contains: /usr/lib/perl5/Apache2 /var/www /etc/perl /usr/local/lib/perl/5.8.4 
> /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 
> /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2/ 
> /etc/apache2/lib/perl) at /var/www/MyApache2/Rocks.pm line 8.\nBEGIN 
> failed--compilation aborted at /var/www/MyApache2/Rocks.pm line 
> 8.\nCompilation failed in require at (eval 4) line 3.\n

mod_perl2 changed the names of the critical libraries in one of the
late prereleases (in order to avoid compatibility problems with
mod_perl1)

You are using a pre-API-change mod_perl2 with code written from
post-API-change documentation.

Basically the pre-API-change stuff was to "use Apache2" somewhere and
then use "Apache::RequestRec", etc (ie without the "2" on the prefix).
I don't have a box handy with pre-API-change mod_perl2 handy, but you
should be able to work things out by looking at what files you
actually have below /usr/lib/perl5/Apache2/.

Be aware that any code you right to this API will not work against the
released version of mod_perl2 (it was released too late into the sarge
release process to make it into that release unfortunately).  In most
cases the changes are a simple search+replace however.

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


[SLUG] DMA Support for CDROM's on VIA 82Cxxx

2005-08-28 Thread James Gray
For the archives to hopefully save others the pain.

I have a Asus K8VSE Deluxe motherboard with a single SATA (boot) drive and a 
single CDRW+DVDROM combo drive as hda (Master on 1st IDE).

Here's the relevant lines from lspci (bus ID's left out for the sake of 
bandwidth):

$lspci
Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
...
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C
   PIPC Bus Master IDE (rev 06)

The system is running a standard Ubuntu/Kubuntu AMD64-K8 kernel:
$uname -a
Linux frodo 2.6.10-5-amd64-k8 #1 Thu Aug 18 22:36:46 UTC 2005 x86_64 
GNU/Linux

However with a standard Ubuntu/Kubuntu installation hdparm would not permit 
me to enable DMA support for /dev/hda (the CDRW etc).  As you can imagine 
this made buring CD's and reading/ripping CD's a real headache.

***
 A kernel recompile is NOT necessary!! 
***

You simply need to edit the /etc/modules file as follows:
1. REMOVE (or comment out) the line:
   ide-generic
2. Add following line *ABOVE* all of the ide-* lines (probably 1st line
   under the comments section):
   via82cxxx
   
Now simply reboot and verify "sudo hdparm -d1 /dev/hda" doesn't return an 
error and that /dev/hda has DMA enabled (sudo hdparm /dev/hda).  Voila!

To permanently configure /dev/hda with DMA support, edit /etc/hdparm.conf:
/dev/hda {
dma = on
}

And here's some keywords for google to grok:
ubuntu kubuntu via cdrom DMA VT82C586A/B/VT82C686/A/B/VT823x/A/C

Have fun folks :)

James
-- 
 mariab - I am a Debian developer.  Red Hat is "the enemy" or
   something like that I guess..  Still, typecasting RH users as
   idiots or their distribution as completely broken by default
   is complete and total FUD.


pgpDMHFJyp2fp.pgp
Description: PGP signature
-- 
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] Asterisk Open Source PABX software

2005-08-28 Thread Angus Lees
At Wed, 24 Aug 2005 15:16:04 +1000, Michael Kraus wrote:
> Has anyone had any experience with Asterisk (or any other) open source
> PABX software, and wouldn't mind commenting?

My comments:

Asterisk developers prioritises new features over stability and
particularly clean code.  There's a *whole* lot of cruft in the
Asterisk code base - lots of features are hacked directly into the
channel drivers (particularly the zaptel one), so don't expect new
feature combinations to work without testing it.

The Asterisk community is by and large made up of people who can't
code and don't really know what they're doing.  Because of this there
is a huge amount of "disinformation" and rumours about certain
features/bugs.  Basically treat anything you read with scepticism and
learn enough about things so you can work through them yourself.

Asterisk is a nice toolkit with some good ideas (and a few bad ones).
If you want to use it in real-life situations, I recommend reading the
code to see what it actually does and reaching a point where you feel
comfortable doing trivial changes to some of the hard-coded (typically
American) defaults.

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


[SLUG] internet

2005-08-28 Thread Paul Maloney
Hi,
Well I finally got on line and have received my first email using LInux. I 
would like to thank all those people who helped me with their advise.
Now the last bit of info that I would like to know is when I go on line to get 
my emails do I have to go to mcc everytime to get connected or is there a way 
that I can put this on my desktop. I am running Mandrake 9.2 and I have the 
upgrade to 10.1 but it wont load past the selection of the language. It locks 
up and I have to reboot. Can anyone help me on this matter or suggest a 
better system.
Thanks again for all your help.
Paul

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