Postfix unable to pass messages to amavis ( Can't connect to INET4 socket

via amavis-users amavis-users at
Fri May 16 00:46:01 CEST 2014

I have been trying to get postfix to work with amavis but have been
unable. No matter what I have tried I can't get past the following error:
[snip] Can't connect to INET4 socket

I can successfully run telnet 10024 and amavis answers. I have
been trying to have amavis listen on instead thinking that might
be the problem since the default localhost address on the machine is

Nothing else in the logs to indicate a problem.

I initially installed using the directions here:

Does anyone know how I can further troubleshoot this?

postconf -n follows:

alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases
append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes
config_directory = /etc/postfix home_mailbox = Maildir/ inet_interfaces =
all inet_protocols = all mailbox_command = mailbox_size_limit = 0
mydestination =,, , localhost myhostname = mynetworks = [::ffff:]/104 [::1]/128
myorigin = /etc/mailname readme_directory = no recipient_delimiter = +
relayhost = smtp_tls_note_starttls_offer = yes smtp_tls_security_level =
may smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions =
smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous smtpd_tls_CAfile =
/etc/ssl/certs/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file =
/etc/ssl/certs/smtpd.crt smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes
smtpd_tls_security_level = may smtpd_tls_session_cache_database =
btree:${data_directory}/smtpd_scache smtpd_tls_session_cache_timeout =
3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom

hostname --fdqn =

Any help would be appreciated.

More information about the amavis-users mailing list