cron to attach a gz file

2008-01-31 Thread Zbigniew Szalbot
Hello, I know I can use mail -s "logfile " < /var/log/httpd_access.log in cron to email the content of a log file to a particular email address but how do I make that log file a binary attachment (*.gz)? Also, is it possible to actually transfer the log file by ftp using cron? If so, would anyo

Re: cron to attach a gz file

2008-01-31 Thread Peter Boosten
Zbigniew Szalbot wrote: Hello, I know I can use mail -s "logfile " < /var/log/httpd_access.log in cron to email the content of a log file to a particular email address but how do I make that log file a binary attachment (*.gz)? gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz

Re: OT: Downloading file by sending email

2008-01-31 Thread Eduardo Morras
At 06:30 30/01/2008, you wrote: Hi, An off-topic question. I run FreeBSD 6.2/i386 with Postfix and Maildrop (for filtering and delivery). I want to setup a service such that sending a mail to say "[EMAIL PROTECTED]" with a list of links per line results in my machine downloading the files a

Re: OT: Downloading file by sending email

2008-01-31 Thread Rakhesh Sasidharan
Olivier Nicole wrote: A second thought... I want to setup a service such that sending a mail to say "[EMAIL PROTECTED]" with a list of links per line results in my machine downloading the files at these links replying with all these files attached. So you have any direct connection to the ma

Can I run ntpd in a jail?

2008-01-31 Thread Rudy
Will this work? /usr/sbin/jail /var/chroot/ntp ntp.monkeybrains.net 10.10.10.10 \ /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid Can ntpd update the system clock from within a jail? Here is the layout of my jail # find /var/chroot/ntp/ /var/chroot/ntp/ /var/chroot/ntp/lib /var/chroot/n

Re: Future development of Jail

2008-01-31 Thread Rudy
Karl Triebes wrote: I would like to see per-jail quotas such as the ones Andy mentions, and would like to hear if anyone would be interested in doing it for the right price. You may contact me via this list or in private. Per-jail quotas are Trivial you use zfs... You can even resize a zfs mou

Re: Future development of Jail

2008-01-31 Thread Wojciech Puchar
Per-jail quotas are Trivial you use zfs... You can even resize a zfs mount 'on the fly'. Here is the command to resize a jail to 100GB of space:: # zfs set quota=100G tank/jails/myNeatoWebsite but then zfs is compulsory ___ freebsd-questio

Re: Automatic `nodump' flag?

2008-01-31 Thread Dag-Erling Smørgrav
Kirk McKusick <[EMAIL PROTECTED]> writes: > You would think I would remember code that I wrote (though in my > defense it was written over 20 years ago :-) hey, I can't even remember code that I wrote 20 days ago, much less 20 years, so I won't be the one to cast the first stone :) DES -- Dag-Er

Re: Automatic `nodump' flag?

2008-01-31 Thread Wojciech Puchar
Kirk McKusick <[EMAIL PROTECTED]> writes: You would think I would remember code that I wrote (though in my defense it was written over 20 years ago :-) hey, I can't even remember code that I wrote 20 days ago, much less 20 years, so I won't be the one to cast the first stone :) it's not that b

Re: Future development of Jail

2008-01-31 Thread shinny knight
Rudy <[EMAIL PROTECTED]> wrote: Karl Triebes wrote: > I would like to see per-jail quotas such as the ones Andy mentions, > and would like to hear if anyone would be interested in doing it for > the right price. You may contact me via this list or in private. Per-jail quotas are Trivial you use

Apache Error Authentication (Nagios)

2008-01-31 Thread David Alanis
Good Day: First and foremost, I would like to thank everyone for providing a fantastic mailing list. Today I happen to need assistance from you all. What is happening is I installed apache and nagios on my firewall. However, when I go to login to nagios I get the username and password pro

Re: Apache Error Authentication (Nagios)

2008-01-31 Thread Alex Zbyslaw
David Alanis wrote: Good Day: First and foremost, I would like to thank everyone for providing a fantastic mailing list. Today I happen to need assistance from you all. What is happening is I installed apache and nagios on my firewall. However, when I go to login to nagios I get the usern

