on 3/29/2007 2:02 PM Lance Cotton said the following:
on 3/29/2007 1:14 PM Dspam-Users said the following:
# --------------------------------------------------------------------
# Dspam stuff
# --------------------------------------------------------------------
smtp      inet  n       -       n       -       -       smtpd
    -o content_filter=lmtp:unix:/tmp/dspam.sock

Shouldn't it be "unix" instead of "inet"?

I'm also sorry for the bad advice. I didn't notice you had the top smtp commented out.

I run dspam in daemon mode through a unix socket and here's my relevant config parts:

/etc/postfix/master.cf:
smtp      inet  n       -       n       -       -       smtpd
dspam     unix  -       -       n       -       10      lmtp


/etc/postfix/main.cf:
content_filter = dspam:unix:/tmp/dspam.sock

The dspam master.cf entry just tells postfix that it talks lmtp to the unix socket. The content filter then says to use the transport named dspam and connect via unix socket /tmp/dspam.sock


-Lance





--
Lance Cotton
Conference Management Services
College Station, TX
+1-979-846-6800
[EMAIL PROTECTED]

Reply via email to