Le 12/12/2010 15:25, Philip A Colvin a écrit :
On 12/11/10 4:24 AM, mouss wrote:
Le 11/12/2010 05:02, Philip A Colvin a écrit :

I think I may be getting closer, but ran into a bit of problem. I have
put smtpd_milters = unix:/var/spool/MIMEDefang/mimedefang.sock in the
main.cf. Now I get this in the log and no mail goes through:

postfix/smtpd[2075]: warning: connect to Milter service
unix:/var/spool/MIMEDefang/mimedefang.sock: No such file or directory

I checked the permissions of the /var/spool/MIMEDefang directory and the
contents and they all have the user and group set to defang.

Any thoughts?


Is the socket there?
# ls -l /var/spool/MIMEDefang/mimedefang.sock
# file /var/spool/MIMEDefang/mimedefang.sock

maybe you have a chroot issue?
# grep smtpd master.cf

otherwise, check the permissions starting from the top:
# ls -l / |grep /var
# ls -l /var |grep spool
# ls -la /var/spool/MIMEDefang

do you have any "security thing" like SELinux, AppArmor, ...?
What system/distribution are you running?


Thanks again.

Phil Colvin


All,

Thank you for the responses. I won't get to work on this again until mid
week and will post again with the results.

I do see the socket there in /var/spool/MIMEDefang/mimedefang.sock.
However, the file is empty. Should this be the case. In the MIMEDefang
directory, there is also a mimedefang.pid, MIMEDefang-multiplexor.sock
and mimedefang-multiplexor.pid.

I did check for a chroot issue and did not find anything in the
master.cf that would set that.


well, you did not find, but we may do...
so please run the commands I posted, and show the output here.

I still need to verify the permissions and I do not have SELinux or
AppArmor running.

This is running on an Ubuntu 10.10 server.

so AppArmor is installed, right?
# dpkg -l |grep -i armor


Both Postfix and MIMEDefang
are installed from the Ubuntu packages.

Thank you.

Phil Colvin

Reply via email to