Re: acrobat reader (7 or 8) on 7.0-RC1

2008-01-31 Thread Vince Hoffman
Boris Samorodov wrote: > On Wed, 30 Jan 2008 20:25:47 + Vince Hoffman wrote: > >> Has anyone else had any issues getting this working? my laptop >> runs acrobat reader7 fine while my desktop doesnt like it at all (see >> error below.) I am using compat.linux.osrelease=2.6.16 and >> linux_

C interpreters

2008-01-31 Thread Jim Stapleton
Does anyone have a recommendation on C interpreters? I want to do some development in C, but I would also like to have the ability of playing with an interactive command line a-la python, as it eases the "playing" process of figuring out what I am doing. There are a few options in the ports tree a

Re: C interpreters

2008-01-31 Thread Heiko Wundram (Beenic)
Am Donnerstag, 31. Januar 2008 14:48:15 schrieb Jim Stapleton: > as a secondary (probably stupid) question: how hard is it to write a > library in C++ and allow C programs to use it? To write a library in C++ to which C programs have access, you'll have to write a set of wrapper functions for eve

Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload

2008-01-31 Thread Kemian Dang
Glen Barber 写道: On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: I have a laptop which using the broadcom wireless card. I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko file, then I kldload it as the doc said. I can see ndis,if_ndis and bcmwl using kldstat, but

Re: Password file migration help

2008-01-31 Thread Kemian Dang
Sean Murphy 写道: I have a FreeBSD 5.4 system and would like to migrate users in the password file with UIDs 3000 through 5000 to a FreeBSD 6.3 system on a running on a separate box. Is there a way to export just those users? Thanks ___ freebsd-questio

915resolution on HP Compaq

2008-01-31 Thread Mike Barnard
Hi, I have an HP Compaq 6720s laptop. I am trying to get X to display at 1280x800 screen reolution. I first set it up using xorgconfig, but i failed to start X. I got an error saying intel: No matching device section for instance (BUS ID PCI:0:2:1) found GARTInt Unable to open /dev/agpgart (No s

Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload

2008-01-31 Thread Vince Hoffman
Kemian Dang wrote: > Glen Barber 写道: >> On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: >> >> >>> I have a laptop which using the broadcom wireless card. >>> I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko >>> file, then I kldload it as the doc said. >>> I can see

Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload

2008-01-31 Thread Kemian Dang
Vince Hoffman 写道: Kemian Dang wrote: Glen Barber 写道: On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: I have a laptop which using the broadcom wireless card. I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko file, then I kldload it as the doc said

ls sees disk but mount_ntfs doesn't

2008-01-31 Thread Chris Whitehouse
Hi, I'm trying to get some data off a laptop. The disk is buried inside somewhere so to avoid dismantling the laptop I am trying to mount it using a FreeBSD livefs cd (7.0RC1). Note all the commands and output below are typed up by hand but I think they are accurate. Fixit# ls -l /dev/ad0s

Re: 915resolution on HP Compaq

2008-01-31 Thread Doug Poland
Mike Barnard wrote: Hi, I have an HP Compaq 6720s laptop. I am trying to get X to display at 1280x800 screen reolution. I first set it up using xorgconfig, but i failed to start X. I got an error saying intel: No matching device section for instance (BUS ID PCI:0:2:1) found GARTInt Unable to o

Re: Apache Error Authentication (Nagios)

2008-01-31 Thread Alex Zbyslaw
David Alanis wrote: However, when I go to login to nagios I get the username and password prompt but I am unable to login I apologize for the very long e-mail). I did some research online but found nothing too much helpful. Thank you in advanced! #Error Message from httpd-errors [Wed

Re: C interpreters

2008-01-31 Thread Jim Stapleton
Thanks, and that'll make shared (.so) libraries just fine? Well, that was certainly a relief. That very much describes the C interface I made already. I'm working on a alternate ports listing system, and I wanted to use something that I didn't mind programming in /and/ I knew should be available o

