Postfix and dspam

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Postfix and dspam

Antares
Hello!
I've been trying to find information about configuring dspam with postfix, but
after many hours I give up.
My master.cf looks like:
smtp      inet  n       -       -       -       -       smtpd
          -o content_filter=dspam
...

dovecot unix - n n - - pipe
        flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d
${recipient}

dspam   unix - n n - 10 pipe
        flags=DRhu user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user
${recipient} -i -f ${sender} --$recipient

I get this error:
dspam[]: Delivery agent returned exit code 64: /usr/lib/dovecot/deliver -i -f
[hidden email]  --[hidden email]

Does anyone have any clue about this?

Thank you.

--
Adrián Ribao Martínez

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Postfix and dspam

Victor Duchovni
On Fri, May 23, 2008 at 07:04:37PM +0200, Adri??n Ribao Mart??nez wrote:

> Hello!
> I've been trying to find information about configuring dspam with postfix, but
> after many hours I give up.
> My master.cf looks like:
> smtp      inet  n       -       -       -       -       smtpd
>           -o content_filter=dspam
> ...
>
> dovecot unix - n n - - pipe
> flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d
> ${recipient}
>
> dspam   unix - n n - 10 pipe
> flags=DRhu user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user
> ${recipient} -i -f ${sender} --$recipient

Do add the missing whitespace between "--" and ${recipient}. Also
make sure that "dpspam_destination_recipient_limit = 1" is present in
main.cf! This transport's command-line syntax does not support multiple
recipients.

> I get this error:
> dspam[]: Delivery agent returned exit code 64: /usr/lib/dovecot/deliver -i -f
> [hidden email]  --[hidden email]
>
> Does anyone have any clue about this?

This clearly points out the missing whitespace.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[hidden email]?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
Reply | Threaded
Open this post in threaded view
|

Re: Postfix and dspam

Antares
El Viernes, 23 de Mayo de 2008, Victor Duchovni escribió:

> On Fri, May 23, 2008 at 07:04:37PM +0200, Adri??n Ribao Mart??nez wrote:
> > Hello!
> > I've been trying to find information about configuring dspam with
> > postfix, but after many hours I give up.
> > My master.cf looks like:
> > smtp      inet  n       -       -       -       -       smtpd
> >           -o content_filter=dspam
> > ...
> >
> > dovecot unix - n n - - pipe
> > flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender}
> > -d ${recipient}
> >
> > dspam   unix - n n - 10 pipe
> > flags=DRhu user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user
> > ${recipient} -i -f ${sender} --$recipient
>
> Do add the missing whitespace between "--" and ${recipient}. Also
> make sure that "dpspam_destination_recipient_limit = 1" is present in
> main.cf! This transport's command-line syntax does not support multiple
> recipients.
>
> > I get this error:
> > dspam[]: Delivery agent returned exit code 64: /usr/lib/dovecot/deliver
> > -i -f [hidden email]  --[hidden email]
> >
> > Does anyone have any clue about this?
>
> This clearly points out the missing whitespace.
I corrected the missing whitespace, and I already had
dpspam_destination_recipient_limit = 1 in main.cf.

I think this is because deliver gets the wrong arguments.


--
Adrián Ribao Martínez

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Postfix and dspam

mouss-2
In reply to this post by Antares
Adrián Ribao Martínez wrote:
> Hello!
> I've been trying to find information about configuring dspam with postfix, but
> after many hours I give up.
>  

you can try "gateway" mode:

http://dspamwiki.expass.de/Installation/Postfix/RelayStepByStep
http://dspam.nuclearelephant.com/text/relay-howto.txt

> [snip].
>
>