Steve wrote:
-------- Original-Nachricht --------
Datum: Fri, 15 Feb 2008 01:46:20 +0800
Von: Peter Santiago <[EMAIL PROTECTED]>
An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
CC: [email protected]
Betreff: Re: [dspam-users] Postfix and Dspam

[EMAIL PROTECTED] wrote:
mouss schrieb:
Disable _all_ chroots from all services and try again (restart postfix to be sure).
otherwise, use TCP instead of unix sockets.
No help. The system is not running. Now I going with dspam a another
way.
http://dspamwiki.expass.de/Installation/Postfix/DspamWithIspConfig

Now I have in the Log:

<code>
Feb 14 09:26:40 silviosiefke postfix/pipe[21056]: 7EB7F6DC075:
to=<[EMAIL PROTECTED]>, relay=dspam, delay=65,
delays=64/0.06/0/0.14, dsn=5.3.0, status=bounced (Command died with
status 1: "/usr/local/bin/dspam". Command output: 21057: [02/14/2008
09:26:39] No training mode was specified 21057: [02/14/2008 09:26:39]
DSPAM agent misconfigured: aborting )
</code>


Can help?


Greetings
Silvio Siefke
www.silviosiefke.de


best option here is to configure postfix to send email to dspam via lmtp then back to postfix via another port (sandwich configuration).
in postfix master.cf, and specify dspam as content filter.

dspam   unix    -       n       n       -       2       pipe
user=dspam argv=/usr/bin/dspamc --client --deliver=innocent,spam --user ${recipient} -i -f $sender -- $recipient

This is not LMTP delivery. This is using pipe. If you would use LMTP, then you 
could just add another -o option to your inbound transport aka:
  -o content_filter=lmtp:unix:/path/to/dspam.sock



whoops... my mistake... My bad... just came back home from work when I wrote that...

--
Peter Santiago         [EMAIL PROTECTED]
My website:            www.psinergybbs.com
My spamtrap address:   [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to