-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/21/2014 5:32 PM, nobody73 wrote: > Sorry for the debug logs but i think the reason why of my > "UNKNOWN" issue is beacause connecting from abroad the hosted > smtpd server there is no match in $mynetworks statement as you > can see
No, the "after UNKNOWN from" means postfix received something other than an SMTP command. > >> match_hostname: mylaptop.client ~? 11.22.11.22/32 >> match_hostaddr: mylaptop.client ~? 11.22.11.22/32 >> match_hostname: mylaptop.client ~? 127.0.0.0/8 >> match_hostaddr: mylaptop.client ~? 127.0.0.0/8 >> match_hostname: mylaptop.client ~? [::ffff:127.0.0.0]/104 >> match_hostaddr: mylaptop.client ~? [::ffff:127.0.0.0]/104 >> match_hostname: mylaptop.client ~? [::1]/128 match_hostaddr: >> mylaptop.client [::1]/128 match_list_match: mylaptop.client: >> no match match_list_match: mylaptop.client: no match send >> attr request = disconnect > > and normal logs say: > >> lost connection after UNKNOWN from mylaptop.client[1.2.3.4] Postfix is reporting an unknown command here. The usual cause is the client trying to use the deprecated smtps/SSL connection, although I suppose the client can send garbage for other reasons. > > Postfix is working as expected from a passwordless client > connection. In past i maneged to get posfix working from > passwordless clients without being offcourse a spam relay .It > was long time ago and i lost and forgotten the details of > that. > > The lost connection after UNKNOWN happens even from an > authenticated connection by the way and saslauthd works: > >> testsaslauthd -u user -p p4ssw0rd 0: OK "Success." Great, your sasl backend works. If the client authenticated through postfix, that would be logged. Since it's not logged, it's not happening. You might try testing with telnet rather than your misconfigured client. -- Noel Jones -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTza8UAAoJEJGRUHb5Oh6gdtQIAMHBwtBpM5bXMTfM9DyXzAt4 u0Nr3hbI00Q740tKf+pUHf+xCGMDK0d3CHtHCbTNhMckPtDIt+yDy2CavMs+GETc HuEcvi6D1UtBCs0qKVOZYLFOHzZ5Jen/dgZEl4JbdhaMw+EdvaRbUZ8Gm0OnFnJd L+zjFUiWKheSaaG3z0/a8Ey6fMcCzqobUOCKvjSQFyw0RVHkg0T2maP7+ZDIcUct BREkhn0QivBtsXdASzfO6+VVuOOiT5gU6JtbxxdO8n4F/Kn4EW2pdFxSjaN7DWk5 I282SDQJzhsbIyhBlxcOztsZqUDoe36JztlGL/fbLNW9XZzoywoynvsaKKZH/FM= =aqye -----END PGP SIGNATURE-----