Re: counter spam - was Re: reading from .forward

2002-05-25 Thread Tim Musson
Hey Harry, My MUA believes you used (X-Mailer not set) to write the following on Friday, May 24, 2002 at 10:07:46 PM. >> For spam or bad address, I let my procmailrc return EXITCODE=67. >> That causes Sendmail or Postfix to bounce the message hard. HJ> Correct me if I am wrong (I have no doubt

Re: counter spam - was Re: reading from .forward

2002-05-24 Thread Harry Jackson
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote: > > For spam or bad address, I let my procmailrc return EXITCODE=67. > That causes Sendmail or Postfix to bounce the message hard. Correct me if I am wrong (I have no doubt you will). I am never that sure of the relative merits of sending bo

Re: counter spam - was Re: reading from .forward

2002-05-24 Thread Randal L. Schwartz
> "Jonathan" == Jonathan e paton <[EMAIL PROTECTED]> writes: Jonathan> You shouldn't give a message at all, silence is golden. The Jonathan> mailserver has to indicate error status, I suppose you could Jonathan> try getting the .forward script to barf on spam - perhaps Jonathan> returning so

Re: counter spam - was Re: reading from .forward

2002-05-24 Thread Jonathan E. Paton
> d> while() { > d> # grovel through the email message > d> # get what you want out of it > d> # also should note any spam sent this way to > d> # counter spam them so as to prevent webCrawlers > d> # and s

counter spam - was Re: reading from .forward

2002-05-24 Thread Tim Musson
d> while() { d> # grovel through the email message d> # get what you want out of it d> # also should note any spam sent this way to d> # counter spam them so as to prevent webCrawlers d> # and spamBots from

Re: reading from .forward

2002-05-23 Thread drieux
On Thursday, May 23, 2002, at 02:04 , lz wrote: [..] > Here is what in my perl file. .forward is the same: > > #!/usr/bin/perl > open LOG, ">/home/lz/perl/logfile" or die "Can't > create logfile: $!"; > > print LOG "test"; > > When the mail is sent, the file is not generared... > When I execute t

Re: reading from .forward

2002-05-23 Thread David T-G
Leon -- ...and then lz said... % % Here is what in my mail.log file: doesn't seem like an % error! Hmmm... Don't bet on it. % % May 23 17:36:26 machineName sendmail[5104]: RAA05102: % forward /home/lz/.forward: World writable directory I haven't had to hack sendmail in a while, but I bet i

Re: reading from .forward

2002-05-23 Thread lz
Here is what in my mail.log file: doesn't seem like an error! May 23 17:36:26 machineName sendmail[5104]: RAA05102: forward /home/lz/.forward: World writable directory May 23 17:36:26 fpk-app5 sendmail[5104]: RAA05102: [EMAIL PROTECTED], ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer

Re: reading from .forward

2002-05-23 Thread David T-G
Leon -- ...and then lz said... % % Hey, Hi! % % thanks for the help. Right now, I don't really care % about performace/DOS, I just want to make sure, if the % mail is sent to that account, my perl script will be Heh. The most temporary of code has a way of hanging around... % executed. I

Re: reading from .forward

2002-05-23 Thread lz
Hey, thanks for the help. Right now, I don't really care about performace/DOS, I just want to make sure, if the mail is sent to that account, my perl script will be executed. It still doesn't seem to work: Here is what in my perl file. .forward is the same: #!/usr/bin/perl open LOG, ">/home/lz/

Re: reading from .forward

2002-05-23 Thread drieux
On Thursday, May 23, 2002, at 11:51 , lz wrote: > Hi guys, > > sorry for the influx of messages. Here is what I have > in my .forward file > |/home/lz/perl/checkRelation.pl phase one good - the .forward file seems correct > Here is what in my perl file: > #!/usr/bin/perl > while() > { > ope

Re: reading from .forward

2002-05-23 Thread lz
Hi guys, sorry for the influx of messages. Here is what I have in my .forward file |/home/lz/perl/checkRelation.pl Here is what in my perl file: #!/usr/bin/perl while() { open LOG ">/home/lz/perl/logfile" or die "Can't create logfile: $!"; } For some reason, when I send email to the ac

Re: reading from .forward

2002-05-23 Thread Jonathan E. Paton
> Can someone please tell me, how can I read the input > send to perl from the .forward file? You *may not* want to do this, as a perl intepreter will be launched for EACH and EVERY email that is received. This could destroy system performance if you receive a lot of email, but I guess you don't

Re: reading from .forward

2002-05-23 Thread David T-G
Leon -- ...and then lz said... % % Hi David, Hi again. % % Thank you for your reply. Sure thing! % % I am still a little confused: % % The message that will be forwarded will contain a % value I am looking for, e.g. EMAIL_ADDRESS. How can I % specify, to look for the email address? Ah.

Re: reading from .forward

2002-05-23 Thread lz
Hi David, Thank you for your reply. I am still a little confused: The message that will be forwarded will contain a value I am looking for, e.g. EMAIL_ADDRESS. How can I specify, to look for the email address? Thanks again! leon --- David T-G <[EMAIL PROTECTED]> wrote: > Leon -- > > ...and th

Re: reading from .forward

2002-05-23 Thread drieux
On Thursday, May 23, 2002, at 11:00 , Leon Zilber wrote: > Hi guys, hi PerKin... [..] > > Can someone please tell me, how can I read the input > send to perl from the .forward file? you might start with man forward " Commands |command If the first character of the ad

Re: reading from .forward

2002-05-23 Thread David T-G
Leon -- ...and then Leon Zilber said... % % Hi guys, Hello! % ... % perlAccount, which will have .forward file. % ..forward will redirect all requests to the perl ... % Can someone please tell me, how can I read the input % send to perl from the .forward file? Just the same as echo "hel