Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
*** Well it looks like your script is being run - what should your script do? *** Heck, it's so simple I can list it here: --- #!/usr/bin/perl while ($inputline = STDIN) { $inputline =~ s/18 Dec 2002/29 Dec 2013/; print STDOUT $inputline; } --- The s/// stuff is just to

RE: Getting Perl scripts to work as mail filters

2002-12-18 Thread Barry Byrne
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mxsmanic *** Well it looks like your script is being run - what should your script do? *** Heck, it's so simple I can list it here: #!/usr/bin/perl while ($inputline = STDIN) {

Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Ken McGlothlen
Mxsmanic [EMAIL PROTECTED] writes: | What do I have to do to make a simple Perl script filter incoming mail for a | mailbox? I wrote a script that just reads standard input and writes it to | standard output, then put it in my home directory, then changes | /etc/mail/aliases to point to it, like

Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mark
- Original Message - From: Mxsmanic [EMAIL PROTECTED] To: Barry Byrne [EMAIL PROTECTED]; FreeBSD Questions [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 7:19 PM Subject: Re: Getting Perl scripts to work as mail filters Heck, it's so simple I can list it here: --- #!/usr/bin

Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mxsmanic
(?). Right? Can't I just leave all the headers intact otherwise? - Original Message - From: Mark [EMAIL PROTECTED] To: Mxsmanic [EMAIL PROTECTED]; Barry Byrne [EMAIL PROTECTED]; FreeBSD Questions [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 23:50 Subject: Re: Getting Perl scripts to work

Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Jeff Jirsa
On Thu, 19 Dec 2002, Mxsmanic wrote: What about appending directly to the mailbox file under /var/mail/$USER with the script? It looks like the format of the file is very simple. Why wouldn't that work? I've tried writing to it, but I can't, at least not when the script runs from the

Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Mark
- Original Message - From: Mxsmanic [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED]; Barry Byrne [EMAIL PROTECTED]; FreeBSD Questions [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 1:13 AM Subject: Re: Getting Perl scripts to work as mail filters What about appending directly

Re: Getting Perl scripts to work as mail filters

2002-12-18 Thread Ken McGlothlen
Mxsmanic [EMAIL PROTECTED] writes: | What about appending directly to the mailbox file under /var/mail/$USER with | the script? I'd recommend against that. Using the sendmail interface is just as easy programmatically as appending it to /var/mail/whatever, plus you don't run into any messy

Setting Host Parameters with /stand/sysinstall Scripts

2002-11-19 Thread Martin McCormick
I am building an install.cfg script to standardize our building and upgrading of servers. It works quite well so far, but one part seems to not take. This is the setting of local host parameters as in # My host specific data hostname=ns1.hardknocks.edu domainname=hardknocks.edu

Re: list scripts, permissions, and ownerships.

2002-11-14 Thread Greg Panula
certain permissions, and it appears to be 644 in my freebsd box- hope that's correct, but it works fine. And the ownership is root, and that works fine. well, apache in the box is nobody:wheel and runs scripts as such. I have the scripts owned nobody:wheel also. They run, but it cannot access

unexpected in sh scripts after upg to 4.7

2002-11-13 Thread Toomas Aas
Hello! Given the latest security advisory about 'resolv', I decided to upgrade my FreeBSD 4.6.1-RELEASE-p10 server to 4.7-RELEASE-p1 via the usual cvsup and buildworld magic. Everything else seems to have gone fine, but to my surprise after upgrading two of the ports using scripts in /usr

Re: unexpected in sh scripts after upg to 4.7

2002-11-13 Thread Jonathan Chen
surprise after upgrading two of the ports using scripts in /usr/local/etc/rc.d to start didn't. One of them is MySQL server. It is started via /usr/local/etc/rc.d/mysql-server.sh script, which looks like this: --- #!/bin/sh

Re: unexpected in sh scripts after upg to 4.7

2002-11-13 Thread Jack L. Stone
. Everything else seems to have gone fine, but to my surprise after upgrading two of the ports using scripts in /usr/local/etc/rc.d to start didn't. One of them is MySQL server. It is started via /usr/local/etc/rc.d/mysql-server.sh script, which looks like

UPDATE: configure scripts failing in ports looking for libXext

2002-10-26 Thread Michael E Mercer
Hello peoples, After looking at the config.log file, the problem seems to be a missing -L/usr/X11R6/lib from the compile line when it is testing for Xext. I noticed it is in other compile lines preceding the Xext test but not there for Xext. Where is the actual problem here? I have never tried

Re: UPDATE: configure scripts failing in ports looking for libXext

2002-10-26 Thread Kent Stewart
Michael E Mercer wrote: Hello peoples, After looking at the config.log file, the problem seems to be a missing -L/usr/X11R6/lib from the compile line when it is testing for Xext. I noticed it is in other compile lines preceding the Xext test but not there for Xext. Where is the actual

Re: RESEND: configure scripts failing in ports looking for libXext

2002-10-25 Thread Kent Stewart
Michael E Mercer wrote: Sorry if this is a repeat, got a response that this email was not allowed... I subscribed to freebsd-questions and now resent this... later Michael Hello, Has anyone came across this error and know how to fix it? It always occured on my machines when I mixed bag

Re: RESEND: configure scripts failing in ports looking for libXext

2002-10-25 Thread Michael E Mercer
Kent, Thanks for that info however I completely removes all ports on this last upgrade. I cvsup'd all source and ports... I have been running KDE3 and XFree86-4 for a very long time now with no problems. This problem here just started 2 days ago when I rebuilt everything. Any more suggestions?

Re: Scripts

2002-10-21 Thread Jerry McAllister
- From: Mike Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 20, 2002 9:04 AM Subject: Scripts I was wondering if there is a resource for pre made scripts. I am still very new to the whole of Unix style OSs and being able to see scripts from other users would

Re: Scripts

2002-10-21 Thread paulbeard
- Original Message - From: Mike Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 20, 2002 9:04 AM Subject: Scripts I was wondering if there is a resource for pre made scripts. I am still very new to the whole of Unix style OSs and being able to see scripts from

Re: Backup Scripts

2002-07-25 Thread Michelle Weeks
The below script that I was having problems with is working for me now thanks to Steve's suggestion; however when I changed the script to do a Level 1 tar archive, I get the following output after tar_verify: Level-1 Backup END Level-1 Backup Verify Wed Jul 24 15:38:47 PDT 2002 tar: echo not

Re: Backup Scripts

2002-07-23 Thread Tim
Do you have #!/bin/sh as the first line in all your scripts? and are they in a directory in your path? If they are not, you must run them as follows: ./script_name Hope this helps, Tim On Tuesday 23 July 2002 10:43 pm, Michelle Weeks wrote: I am new to scripting and am trying to use

Re: Backup Scripts

2002-07-23 Thread Michelle Weeks
Yes, I do have #!/bin/sh as the first line in the backup.sh script. Before running the script, I cd to the directory the script is in and then run: ./backup.sh On Tuesday, July 23, 2002, at 08:48 PM, Tim wrote: Do you have #!/bin/sh as the first line in all your scripts

Re: Backup Scripts

2002-07-23 Thread Steve Wingate
2002 Error: Level-backup.sh unknown Since I am new at this, I am probably missing something very obvious. I would greatly appreciate any help or advice as to where I can find more info. on creating backup scripts for FreeBSD. Here is the script I am using: # Variables EMAILTO=backup DESTFILE

<    1   2   3   4   5   6