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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

/dev/null Maillists
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

------------------------------------------------------------------------------
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
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user