natan maciej milaszewski: > Hi > Sorry for to trivial e-mail and stupid question.I have a dedicated > bare-metal server. I need some tunig postfix to faster delivery (every > time i look in qshappe -it's good) > Amvis and dovecot is in the external server to. > > > virtual_transport = lmtp:inet:10.0.100.5:24 > > now i change: > lmtp_destination_concurrency_limit = 100 (default it was 20) > default_destination_concurrency_limit = 100 (default it was 20) > lmtp_destination_recipient_limit = 1 > > default_process_limit = 1200 (this machine is fast) > > and master.cf > smtp-amavis???? unix??? -?????? -?????? -?????? -?????? 60?????? smtp > > Is there any real soft for testing configuration performance? > I care about a smal queue and fast delivery to lmt (local dovcot-claster > with many dovecot nodes)
You need to measure your latencies. Fortunately, Postfix logs that information in great detail: The format of the "delays=a/b/c/d" logging is as follows: * a = time from message arrival to last active queue entry * b = time from last active queue entry to connection setup * c = time in connection setup, including DNS, EHLO and STARTTLS * d = time in message transmission Based on this you can make a more intelligent choice than maxing out process limits and concurrencies. To test performance, Posfix source code comes with smtp-source and smtp-sink utilities. To build: Download and unpack tarball from http://www.postfix.org/download.html $ make makefiles shared=no (don't bother with SASL, TLS and so on) $ make To send 10 messages over 1 SMTP session: $ cd src/smtpstone $ ./smtp-source -c -m 10 -s 1 \ -f sen...@example.com -t recipi...@example.com \ inet:host:port Review the manpage in html/smtp-source.1.html for more options. Wietse