On Mon, Jan 15, 2007 at 11:45:07AM -0500, Tom Allison wrote:

> Let me start with the error:
> 
> status=deferred (connect to mydomainnamehere.com[/tmp/dspam.sock]: No
> such file or directory)
> 
> And then go to my configuration for postfix:
> 
> 127.0.0.1:10021 inet n   -       n      -       5      smtpd
>   -o content_filter=lmtp:unix:/tmp/dspam.sock
> 
> And lastly the configuration for dspam.
> 
> ServerDomainSocketPath  "/tmp/dspam.sock"

Many distributions set up postfix's smtpd listeners in a chroot
environment, in which case the root ("/") directory for the smtpd is
probably something like /var/spool/postfix.

Solution is either to move the dspam socket to a location under the
smtpd's chroot path, or to make smtpd not run chrooted (which has
security implications, of course).

Your master.cf should have comments telling you which column
indicates that the process should run chrooted; I think it's the 4th
(the first - in yours, which means to use the default, which is
usually chrooted).

Reply via email to