Re: Starting X: Intel GM965/GL960

2008-01-31 Thread Frank Shute
On Wed, Jan 30, 2008 at 09:42:48PM +, Siraj Shaikh wrote: > > > Frank > > I have added DefaultColorDepth 24 to it as you said, but still havent > changed the keyboard settings (mine is a UK keyboard according to > sysintall). I have posted the contents of Xorg.0.log in reply to an > earlier

Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload

2008-01-31 Thread Vince Hoffman
Kemian Dang wrote: > Vince Hoffman 写道: >> Kemian Dang wrote: >> >>> Glen Barber 写道: >>> On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: > I have a laptop which using the broadcom wireless card. > I download the bcmwl5a.inf/.sys and use ndisgen t

Re: 915resolution on HP Compaq

2008-01-31 Thread Doug Poland
Mike Barnard wrote: On 1/31/08, Doug Poland <[EMAIL PROTECTED]> wrote: Mike Barnard wrote: Hi, I have an HP Compaq 6720s laptop. I am trying to get X to display at 1280x800 screen reolution. I first set it up using xorgconfig, but i failed to start X. I got an error saying intel: No matching

Re: 915resolution on HP Compaq

2008-01-31 Thread Mike Barnard
darn... there we go again, i forgot to give the version i am running. I have FreeBSD 6.3-STABLE, xorg 7.3_1 and yes with the x11-drivers/xf86-video-intel port installed. I fell back to 915resolution since this intel driver failed. I was hoping to get some joy with 915resolution, but realised that

Can't mount iPod Nano 3rd Gen on 6.3

