Try
dspam unix - n n - 10 pipe
flags=Ru user=dspam argv=/usr/local/bin/dspam --deliver=innocent
--user ${recipient} -i -f ${sender} -- ${recipient}
dali
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owner-dspam-
> [EMAIL PROTECTED] On Behalf Of Simon
> Sent: Tuesday, 25 March 2008 14:34
> To: [email protected]
> Subject: [dspam-users] Assistance with Postfix pipe config
>
> Hi There,
>
> We are upgrading our mail filter server from Sarge to Etch and also
> migrating to new HW. I have installed everything as per our manual and
> also installed the latest dspam, however we are getting an error with
> the pipe command. Can someone take a look at what i have setup for me?
>
> This is the pipe command in the master.cf file:
>
> dspam unix - n n - 10 pipe
> flags=Ru user=dspam argv=/usr/local/bin/dspam --deliver=innocent
> --user ${recipient} -i -f $sender -- $recipient
>
> This is the error we get:
>
> Mar 15 18:26:07 mail-in1 postfix/pipe[13372]: 0BDD148286:
> to=<[EMAIL PROTECTED]>, relay=dspam, delay=0.09,
> delays=0.05/0.01/0/0.03, dsn=5.3.0, status=bounced (Command died with
> status 255: "/usr/local/bin/dspam". Command output: sh: - : invalid
> option Usage: sh [GNU l
> ong option] [option] ... sh [GNU long option] [option] script-file
> ... GNU long options: --debug --debugger --dump-po-strings
> --dump-strings --help --init-file --login --noediting --noprofile
> --norc --posix --protected --rcfile --restricted --verbose --v
> ersion --wordexp Shell options: -irsD or -c command or -O
> shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option
> 13485: [03/15/2008 18:26:07] Delivery agent returned exit code 2: -i
> -f [EMAIL PROTECTED] -- [EMAIL PROTECTED] )
>
> Any assistance would be very welcome
>
> Simon