Simon,

Your problem was not with postfix PIPE config, look:

dspam-3.8.0# sh --help
Usage:  sh [GNU long 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
        --version
        --wordexp
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option

This is your output..

Can you, please, send us the output of:

# whereis dspam

# dspam --version                       (without absolute path /...)

and

# /usr/local/bin/dspam --version

?


On Mar 27, 2008, at 11:37 PM, Simon wrote:
Hi There... A little update here:

On Wed, Mar 26, 2008 at 8:44 AM, Simon <[EMAIL PROTECTED]> wrote:
On Tue, Mar 25, 2008 at 3:23 PM, Dalibor Andzakovic
<[EMAIL PROTECTED]> wrote:
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

Hi dali, thanks for the reply!, tryed as you noted but no go. any
further pointers?

Mar 26 08:41:11 mail-in1 dspam[16220]: No such feature (this is new?)
...
...
Mar 26 08:41:15 mail-in1 dspam[16224]: Delivery agent returned exit
code 2: -i -f [EMAIL PROTECTED] -- [EMAIL PROTECTED]
Mar 26 08:41:15 mail-in1 postfix/pipe[16223]: 576A7481FB:
to=<[EMAIL PROTECTED]>, relay=dspam, delay=0.11,
delays=0.05/0.02/0/0.04, 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
16224: [03/26/2008 08:41:15] Delivery agent returned exit code 2: -i
-f [EMAIL PROTECTED] -- [EMAIL PROTECTED]  )


I just cant get this to work. Can any body assist with the config here?

Thanks!

Simon


--
Ítalo Rossi
Administração de redes
Diginet Brasil
[EMAIL PROTECTED]
(+55) 84 4008-9000


Esta mensagem, incluindo seus anexos, pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber
esta mensagem, não pode usar, copiar ou divulgar as informações nela
contidas ou tomar qualquer ação baseada nessas informações. Se você
recebeu esta mensagem por engano, por favor avise imediatamente o
remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua
cooperação.

This message, including its attachments, may contain confidential and/or
privileged information. If you are not the recipient or authorized person to receive this message, you must not use, copy, disclose or take any action based
on this message or any information herein. If you received this message
by mistake, please advise the sender immediately by replying the e- mail and
deleting this message. Thank you for your cooperation.




Reply via email to