Ivan, > I have smtp-amavis in master.cf > smtp-amavis unix - - n - 10 smtp > -o smtp_data_done_timeout=1200 > -o smtp_send_xforward_command=yes > -o disable_dns_lookups=yes > -o max_use=20
The maxproc (=10) should match your $max_servers (or else smtp_connection_cache_on_demand should be disabled). > > Does it happen often? When it happens to one message, is it likely > > that it happens to other messages following it too? When this > > happens, are you able to telnet to 127.0.0.1 port 10025 and > > receive a greeting and some response to an 'EHLO foo' command? > > Is there any problem with (slow?) DNS resolving of '127.0.0.1' > > or 'localhost'? > > It's happens for 80% of all message. > When this happens, I able to telnet to 127.0.0.1 port 10025 and > receive a greeting and some response to an 'EHLO foo' command >> For insight into what is happening, a tcpdump of the failing session would >> be interesting (tcpdump -i lo0 -s 0 -w c.log 'tcp port 10025'), and/or >> a log at level 5, especially all the 'rw_loop' log entries and a few >> events before that, along with timestamps. Seeing that packet capture, a level 5 log, and a postfix log section of one such failed transaction would eliminate the guesswork. (you may mail it directly to me or make available at some pastebin, the mailing list strips attachments) > I have a problem with DNS: > When I run: > host 127.0.0.1 > I get answer very quikly: > 1.0.0.127.in-addr.arpa domain name pointer localhost.com.ua. > When I run: > host localhost.com.ua > I get answer after 20 second: > host localhost.com.ua > localhost.com.ua has address 127.0.0.1 > ;; connection timed out; no servers could be reached > ;; connection timed out; no servers could be reached That's probably alright, the com.ua is probably your two-level top-level domain and not your site's domain, so the query should probably be for localhost.yoursite.com.ua, as your domain is yoursite.com.ua, not com.ua . Mark ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/