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

Noel Jones via amavis-users amavis-users at
Fri May 16 02:38:51 CEST 2014

On 5/15/2014 5:46 PM, via amavis-users wrote:
> 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.

So what *is* in the logs?  Posting random snips doesn't help much.

> I initially installed using the directions here:

Showing your actual config rather than "sort of like this random web
page" would be more helpful.

> Does anyone know how I can further troubleshoot this?
> postconf -n follows:

What you posted is unreadable due to being all jumbled together.
And it doesn't show the modifications you made for amavis,
nor the changes you made to amavis config files.

Troubleshooting hints:
- make sure you can telnet to the amavis listener at
- make sure you can telnet to the postfix reinjection port at
- make sure your config matches what you intend, especially IP:port
- check the logs for clues about what's wrong.
- disable SELINUX or other security software
-  NOTE: verbose logs are *not* required, and will hide errors in a
flood of irrelevant data.

There are a lot of moving parts, but it's really not that
complicated. Check each part in turn.

If you need to ask for more help, share your setup and full unedited
NON-VERBOSE log messages.

  -- Noel Jones

More information about the amavis-users mailing list