2008-01-31 Thread Rob Messick
I have an iPod Nano 3rd Gen with 1.1 firmware (Don't start, it was free) that I am trying to mount on my 6.3 i386 workstation. Is there anybody who has been able to get one of these to work or anyone who might have some pointers. When I attempt to mount it with mount_msdosfs, I get the follow

Re: Can't mount iPod Nano 3rd Gen on 6.3

2008-01-31 Thread Alphons "Fonz" van Werven
Rob Messick wrote: When I plug it in: umass0: Apple Inc. iPod, rev 2.00/0.01, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 7583MB (1941441 4096 byte sectors: 255H 63S/T 120C) I have another MP3 player, not an Ipod. Bu

http://mirrorlist.freebsd.org/ not updated?

2008-01-31 Thread Chris Whitehouse
Hi, http://mirrorlist.freebsd.org/ doesn't include UK in the list of countries. Should it or was it something we said? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, se

Re: ls sees disk but mount_ntfs doesn't

2008-01-31 Thread Chris Whitehouse
Chris Whitehouse wrote: Hi, I'm trying to get some data off a laptop. The disk is buried inside somewhere so to avoid dismantling the laptop I am trying to mount it using a FreeBSD livefs cd (7.0RC1). Note all the commands and output below are typed up by hand but I think they are accurate.

Re: ls sees disk but mount_ntfs doesn't

2008-01-31 Thread Mark Moellering
On Thursday 31 January 2008 9:59 am, Chris Whitehouse wrote: > Hi, > > I'm trying to get some data off a laptop. The disk is buried inside > somewhere so to avoid dismantling the laptop I am trying to mount it > using a FreeBSD livefs cd (7.0RC1). > > Note all the commands and output below are type

Re: http://mirrorlist.freebsd.org/ not updated?

2008-01-31 Thread David Alanis
Quoting Chris Whitehouse <[EMAIL PROTECTED]>: Hi, http://mirrorlist.freebsd.org/ doesn't include UK in the list of countries. Should it or was it something we said? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Can't mount iPod Nano 3rd Gen on 6.3

2008-01-31 Thread Pietro Cerutti
Alphons "Fonz" van Werven wrote: > Rob Messick wrote: > >> When I plug it in: >> >> umass0: Apple Inc. iPod, rev 2.00/0.01, addr 2 >> da0 at umass-sim0 bus 0 target 0 lun 0 >> da0: Removable Direct Access SCSI-0 device >> da0: 40.000MB/s transfers >> da0: 7583MB (1941441 4096 byte sectors: 255H 6

Re: http://mirrorlist.freebsd.org/ not updated?

2008-01-31 Thread Chris Whitehouse
David Alanis wrote: Quoting Chris Whitehouse <[EMAIL PROTECTED]>: Hi, http://mirrorlist.freebsd.org/ doesn't include UK in the list of countries. Should it or was it something we said? Chris ___ freebsd-questions@freebsd.org mailing list http://list

Re: ls sees disk but mount_ntfs doesn't

2008-01-31 Thread Chris Whitehouse
Mark Moellering wrote: On Thursday 31 January 2008 9:59 am, Chris Whitehouse wrote: Hi, I'm trying to get some data off a laptop. The disk is buried inside somewhere so to avoid dismantling the laptop I am trying to mount it using a FreeBSD livefs cd (7.0RC1). Note all the commands and output

Hardware detection

2008-01-31 Thread Darryl Hoar
Greetings, This question is sort of related to an earlier question I asked. Installed 6.3-release on a new Dell PowerEdge SC 1435, and am trying to see if the drives are recognized as SATA. Looked at dmesg, but am unsure of how Freebsd would identify a SATA drive. Wouldn't Freebsd fail to instal

Re: Hardware detection

2008-01-31 Thread Wojciech Puchar
Looked at dmesg, but am unsure of how Freebsd would identify a SATA drive. it says it's sata like that: ad10: 305244MB at ata5-master SATA300 ad12: 305245MB at ata6-master SATA300 ad14: 305245MB at ata7-master SATA300 ad18: 476940MB at ata9-master SATA300 ad20: 476940MB at ata10-master SAT

RE: Hardware detection

2008-01-31 Thread Darryl Hoar
> Looked at dmesg, but am unsure of how Freebsd would > identify a SATA drive. >> it says it's sata like that: >> ad10: 305244MB at ata5-master SATA300 >> ad12: 305245MB at ata6-master SATA300 >> ad14: 305245MB at ata7-master SATA300 >> ad18: 476940MB at ata9-master SATA300 >> ad20: 476940M

Re: Hardware detection

2008-01-31 Thread Erik Trulsson
On Thu, Jan 31, 2008 at 01:48:00PM -0600, Darryl Hoar wrote: > > > > Looked at dmesg, but am unsure of how Freebsd would > > identify a SATA drive. > > >> it says it's sata like that: > > >> ad10: 305244MB at ata5-master SATA300 > >> ad12: 305245MB at ata6-master SATA300 > >> ad14: 305245MB

WPA and EAP-TTLS oddity

2008-01-31 Thread William Bulley
*=*=*=*=*=*=*= rlm_eap_ttls: Session established. Proceeding to decode tunneled attributes. Processing the authorize section of radiusd.conf modcall: entering group authorize for request 5 modcall[authorize]: module "preprocess" returns ok for request 5 radius_xlat: '/var/log

Re: acrobat reader (7 or 8) on 7.0-RC1

2008-01-31 Thread Boris Samorodov
On Thu, 31 Jan 2008 13:47:48 + Vince Hoffman wrote: > Boris Samorodov wrote: > > On Wed, 30 Jan 2008 20:25:47 + Vince Hoffman wrote: > > > >>Has anyone else had any issues getting this working? my laptop > >> runs acrobat reader7 fine while my desktop doesnt like it at all (see > >> er

Spamassassin: Fill /var/log/maillog

2008-01-31 Thread Martin Schweizer
Hello I get allways the following message in /var/log/maillog: Jan 31 17:21:36 acsvfbsd02 spamd[53289]: spamd: connection from localhost.sample.ch [127.0.0.1] at port 64026 Jan 31 17:21:36 acsvfbsd02 spamd[53289]: spamd: setuid to root succeeded Jan 31 17:21:36 acsvfbsd02 spamd[53289]: spamd: s

RE: Hardware detection

2008-01-31 Thread Wojciech Puchar
Exactly my problem. It says ad4: DMA limited to UDMA33, device found non-ATA66 cable ad4: 152587MB at ata2-master UDMA33 ad6: DMA limited to UDMA33, device found non-ATA66 cable ad6: 152587MB at ata3-master UDMA33 Weird. What would cause this ?? try changing SATA mode in BIOS (whatever it'

Re: Hardware detection

2008-01-31 Thread Wojciech Puchar
That is usually what happens when the disk controller is one that FreeBSD does not have support for, so it treats the controller as a "Generic" ATA controller. Should normally work fine albeit with somewhat suboptimal performance. (And even though it says UDMA33 a SATA controller should still wo

Re: Oops

2008-01-31 Thread Wojciech Puchar
am setting up gmirror and screwed up my fstab. When rebooting, it complains until I tell it the root device: ufs:/dev/mirror/gm0s1a add vfs.root.mountfrom="ufs:mirror/gm0s1a" to /boot/loader.conf it boots up and dumps me into single user. When I try to change /etc/fstab, it tells me that

RE: Oops

2008-01-31 Thread Darryl Hoar
> am setting up gmirror and screwed up my fstab. When rebooting, > it complains until I tell it the root device: > ufs:/dev/mirror/gm0s1a >>add >>vfs.root.mountfrom="ufs:mirror/gm0s1a" >>to /boot/loader.conf How do I do that when / is automatically being mounted read only ? > > it boots up a

Oops

2008-01-31 Thread Darryl Hoar
Greetings, am setting up gmirror and screwed up my fstab. When rebooting, it complains until I tell it the root device: ufs:/dev/mirror/gm0s1a it boots up and dumps me into single user. When I try to change /etc/fstab, it tells me that the parition is mounted read only. How can I get things so

Re: Oops

2008-01-31 Thread Lowell Gilbert
"Darryl Hoar" <[EMAIL PROTECTED]> writes: > Greetings, > am setting up gmirror and screwed up my fstab. When rebooting, > it complains until I tell it the root device: > ufs:/dev/mirror/gm0s1a > > it boots up and dumps me into single user. When I try to change > /etc/fstab, it tells me that the

RE: Oops

2008-01-31 Thread Darryl Hoar
"Darryl Hoar" <[EMAIL PROTECTED]> writes: > Greetings, > am setting up gmirror and screwed up my fstab. When rebooting, > it complains until I tell it the root device: > ufs:/dev/mirror/gm0s1a > > it boots up and dumps me into single user. When I try to change > /etc/fstab, it tells me that the

Re: Password file migration help

2008-01-31 Thread Mel
On Wednesday 30 January 2008 20:26:20 Vince wrote: > Sean Murphy wrote: > > I have a FreeBSD 5.4 system and would like to migrate users in the > > password file with UIDs 3000 through 5000 to a FreeBSD 6.3 system on a > > running on a separate box. Is there a way to export just those users? > > hm

Re: Oops

2008-01-31 Thread Dan Nelson
In the last episode (Jan 31), Darryl Hoar said: > > it boots up and dumps me into single user. When I try to change > > /etc/fstab, it tells me that the parition is mounted read only. > > > >>do > >> > >>mount -uw /dev/gm0s1a / > >> > >>and then edit > > how can I mount / again when its already m

Re: Oops

2008-01-31 Thread E. J. Cerejo
Darryl Hoar wrote: am setting up gmirror and screwed up my fstab. When rebooting, it complains until I tell it the root device: ufs:/dev/mirror/gm0s1a add vfs.root.mountfrom="ufs:mirror/gm0s1a" to /boot/loader.conf How do I do that when / is automatically being mounted read only ? i

RE: Oops

2008-01-31 Thread Wojciech Puchar
do mount -uw /dev/gm0s1a / how can I mount / again when its already mounted ? When I said single reread my mail - i told you /sbin/mount -uw /dev/gm0s1a / yes- i missed /sbin/. sorry. ___ freebsd-questions@freebsd.org mailing list http://list

Re: Oops

2008-01-31 Thread Wojciech Puchar
ufs:mirror/gm0s1a fsck -p / mount / last won't work with fstab not having right entry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

CVSup update or upgrade

2008-01-31 Thread Allen
Hello, I've been reading over my library of FreeBSD books, which I may add is impressive due to me buying EVERY book available on Freebsdmall and also buying the PowerPak to make sure my Library is complete, and also I've been reading the freebsd.org docs because I'm working on getting an upgrade

Re: Display / Screen resolution question on IBM TP 1171

2008-01-31 Thread Angel Heaven
After 2 days of persistent trying and no answer from this mailing list, I actually figured out a way myself! So I'll share it here in case someone else has the same problem. The problem is that xorg.conf generated by "X -configure" actually makes the laptop's pointing device(trackball) stop working

slightly OT. php5 breaks my hit-count....

2008-01-31 Thread Gary Kline
guys, i need some help from any of you who is current with php5. in '05 i wrote myown hit counter in php4 using the "." operator to write statements like: $dir="countdir/"; $filename= $file; if (! (file_exists( ( $dir.$filename) ))) {

Re: CVSup update or upgrade

2008-01-31 Thread Chris
On Thu, 31 Jan 2008 18:47:12 -0500 Allen <[EMAIL PROTECTED]> wrote: > Hello, > > I've been reading over my library of FreeBSD books, which I may add is > impressive due to me buying EVERY book available on Freebsdmall and > also buying the PowerPak to make sure my Library is complete, and > also

Re: CVSup update or upgrade

2008-01-31 Thread Chris
On Fri, 1 Feb 2008 02:21:42 + (UTC) Jona Joachim <[EMAIL PROTECTED]> wrote: > On 2008-02-01, Chris <[EMAIL PROTECTED]> wrote: > > On Thu, 31 Jan 2008 18:47:12 -0500 > > Allen <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >> > >> I've been reading over my library of FreeBSD books, which I may >

Re: C interpreters

2008-01-31 Thread Gary Kline
On Thu, Jan 31, 2008 at 10:12:35AM -0500, Jim Stapleton wrote: > Thanks, and that'll make shared (.so) libraries just fine? > > Well, that was certainly a relief. That very much describes the C > interface I made already. I'm working on a alternate ports listing > system, and I wanted to use somet

Re: CVSup update or upgrade

2008-01-31 Thread Jona Joachim
On 2008-02-01, Chris <[EMAIL PROTECTED]> wrote: > On Thu, 31 Jan 2008 18:47:12 -0500 > Allen <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> I've been reading over my library of FreeBSD books, which I may add is >> impressive due to me buying EVERY book available on Freebsdmall and >> also buying the

RE: SATA question

2008-01-31 Thread Ted Mittelstaedt
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar > Sent: Tuesday, January 29, 2008 6:59 AM > To: freebsd-questions@freebsd.org > Subject: SATA question > > > Well, > maybe I spoke to soon. While looking at dmesg in prep for doing > a cust

Re: slightly OT. php5 breaks my hit-count....

2008-01-31 Thread Jeremy Johnston
Hi Gary, I just tested this exact code on php 5.2.5 and I didn't receive any error. For further help with this you are welcome to email me privately as this is more of a php code problem :) Gary Kline wrote: guys, i need some help from any of you who is current with php5.

Re: cron to attach a gz file

2008-01-31 Thread perryh
> > I know I can use > > > > mail -s "logfile " < /var/log/httpd_access.log > > > > in cron to email the content of a log file to a particular email > > address but how do I make that log file a binary attachment (*.gz)? > > gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail

Re: cron to attach a gz file

2008-01-31 Thread Peter Boosten
[EMAIL PROTECTED] wrote: I know I can use mail -s "logfile " < /var/log/httpd_access.log in cron to email the content of a log file to a particular email address but how do I make that log file a binary attachment (*.gz)? gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail