Hello All, I'm installing a new mail server on Gentoo (moving from SLES9),
When I send some test mails I can see that most of processing time is spent on: SMTP DATA: 37 (34%)38 fwd-connect: 17 (15%)77 Is there a way to improve these timings or is it OK? Log snippet: ----------- Nov 4 11:24:14 mail2 amavis[9998]: (09998-04) TIMING [total 108 ms] - SMTP greeting: 2 (2%)2, SMTP EHLO: 0 (0%)2, SMTP pre-MAIL: 0 (0%)2, SMTP pre-DATA-flush: 2 (2%)4, SMTP DATA: 36 (33%)37, check_init: 1 (1%)38, digest_hdr: 0 (0%)38, digest_body: 0 (0%)38, gen_mail_id: 1 (1%)39, mime_decode: 10 (9%)47, get-file-type2: 8 (8%)55, decompose_part: 1 (1%)56, parts_decode: 0 (0%)56, AV-scan-1: 4 (4%)60, update_cache: 1 (1%)61, decide_mail_destiny: 1 (1%)61, fwd-connect: 17 (15%)77, fwd-mail-pip: 3 (2%)79, fwd-rcpt-pip: 0 (0%)79, fwd-data-chkpnt: 0 (0%)79, write-header: 1 (1%)80, fwd-data-contents: 0 (0%)80, fwd-end-chkpnt: 12 (11%)91, prepare-dsn: 1 (1%)91, main_log_entry: 7 (6%)98, update_snmp: 1 (1%)99, SMTP pre-response: 0 (0%)99, SMTP response: 0 (0%)99, unlink-2-files: 1 (1%)100, rundown: 0 (0%)100 Nov 4 11:24:14 mail2 postfix/smtpd[19527]: disconnect from leon.mydomain.com[192.168.41.33] Nov 4 11:24:15 mail2 postfix/smtp[19545]: 6AAC98D15: to=<[EMAIL PROTECTED]>, relay=mr3.domain.com[192.168.1.219]:25, delay=1.1, delays=0.01/0.01/0.1/0.95, dsn=2.0.0, status=sent (250 Ok: queued as AEA4B15E9D4) Nov 4 11:24:15 mail2 postfix/qmgr[19401]: 6AAC98D15: removed A snippet from master.cf: ------------------------- # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd -o receive_override_options=no_address_mappings smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o receive_override_options=no_address_mappings submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o receive_override_options=no_address_mappings smtp-amavis unix - - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks # postconf -n alias_maps = hash:/etc/mail/aliases broken_sasl_auth_clients = yes canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin command_time_limit = 3600s config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10026 daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no header_checks = regexp:/etc/postfix/header_checks html_directory = /usr/share/doc/postfix-2.3.6/html inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = lmtp:unix:/var/imap/socket/lmtp mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_exceptions = root message_size_limit = 10240000 mime_header_checks = pcre:/etc/postfix/body_checks mydestination = $myhostname, localhost.$mydomain, mysql:/etc/postfix/mysql-mydestination.cf mydomain = mail2.edu.haifa.ac.il myhostname = mail2.edu.haifa.ac.il mynetworks = 127.0.0.0/8, 192.168.40.0/23 newaliases_path = /usr/bin/newaliases owner_request_special = no queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.6/readme recipient_delimiter = + relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /etc/postfix sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client smtpd_data_restrictions = reject_unauth_pipelining smtpd_helo_required = yes smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access regexp:/etc/postfix/mailboxfull, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client safe.dnsbl.sorbs.net, reject_rbl_client list.dsbl.org, check_client_access hash:/etc/postfix/client_checks, check_sender_access regexp:/etc/postfix/filter-catchall.regexp, permit smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = check_client_access hash:/etc/postfix/reset_content_filter hash:/etc/postfix/access smtpd_tls_CAfile = /etc/ssl/certs/cert.pem smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/ssl/certs/cert.pem smtpd_tls_key_file = /etc/ssl/certs/cert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes strict_rfc821_envelopes = yes tls_random_source = dev:/dev/urandom transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql-virtual.cf Best Regards, Leon Kolchinsky ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.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/