postfix -[LMTP]-> dspam -[LMTP]-> dovecot

/dev/null Maillists <[email protected]> Fri, 29 Jan 2016 17:36:20 +0100
Newsgroups gmane.mail.spam.dspam.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============5039019694135510127==
Content-Type: multipart/alternative;
	boundary="------------040204010201070104050901"

This is a multi-part message in MIME format.
--------------040204010201070104050901
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi folks,

I guess everyone of you knows that BUT ...
I've got a lot of trouble last weeks to find the reason why my postfix 
is sending the mails via LMTP to dspam, and dspam is processing the 
mail, but then the mail is not forwarded via LMTP to dovecot.

To be honest, I think, that the documentation of dspam is not really good.

So finally I found the answer to my problem in the dspam.conf file so 
I'd like to share this information here on the list for reference and to 
be indexed by search engines.

additionally to setting up the

ServerDomainSocket or ServerHost
ServerIdent
ServerMode

and

DeliveryHost
....

One has also to setup the ServerParameters to something like:

   "--deliver=innocent -d %u"

See the config file documentation here

---SNIP---
# If supporting standard LMTP mode, server parameters will need to be 
specified
# here, as they will not be passed in by the mail server. The ServerIdent
# specifies the 250 response code ident sent back to connecting clients and
# should be set to the hostname of your server, or an alias.
#
# NOTE: If you specify --user in ServerParameters, the RCPT TO will be
#       used only for delivery, and not set as the active user for 
processing.
#
---SNIP---

I'm not quite sure at the moment if I should use only innocent or also 
spam, but this is another topic.

I hope this helps someone whos fooling around like me ...

---
/dev/null

--------------040204010201070104050901
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <font face=3D"Arial">Hi folks,<br>
      <br>
      I guess everyone of you knows that BUT ...<br>
      I've got a lot of trouble last weeks to find the reason why my
      postfix is sending the mails via LMTP to dspam, and dspam is
      processing the mail, but then the mail is not forwarded via LMTP
      to dovecot.<br>
      <br>
      To be honest, I think, that the documentation of dspam is not
      really good.<br>
      <br>
      So finally I found the answer to my problem in the dspam.conf file
      so I'd like to share this information here on the list for
      reference and to be indexed by search engines.<br>
      <br>
      additionally to setting up the <br>
      <br>
      ServerDomainSocket or ServerHost<br>
      ServerIdent<br>
      ServerMode<br>
      <br>
      and <br>
      <br>
      DeliveryHost<br>
      ....<br>
      <br>
      One has also to setup the ServerParameters to something like:<br>
      <br>
      =C2=A0 "--deliver=3Dinnocent -d %u"<br>
      <br>
      See the config file documentation here<br>
      <br>
      ---SNIP---<br>
      # If supporting standard LMTP mode, server parameters will need to
      be specified<br>
      # here, as they will not be passed in by the mail server. The
      ServerIdent<br>
      # specifies the 250 response code ident sent back to connecting
      clients and<br>
      # should be set to the hostname of your server, or an alias.<br>
      #<br>
      # NOTE: If you specify --user in ServerParameters, the RCPT TO
      will be<br>
      #=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 used only for delivery, and n=
ot set as the active user for
      processing.<br>
      #<br>
      ---SNIP---<br>
      <br>
      I'm not quite sure at the moment if I should use only innocent or
      also spam, but this is another topic.<br>
      <br>
      I hope this helps someone whos fooling around like me ...<br>
      <br>
      ---<br>
      /dev/null<br>
    </font>
  </body>
</html>

--------------040204010201070104050901--


--===============5039019694135510127==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
--===============5039019694135510127==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

--===============5039019694135510127==--