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

Noel Jones via amavis-users amavis-users at amavis.org
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 127.0.0.1
> 
> I can successfully run telnet 127.0.0.1 10024 and amavis answers. I have
> been trying to have amavis listen on 127.0.1.1 instead thinking that might
> be the problem since the default localhost address on the machine is
> 127.0.0.1.
> 
> 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:
> help.ubuntu.com/community/PostfixAmavisNew

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 master.cf 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 127.0.0.1:10024
- make sure you can telnet to the postfix reinjection port at
127.0.0.1:10025
- make sure your config matches what you intend, especially IP:port
settings.
- 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