On 10/29/2013 11:29 PM, /dev/rob0 wrote: > On Tue, Oct 29, 2013 at 10:21:06PM -0500, Andy Howell wrote: >> I'm trying to setup amavis. I can't connect from postfix on port >> 10025, configured as: >> >> localhost:10025 inet n - n - - smtpd -vv > > Make that 127.0.0.1:10025, and drop off the -vv > > snip >> -o mynetworks=127.0.0.0/8 > snip >> With verbose logging, I get: > > You didn't need it. All you need is in the Subject:. You used IPv6 > and connected to ::1 from ::1. Your mynetworks setting only covers > the IPv4 loopback range, 127.0.0.0/8. > > Tell amavisd to connect to 127.0.0.1:10025. >
Rob, I was using telnet on the host to test it out, ie telnet localhost 10025 That is resolving localhost to ::1. Doing: telnet 127.0.0.1 10025 works fine. I had the -vv in there because I didn't know why it was not connecting. In hindsight, the message says just what it means :) Thanks for your help, Andy