On Thu, 2014-03-06 at 12:28 +0000, Alan Chandler wrote:
> No need - I figured out the problem. What happens on the system is that
> /run (symlinked to from /var/run) is owned by root and has permissions 755
>
> When run as a non root user it can't write the pid file and then
> silently exits.
>
> Can I tell the milter not to create the pid file and let start stop
> daemon do it instead?
> Alan
Can you run dspam as a content filter?
# ls -la /var/run/dspam
total 4
drwxr-xr-x 2 dspam root 60 Dec 11 16:58 .
drwxr-xr-x 12 root root 380 Mar 6 07:53 ..
-rw-rw---- 1 dspam dspam 4 Dec 11 16:58 dspam.pid
# ps -aef |grep dsp
dspam 237 1 0 2013 ? 00:07:37 /usr/bin/dspam --daemon
# head /etc/postfix/master.cf
smtp inet n - - - - smtpd
-o syslog_name=postfix25
-o content_filter=lmtp:unix:/dspam/dspam.sock
Rick Leir, Senior Developer
http://CirrusComputing.com/
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user