Re: qmail, perl, and header rewrites

1999-03-26 Thread Efgé
Slightly unrelated (maybe), you should never use this while ($line = STDIN) but instead do while (defined($line = STDIN)) because one day you'll be bitten by STDIN returning a single "0" and you'll be dead. perl -w should warn you about this BTW. Florent

Re: qmail, perl, and header rewrites

1999-03-26 Thread Paul J. Schinder
On Fri, Mar 26, 1999 at 12:33:57AM -, Efgé wrote: } Slightly unrelated (maybe), you should never use this } while ($line = STDIN) } but instead do } while (defined($line = STDIN)) } because one day you'll be bitten by STDIN returning a single "0" } and you'll be dead. That's no

Re: qmail, perl, and header rewrites

1999-03-24 Thread Russ Allbery
Mahlon Smith [EMAIL PROTECTED] writes: perl script sucks it in, adds a header, and re-pipes it onward to qmail-inject at a different address. This parts works great. The problem: As soon as the message is replied to (using pretty much any MUA under the sun), the header mysteriously