Re: smtpd_client_restrictions break connection immediately after connect

2008-10-16 Thread Bill Cole
ram wrote: On one of my servers I have put in main.cf smtpd_client_restrictions = permit_mynetworks,reject Because I want only my internal servers to use this machine as a relay. This works as expected , but when connections come from outside mynetworks the Error comes only after "RCPT TO:"

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Victor Duchovni
On Tue, Oct 14, 2008 at 07:43:07PM +0400, Nikita Kipriyanov wrote: > Victor Duchovni ??: > >Consider setting a null-mx record for the system's > >host name: > > > > ahost.example.com IN MX 0 . > > > > > As I understand things, it simply forces a 'fallback to A record', like >

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
Victor Duchovni пишет: Consider setting a null-mx record for the system's host name: ahost.example.com IN MX 0 . As I understand things, it simply forces a 'fallback to A record', like when there is no MX records... Can you please explain, why this is needed?

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Victor Duchovni
On Tue, Oct 14, 2008 at 12:13:39PM +0400, Nikita Kipriyanov wrote: > Yes, you can. See http://www.postfix.org/postconf.5.html#smtpd_delay_reject > It is on by default, so postfix delays reject until RCPT TO; if you turn > off that parameter, it will reject immediatly. But, not all mail > software

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
http://www.postfix.org/postconf.5.html#smtpd_delay_reject more to say, even better is to block external connections with firewall

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
ram пишет: On one of my servers I have put in main.cf smtpd_client_restrictions = permit_mynetworks,reject Because I want only my internal servers to use this machine as a relay. This works as expected , but when connections come from outside mynetworks the Error comes only after "RCPT TO:"