[Mimedefang] 450 4.7.1 error using Postfix/MIMEDefang/milter-manager

Larry G. Wapnitsky lwapnitsky at wrtdesign.com
Wed Nov 9 10:25:46 EST 2011

I’m running PF 2.7.1 with milter-manager handling my milters.  I have MIMEDefang 
configured as one of the managed milters, but when I telnet to port 25 for 
testing, I receive the following:

root at mailproc:/etc/milter-manager# telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 mailproc.domain.com ESMTP Postfix (Debian/GNU)
helo test
250 mailproc.domain.com
mail from: root
451 4.7.1 Service unavailable - try again later
421 4.4.2 mailproc.domain.com Error: timeout exceeded
Connection closed by foreign host.
root at mailproc:/etc/milter-manager#

The only changes I’ve made to the default mimedefang configuration at 
/etc/default/mimedefang are:


And my milter-manager.local.conf has only one entry consisting of:

define_milter("mimedefang") do |milter|
  milter.description = "MIMEDefang"
  milter.connection_spec = "inet:10025 at localhost"
  milter.fallback_status = "accept"
  milter.enabled = true

I’ve added the following to master.cf:

scan      unix  -       -       n       -       10      smtp
        -o smtp_send_xforward_command=yes
        -o disable_mime_output_conversion=yes
        -o smtp_generic_maps=

And this to main.cf:

smtpd_milters = unix:/milter-manager/milter-manager.sock

milter_default_action = accept
milter_protocol = 6
milter_mail_macros = {auth_author} {auth_type} {auth_authen}

Any help would be greatly appreciated.  FYI – this is my first experience with 
milters, and I’ve read tons of documentation but haven’t been able to diagnose 
this yet.



More information about the MIMEDefang mailing list