Vadtec a écrit :
> Hi,
> 
> I'm trying to setup a perl script to parse incoming e-mails to a given
> e-mail address that is aliased. Postfix 2.5.5 is running on Debian
> Linux. (Path names and file names changed where necessary.)
> 
> In /etc/aliases I have (for example): parse: |perl
> /path/to/my/perl/script/parse.pl
> 
> Its receiving the e-mail just fine, but I'm getting the following in a
> bounced reply:
> 
> <[EMAIL PROTECTED]>: Command died with status 9: "perl". Command output:
>    Number found where operator expected at - line 1, near "Oct 20"  (Do you
>    need to predeclare Oct?) Number found where operator expected at -
> line 1,
>    near "20 15"  (Missing operator before  15?) Number found where operator
>    expected at - line 1, near "03 2008"  (Missing operator before  2008?)
>    Semicolon seems to be missing at - line 1.
> 

you have an error in your perl script.

> [snipped to save space]
> 
> <[EMAIL PROTECTED]>: cannot append message to file
>    /path/to/my/perl/script/parse.pl: cannot open file:
>    Permission denied
> 

why would you append a message to a perl script?

> 
> However, I know the perms for the file are proper:
> 
> -rwxr-xr-x 1 mail mail 1223 Oct 20 12:27 parse.pl
> 
> 
> I've run postalias /etc/aliases, so I know that much is working. I just
> can't for the life of me figure out why it's bailing. And for some
> reason, I can't find sysexits.h to see if I can glean more info from
> there. Can anyone shed some light on why its bailing when the script is
> getting its input?
> 

instead of showing bounce messages, show postfix logs and configuration.


Reply via email to