On Mon, Nov 05, 2007 at 11:53:23AM +0200, Leon Kolchinsky wrote: > Should I disable the following restrictions, i.e. delete these lines to > improve fwd-connect timings? Is it safe to disable those? > -o smtpd_restriction_classes= > -o smtpd_client_restrictions= > -o smtpd_helo_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject
If you have restrictions in those areas, yes, you should delete them. I can't recall whether disable_dns_lookups=yes makes a difference on the receiving side (I'm not using it) but you might want to try it. Are you doing any address rewriting such as virtual aliases in your configuration? If so, ISTR you should explicitly set them off in the second SMTP receiver and also use a different instance of the cleanup process. At least in earlier Postfix this is where functions such as header_checks and body_checks, and virtual aliases got turned off, and that is how I've done it in my installation. (Perhaps this has been obsoleted and I didn't notice it.) -- Clifton >From my configuration: localhost:10026 inet n - n - - smtpd -o myhostname=localhost.domain.tld -o local_recipient_maps= -o virtual_maps= -o virtual_mailbox_maps= -o cleanup_service_name=cleanup2 -o mynetworks=127.0.0.0/8 -o mynetworks_style=host -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject # # This is the second cleanup daemon. ## This does different header_checks to clean up traces of output from ## SpamAssassin and Amavisd, and route messages based on the scorer results # cleanup2 unix n - n - 0 cleanup -o header_checks=pcre:/usr/local/etc/postfix/post-scorer-noquarantine.pcre -o mime_header_checks= -o nested_header_checks= -o body_checks= -- Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED] President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services ------------------------------------------------------------------------- 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/