Exim address aliased to a script
Installing an application named RT, which was discussed here recently. All works except when I send an e-mail to the e-mail alias support, I get the following in exim's mainlog: Neither the system_aliases director nor the address_pipe transport set a uid for local delivery of |/opt/rt2/bin/rt-mailgate --queue support --action correspond /etc/aliases contains the line: support: |/opt/rt2/bin/rt-mailgate --queue support --action correspond Obviously, it wants to know the user that command should be executed by (the correct answer, I think, is www-data). It works when I set address_pipe to run as www-data, but I'm sure that is not the correct answer. And, I'd prefer to not modify exim.conf if possible. At least for this. Any suggestions? Checked the rt site (http://www.fsck.com/rtfm/) and did not get an answer. Going to RTFM the exim book some more, but hope someone has a quick fix. Thanks, Rod -- The man who sets out to carry a cat by its tail learns something that will always be useful and which never will grow dim or doubtful. -- Mark Twain
Exim address aliased to a script
Installing an application named RT, which was discussed here recently. All works except when I send an e-mail to the e-mail alias support, I get the following in exim's mainlog: Neither the system_aliases director nor the address_pipe transport set a uid for local delivery of |/opt/rt2/bin/rt-mailgate --queue support --action correspond /etc/aliases contains the line: support: |/opt/rt2/bin/rt-mailgate --queue support --action correspond Obviously, it wants to know the user that command should be executed by (the correct answer, I think, is www-data). It works when I set address_pipe to run as www-data, but I'm sure that is not the correct answer. And, I'd prefer to not modify exim.conf if possible. At least for this. Any suggestions? Checked the rt site (http://www.fsck.com/rtfm/) and did not get an answer. Going to RTFM the exim book some more, but hope someone has a quick fix. Thanks, Rod -- The man who sets out to carry a cat by its tail learns something that will always be useful and which never will grow dim or doubtful. -- Mark Twain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Best Practices: CGI.pm & CSS2 ???
My two cents. I agree that using a template driven system is much better than CGI.pm, especially if you are using CSS. Whether you do a roll your own template processor or use HTML::Template, it works to allow the design of the site to be separated from the function of it. I create some of the worlds ugliest web sites, but I'm a pretty good Perl hacker. So, I build an functional, but ugly, template, then give it to someone who has some artistic sense. They make it look pretty, then I have a pretty and functional site. I also use CSS, but mainly to make the site compatible across platforms. It really allows the end user to see it in the way best for them. I try to stay away from positioning with CSS. But, it rocks as far as make a site-wide look-and-feel. I usually test my stuff on Netscape, Opera, Explorer and Lynx. If you want to see a site that uses poor HTML/CSS, view http://www.buybordenmilk.com (it's a site my company designed and we host, so I can slam it if I want). The designer did some good stuff, but she also did absolute positioning with the CSS. Try it at 1280x1024. (We're getting ready to do a re-write). Rod > > CSS is not deprecated. It is not reliable for positioning but it is quite > usable for defining text and character styles. If you have ever > changed all the font tags in a web site, you will be a CSS fan. > > If you attempt to validate your HTML against w3.org's validator, you > are required to be a fan. > > http://validator.w3.org/ > > It is probably not a good idea to use CGI.pm to produce HTML output. Why > learn another HTML syntax ? Something like HTML::Template or even a HERE > document will serve you better. > > However it is very foolish to **Not** use CGI to parse input from a form. > It is much, much easier and safer than parsing the raw query string or > reading STDIN or escaping shell charactors or otherwise doing the job by > hand. > > #!/usr/bin/perl -wT > use strict; > use CGI; > use CGI::Carp; > my $q= new CGI; > my $name = $q->param('first_name') || 0; > > my $result = < Content-Type: text/html; charset=ISO-8859-1\n\n > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > Hello $name > hello $name > HERE > > if ($name) { > print $result; > } > else { > print ; > } > > # see perldoc perldata for __DATA__ file handle info > __DATA__ > Content-Type: text/html; charset=ISO-8859-1 > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > > simple form > > > > Name: > > > > > > # > > On Tue, 30 Dec 2003, Chris Wagner wrote: > >> I can tell you some stuff about that right now. CGI.pm is just a quick and >> dirty module that will save on some typing in your perl script. Emphasis on >> some. If you're doing anything more than basic html tags it quickly becomes >> not worth it anymore. Writing tag attributes takes up more time and space >> than just writing out the html itself. The one thing it's really good for >> is writing out tables. If you have an array with all your row data you can >> write something like print Tr( td([EMAIL PROTECTED]) ). That saves a lot of >> typing. >> The perldoc has most of the gritty details. >> >> Cascading Style Sheets. Deprecated. I have seen so many bad uses of style >> sheets it makes me want to cry out in anger. So just don't use them unless >> there's no other way to do it. They are almost guaranteed to cause >> compatibility problems. The problem is that some bonehead writes a style >> sheet that makes a webpage look good on *their* computer. To hell with >> everybody else who doesn't have the same monitor, resolution, fonts, >> browser, etc. The one thing they are "good" for is making themes but be >> careful that it's still ledgible on other machines. I have them turned off >> in my browser. >> >> >> At 10:50 PM 12/29/03 -0600, Michael D Schleif wrote: >> >Please, somebody point me to URL's that provide examples and best >> >practices of using CSS2, CGI.pm and XHTML v1.x. >> > >> >-- >> >Best Regards, >> >> >> >> >> >> -- >> REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- >> "...ne cede males" >> >> 0100 >> >> >> > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- The man who sets out to carry a cat by its tail learns something that will always be useful and which never will grow dim or doubtful. -- Mark Twain
Re: Best Practices: CGI.pm & CSS2 ???
My two cents. I agree that using a template driven system is much better than CGI.pm, especially if you are using CSS. Whether you do a roll your own template processor or use HTML::Template, it works to allow the design of the site to be separated from the function of it. I create some of the worlds ugliest web sites, but I'm a pretty good Perl hacker. So, I build an functional, but ugly, template, then give it to someone who has some artistic sense. They make it look pretty, then I have a pretty and functional site. I also use CSS, but mainly to make the site compatible across platforms. It really allows the end user to see it in the way best for them. I try to stay away from positioning with CSS. But, it rocks as far as make a site-wide look-and-feel. I usually test my stuff on Netscape, Opera, Explorer and Lynx. If you want to see a site that uses poor HTML/CSS, view http://www.buybordenmilk.com (it's a site my company designed and we host, so I can slam it if I want). The designer did some good stuff, but she also did absolute positioning with the CSS. Try it at 1280x1024. (We're getting ready to do a re-write). Rod > > CSS is not deprecated. It is not reliable for positioning but it is quite > usable for defining text and character styles. If you have ever > changed all the font tags in a web site, you will be a CSS fan. > > If you attempt to validate your HTML against w3.org's validator, you > are required to be a fan. > > http://validator.w3.org/ > > It is probably not a good idea to use CGI.pm to produce HTML output. Why > learn another HTML syntax ? Something like HTML::Template or even a HERE > document will serve you better. > > However it is very foolish to **Not** use CGI to parse input from a form. > It is much, much easier and safer than parsing the raw query string or > reading STDIN or escaping shell charactors or otherwise doing the job by > hand. > > #!/usr/bin/perl -wT > use strict; > use CGI; > use CGI::Carp; > my $q= new CGI; > my $name = $q->param('first_name') || 0; > > my $result = < Content-Type: text/html; charset=ISO-8859-1\n\n > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > Hello $name > hello $name > HERE > > if ($name) { > print $result; > } > else { > print ; > } > > # see perldoc perldata for __DATA__ file handle info > __DATA__ > Content-Type: text/html; charset=ISO-8859-1 > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > > simple form > > > > Name: > > > > > > # > > On Tue, 30 Dec 2003, Chris Wagner wrote: > >> I can tell you some stuff about that right now. CGI.pm is just a quick and >> dirty module that will save on some typing in your perl script. Emphasis on >> some. If you're doing anything more than basic html tags it quickly becomes >> not worth it anymore. Writing tag attributes takes up more time and space >> than just writing out the html itself. The one thing it's really good for >> is writing out tables. If you have an array with all your row data you can >> write something like print Tr( td([EMAIL PROTECTED]) ). That saves a lot of typing. >> The perldoc has most of the gritty details. >> >> Cascading Style Sheets. Deprecated. I have seen so many bad uses of style >> sheets it makes me want to cry out in anger. So just don't use them unless >> there's no other way to do it. They are almost guaranteed to cause >> compatibility problems. The problem is that some bonehead writes a style >> sheet that makes a webpage look good on *their* computer. To hell with >> everybody else who doesn't have the same monitor, resolution, fonts, >> browser, etc. The one thing they are "good" for is making themes but be >> careful that it's still ledgible on other machines. I have them turned off >> in my browser. >> >> >> At 10:50 PM 12/29/03 -0600, Michael D Schleif wrote: >> >Please, somebody point me to URL's that provide examples and best >> >practices of using CSS2, CGI.pm and XHTML v1.x. >> > >> >-- >> >Best Regards, >> >> >> >> >> >> -- >> REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- >> "...ne cede males" >> >> 0100 >> >> >> > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- The man who sets out to carry a cat by its tail learns something that will always be useful and which never will grow dim or doubtful. -- Mark Twain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
On Fri, 2 Jan 2004, Peter Billson wrote: > Daniel, > Debain works fine on Dells. A couple tips assuming you are installing > from the Woody CD: > 1) Use the BF24 boot option so that you are installing a 2.4 kernel and > not the default 2.2 kernel I had anoter problem on a poweredge600: The driver for on board NIC were present only from 2.4.20 onward so i had to drop a 3c905 (attention: there beasts accept only 3.3 V cards !) to upgrade immediately the kernel.
Re: Debian on a Dell-Server???
Daniel, Debain works fine on Dells. A couple tips assuming you are installing from the Woody CD: 1) Use the BF24 boot option so that you are installing a 2.4 kernel and not the default 2.2 kernel 2) You may run into problems with your RAID array due to a chicken/egg problem with the driver. There is a perfect "how-to" at http://lists.us.dell.com/pipermail/linux-poweredge/2002-September/003971.html to work around the problem. The how-to says you can do it on the system during install but I have found it is *much* easier to make the driver floppy on another system first. 3) There is more info on Matt Domsch's page at http://domsch.com/linux Pete -- http://www.elbnet.com ELB Internet Service, Inc. Web Design, Computer Consulting, Internet Hosting Daniel Holze wrote: > > Hello debian-isp, > > Anyone know, if i can Debian on an Dell-Server? > Dell says olny RedHat9 :-/ > > -- > Best wishes, > > DWL-Deutsche Webleasing oHG > Daniel Holze > Technical Director > Hanauer Landstrasse 320 > D-60314 Frankfurt > > Telefon: +49 (0)69 403 57 990 > Telefax: +49 (0)69 403 57 991 > > http://www.dwleasing.de > mailto:[EMAIL PROTECTED] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
On Fri, 2 Jan 2004, Peter Billson wrote: > Daniel, > Debain works fine on Dells. A couple tips assuming you are installing > from the Woody CD: > 1) Use the BF24 boot option so that you are installing a 2.4 kernel and > not the default 2.2 kernel I had anoter problem on a poweredge600: The driver for on board NIC were present only from 2.4.20 onward so i had to drop a 3c905 (attention: there beasts accept only 3.3 V cards !) to upgrade immediately the kernel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
* Daniel Holze wrote: > Anyone know, if i can Debian on an Dell-Server? Dell says olny > RedHat9 :-/ Of course, it's both Linux. Norbert
Re: Debian on a Dell-Server???
Daniel, Debain works fine on Dells. A couple tips assuming you are installing from the Woody CD: 1) Use the BF24 boot option so that you are installing a 2.4 kernel and not the default 2.2 kernel 2) You may run into problems with your RAID array due to a chicken/egg problem with the driver. There is a perfect "how-to" at http://lists.us.dell.com/pipermail/linux-poweredge/2002-September/003971.html to work around the problem. The how-to says you can do it on the system during install but I have found it is *much* easier to make the driver floppy on another system first. 3) There is more info on Matt Domsch's page at http://domsch.com/linux Pete -- http://www.elbnet.com ELB Internet Service, Inc. Web Design, Computer Consulting, Internet Hosting Daniel Holze wrote: > > Hello debian-isp, > > Anyone know, if i can Debian on an Dell-Server? > Dell says olny RedHat9 :-/ > > -- > Best wishes, > > DWL-Deutsche Webleasing oHG > Daniel Holze > Technical Director > Hanauer Landstrasse 320 > D-60314 Frankfurt > > Telefon: +49 (0)69 403 57 990 > Telefax: +49 (0)69 403 57 991 > > http://www.dwleasing.de > mailto:[EMAIL PROTECTED] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
On Fri, Jan 02, 2004 at 06:40:35PM +, Steve Kemp wrote: > > On Fri, Jan 02, 2004 at 07:36:44PM +0100, Daniel Holze wrote: > > > Anyone know, if i can Debian on an Dell-Server? > > Dell says olny RedHat9 :-/ > > I have several big Dell boxes which came pre-installed with RedHat > and were immediately wiped and replaced with Debian. > > (I can find a list of model numbers when I'm back in the office next > week if that's useful) > > But to be honest if the hardware is supported under RedHat that > demonstrates that the Kernel can recognise the hardware, unless > there are extra drivers with RedHat. If the hardware is recognised > (RAID controllers, SCSI tape devices, etc) you should be able to switch > from one distribution to another pretty much without effort. > > (Assuming they run comparible numbered kernels). > > Steve > -- Dell offers a pre install OS collection witch only contains RH9 when it comes to linux. It's not a mandatory to run RH9, and it's even possible to get a clean box without an OS. There will be, however, no support for the OS. And I agree with Steve. You will find hardly any issues whitch could make you stumble during the setup. This goes for almost any configuration that dell has to offer. Extensive documentation is provided by Dell, and it isn't half bad. Cheers, -- -- Mark Lijftogt [EMAIL PROTECTED] All questions regarding ximba.nl must be adressed to [EMAIL PROTECTED] - Alle vragen betreffende ximba.nl kunt u richten aan [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
http://trilldev.sourceforge.net/files/remotedeb.html http://www.hadrons.org/~guillem/docs/redhat-debianize.txt On Jan 2, 2004, at 12:36 PM, Daniel Holze wrote: Hello debian-isp, Anyone know, if i can Debian on an Dell-Server? Dell says olny RedHat9 :-/ -- Best wishes, DWL-Deutsche Webleasing oHG Daniel Holze Technical Director Hanauer Landstrasse 320 D-60314 Frankfurt Telefon: +49 (0)69 403 57 990 Telefax: +49 (0)69 403 57 991 http://www.dwleasing.de mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Debian on a Dell-Server???
Hello Daniel Debian runs excellent on at least Dell PowerEdge 2400 Regards Ido -Oorspronkelijk bericht- Van: Daniel Holze [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 2 januari 2004 19:37 Aan: debian-isp mailing list Onderwerp: Debian on a Dell-Server??? Hello debian-isp, Anyone know, if i can Debian on an Dell-Server? Dell says olny RedHat9 :-/ -- Best wishes, DWL-Deutsche Webleasing oHG Daniel Holze Technical Director Hanauer Landstrasse 320 D-60314 Frankfurt Telefon: +49 (0)69 403 57 990 Telefax: +49 (0)69 403 57 991 http://www.dwleasing.de mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
On Fri, Jan 02, 2004 at 07:36:44PM +0100, Daniel Holze wrote: > Anyone know, if i can Debian on an Dell-Server? > Dell says olny RedHat9 :-/ I have several big Dell boxes which came pre-installed with RedHat and were immediately wiped and replaced with Debian. (I can find a list of model numbers when I'm back in the office next week if that's useful) But to be honest if the hardware is supported under RedHat that demonstrates that the Kernel can recognise the hardware, unless there are extra drivers with RedHat. If the hardware is recognised (RAID controllers, SCSI tape devices, etc) you should be able to switch from one distribution to another pretty much without effort. (Assuming they run comparible numbered kernels). Steve --
Debian on a Dell-Server???
Hello debian-isp, Anyone know, if i can Debian on an Dell-Server? Dell says olny RedHat9 :-/ -- Best wishes, DWL-Deutsche Webleasing oHG Daniel Holze Technical Director Hanauer Landstrasse 320 D-60314 Frankfurt Telefon: +49 (0)69 403 57 990 Telefax: +49 (0)69 403 57 991 http://www.dwleasing.de mailto:[EMAIL PROTECTED]
Re: Debian on a Dell-Server???
* Daniel Holze wrote: > Anyone know, if i can Debian on an Dell-Server? Dell says olny > RedHat9 :-/ Of course, it's both Linux. Norbert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
On Fri, Jan 02, 2004 at 06:40:35PM +, Steve Kemp wrote: > > On Fri, Jan 02, 2004 at 07:36:44PM +0100, Daniel Holze wrote: > > > Anyone know, if i can Debian on an Dell-Server? > > Dell says olny RedHat9 :-/ > > I have several big Dell boxes which came pre-installed with RedHat > and were immediately wiped and replaced with Debian. > > (I can find a list of model numbers when I'm back in the office next > week if that's useful) > > But to be honest if the hardware is supported under RedHat that > demonstrates that the Kernel can recognise the hardware, unless > there are extra drivers with RedHat. If the hardware is recognised > (RAID controllers, SCSI tape devices, etc) you should be able to switch > from one distribution to another pretty much without effort. > > (Assuming they run comparible numbered kernels). > > Steve > -- Dell offers a pre install OS collection witch only contains RH9 when it comes to linux. It's not a mandatory to run RH9, and it's even possible to get a clean box without an OS. There will be, however, no support for the OS. And I agree with Steve. You will find hardly any issues whitch could make you stumble during the setup. This goes for almost any configuration that dell has to offer. Extensive documentation is provided by Dell, and it isn't half bad. Cheers, -- -- Mark Lijftogt [EMAIL PROTECTED] All questions regarding ximba.nl must be adressed to [EMAIL PROTECTED] - Alle vragen betreffende ximba.nl kunt u richten aan [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
http://trilldev.sourceforge.net/files/remotedeb.html http://www.hadrons.org/~guillem/docs/redhat-debianize.txt On Jan 2, 2004, at 12:36 PM, Daniel Holze wrote: Hello debian-isp, Anyone know, if i can Debian on an Dell-Server? Dell says olny RedHat9 :-/ -- Best wishes, DWL-Deutsche Webleasing oHG Daniel Holze Technical Director Hanauer Landstrasse 320 D-60314 Frankfurt Telefon: +49 (0)69 403 57 990 Telefax: +49 (0)69 403 57 991 http://www.dwleasing.de mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Debian on a Dell-Server???
Hello Daniel Debian runs excellent on at least Dell PowerEdge 2400 Regards Ido -Oorspronkelijk bericht- Van: Daniel Holze [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 2 januari 2004 19:37 Aan: debian-isp mailing list Onderwerp: Debian on a Dell-Server??? Hello debian-isp, Anyone know, if i can Debian on an Dell-Server? Dell says olny RedHat9 :-/ -- Best wishes, DWL-Deutsche Webleasing oHG Daniel Holze Technical Director Hanauer Landstrasse 320 D-60314 Frankfurt Telefon: +49 (0)69 403 57 990 Telefax: +49 (0)69 403 57 991 http://www.dwleasing.de mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian on a Dell-Server???
On Fri, Jan 02, 2004 at 07:36:44PM +0100, Daniel Holze wrote: > Anyone know, if i can Debian on an Dell-Server? > Dell says olny RedHat9 :-/ I have several big Dell boxes which came pre-installed with RedHat and were immediately wiped and replaced with Debian. (I can find a list of model numbers when I'm back in the office next week if that's useful) But to be honest if the hardware is supported under RedHat that demonstrates that the Kernel can recognise the hardware, unless there are extra drivers with RedHat. If the hardware is recognised (RAID controllers, SCSI tape devices, etc) you should be able to switch from one distribution to another pretty much without effort. (Assuming they run comparible numbered kernels). Steve -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian on a Dell-Server???
Hello debian-isp, Anyone know, if i can Debian on an Dell-Server? Dell says olny RedHat9 :-/ -- Best wishes, DWL-Deutsche Webleasing oHG Daniel Holze Technical Director Hanauer Landstrasse 320 D-60314 Frankfurt Telefon: +49 (0)69 403 57 990 Telefax: +49 (0)69 403 57 991 http://www.dwleasing.de mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]