On Thu, 06 May 2010 18:16:01 +0300 Stas Sușcov <s...@nerd.ro> wrote:
> Hi, > we were using DSPAM and Postfix for about a year and now we would like > to connect the rest of our MX servers to it. > We got dspam on the main mailserver and we would like to connect a > secondary server to it, so I set dspam to listen to a port, changed > master.cf to use that new port, in short the setup is pretty much the > same I documented here: > https://help.ubuntu.com/community/Postfix/Dspam > > The problem is with the secondary server in master.cf, where I mush tell > Postfix on what port to listen for content from dspam. How do I teach > dspam to respond to the same ip from what it received a new submission? > Secondary server Postfix, receives no response from submitted entries. > > I found this: > `If you would like to set up DeliveryHost's on a per-domain basis, use > the syntax: DeliveryHost.domain.com 1.2.3.4` > > What's the use-case of such a directive in dspam.conf? > Is this part from the README not clear? =============================== LMTP (AND SMTP) DELIVERY DSPAM supports LMTP delivery for admins who would prefer to use this instead of local delivery. While LMTP delivery doesn't _require_ operating in daemon mode, it is necessary to compile DSPAM with --enable-daemon to take advantage of LMTP delivery. To configure LMTP delivery, perform the following steps: 1. Compile DSPAM with --enable-daemon to enable LMTP delivery code 2. Configure your DeliveryHost and DeliveryIdent in dspam.conf. Set DeliveryProto based on whether you would like to delivery via LMTP or SMTP. NOTE: If you would like to delivery to different hosts based on domain, specify DeliveryHost.domain.com as the configuration directive 3. Add the --lmtp-recipient flag to the arguments passed into DSPAM. This is used to specify the destination address for the message. For example, in postfix: --lmtp-recipient=${recipient} DSPAM will then connect to the specified host, and deliver using a standard LMTP looking like: LHLO [ident] MAIL FROM:<> SIZE=[message_length] RCPT TO: <recipient> DATA [Message] . =============================== > Thanks in advance. > > -- > () Campania Panglicii în ASCII > /\ http://www.asciiribbon.org/ > > > ------------------------------------------------------------------------------ > _______________________________________________ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-user ------------------------------------------------------------------------------ _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user