-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Donnachie wrote:
>> so .. what about sendmail+dspam+cyrus ?
> That's exactly that I use - when I'm back on site, I'll send you a copy of 
> my config.

In sendmail.mc I have...

FEATURE(`preserve_local_plus_detail')dnl
define(`LUSER_RELAY', `error:nouser User unknown')dnl
MAILER(local)dnl

MAILER_DEFINITIONS
## New mailer specs
Mlocal,         P=/usr/local/bin/dspam, F=1ulsDFMnPqAh5@/:|,
U=cyrus:mail, S=EnvFromL, R=EnvToL/HdrToL, T=DNS/DNS/RFC822/X-Unix,
A=dspam --deliver=innocent --user $u -e -m $h -- $u


dspam uses LMTP delivery and contains the following:

DeliveryHost        /var/imap/socket/lmtp
DeliveryPort        24
DeliveryIdent       localhost
DeliveryProto       LMTP
EnablePlusedDetail      on

Cyrus is set to accept messages over lmtp and cyrus.conf contains:

  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0


Alternatively, you could just as easily set dspam to use deliver -
however, it wouldn't initially work properly for me so I opted for LMTP
delivery instead.

Hope this helps!

Take care,

Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBQ+KHvegNmph0Y1E2AQIiXg//bBljLzSNdZcYSikpPjvhQkmlBwT47g0y
RvyLKOwZOU5ysln90kav7K/7tjmkiUG0EJQm72Lrol36PCfIcemHDO+TrhbewlXP
4HkoJ6E8d8VhGvncI/eMXWiGlQOkiRvMzKJJ3uNMvvwxeAGlO5Zu3+04MLrUAw7q
EUPiY5wy97Ecu/gX1p6QBzHsr1bMQA9qrSDHfiMk8uzjV9oceP1in8jgzD9RagF4
IqqN4f3e3MdefVDuZFa9OGtjfk3V2y0GoxwEyxbJETY1RYVzId6TGIwlFqdJJ0YC
e/2yVO3Wmrm1wj9TDn4QIYn6ILbu/poArxggVgF9Jda+TG7L1/e36gBMtfE86HuR
wcx860pa6YByEDs0/vS1urCTShxKck/uuXC28f9sWzGYk4RxlTS7kEOMxwKV4c7X
/RA/Z1RgeI1cdbmCi65wNhrO/qkC7SKOQdKP6H6KHn7L4bF8d4P6DSbT0Pif7xhA
u5rHCQ9yUmusxABgFdJakDAz9Npt54qbQulbpIVfoEv1fOfopL0QTW9wUu5UAbhQ
PDlxs7MgrX7jgIDzLzCmuh9JNoZh848QkW3tTk0iJ4YRDmPq8J9KiP0paEW+5ccq
xxSy4sK50wj/IA/jrsCXSM2ftFO5+OQGnE3CIOCDCGahrXbi7BHKUKEMpOD5VeGQ
kCCL2HeAskI=
=YsWh
-----END PGP SIGNATURE-----
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to