Thank you very much Martin and Dave..
Turns out that I need $EXT2 for forwarding, and the name of my alias
files was incorrect as well, should have been .qmail-gpsmac-default for
just .qmail-gpsmac (I presume, I just used the -default)
One other thing. I want to create a quick perl script to print out all
the arguments and enviroment valiables that are appearent when
qmail-send sends the email. This would help me better understand qmail.
I've created a test email account: [EMAIL PROTECTED], but when I send my
email to there, it gets lost, and nothing comes out of my script. Here's
my .qmail-test file:
|preline /home/guice/tmp/test.pl
test.pl contains:
#!/usr/bin/perl
open (FLE, ">file.text");
foreach $key (keys %ENV )
{ print FLE "$key\t$ENV{$key}\n"; }
foreach (@ARGV)
{ print FLE $_ . "\n"; }
close (FLE);
exit (0);
Nothing gets sent to file.text... Any ideas? Or does anybody already
have a script that will do this for me that I can install. I just want
something simple, just enough so I can see everything avaliable when
qmail-send is invoked.
Thnx again..
Philip
BTW: tmp is set to 777 and test.pl is set to 755.
Dave Sill wrote:
>
> [EMAIL PROTECTED] wrote:
>
> >and in ~alias/.qmail-alias-gpsmac
> >&{$USER}@gpsmac.net
> >
> >Is this correct?
>
> Close. Try:
>
> |forward "$USER"@gpsmac.net
>
> >I was going to try and search the archive and locate it in there, but
> >I'm unable to get to the qmail site and thus unable to locate the link
> >to the qmail list archive.
>
> Bookmark LWQ for future reference. It's got pointers to the list
> archives.
>
> -Dave