at 01:13:17AM +0100, 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 aliases
I can't find an answer to this question anywhere, after two hours of
searching the Web:
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
I can't find an answer to this question anywhere, after two hours of
searching the Web:
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
I can't find an answer to this question anywhere, after two hours of
searching the Web:
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
'Are you sure there is no error - did you check the sendmail log?'
Yup. maillog mentions the message being sent, but indicates no error.
'You will need to ensure the script is listed in your sm.bin directory (man
smrsh).'
I thought smrsh was not enabled by default (?). Also, if it couldn't
/home/mymail/mailman, ctladdr=mymail (1/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=30039, dsn=2.0.0, stat=Sent
So it does say mailer=prog, which means what?
- Original Message -
From: Barry Byrne [EMAIL PROTECTED]
To: Mxsmanic [EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED
*** 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
(?). 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
Is there a utility like top for network traffic specifically, something that
would let me see the volume of traffic going over network connections on a
second-by-second basis on the console (text mode only)? It's mainly to see
how much of a load a new Web site is generating.
To Unsubscribe: send