how to increase the postfix performance

Discussion in 'Server Operation' started by geetha, May 31, 2007.

  1. geetha

    geetha New Member


    My postfix server works slowly. mails sending very slowly. mails are in the queue. it takes time to send out. how to improve the performance
  2. smali

    smali New Member


    Give us more info about your config.

    How fast is your Internet connection (Down/Up)?
    What is your hardware?

  3. geetha

    geetha New Member


    this is my configuration file

    Configuration file - /etc/postfix/,
    Log file - /var/log/maillog
    1. /etc/postfix/ :
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    mail_owner = postfix
    myhostname =
    mydomain =
    inet_interfaces = all
    mydestination = $myhostname, $mydomain, localhost.$mydomain,
    local_recipient_maps =
    unknown_local_recipient_reject_code = 450
    mynetworks =,
    relayhost =
    alias_maps = hash:/etc/postfix/aliases
    alias_database = hash:/etc/postfix/aliases
    smtpd_banner = $myhostname ESMTP $mail_name
    debug_peer_level = 2
    debug_peer_list =
    debugger_command =
    xxgdb $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = /usr/share/doc/postfix-2.1.1-documentation/html
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-1.1.12/samples

    # Requirements for the HELO statement
    smtpd_helo_restrictions=permit_mynetworks, warn_if_reject, reject_non_fqdn_hostname, reject_invalid_hostname,permit,
    # Requirements for the sender details
    smtpd_sender_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_sender,reject_unknown_sender_domain, reject_unauth_pipelining, permit
    # Requirements for the connecting server
    smtpd_client_restrictions = reject_rbl_client,reject_rbl_client, reject_rbl_client,reject_rbl_client
    # Requirement for the recipient address
    smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks,reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit_sasl_authticated, reject_invalid_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, check_client_access hash:$config_directory/access_client, check_sender_access hash:$config_directory/access_sender, permit

    # require proper helo at connections
    # waste spammers time before rejecting them

    System Hardward Detail:
    model name : Intel(R) Xeon(TM) CPU 3.00GHz
    RAM : 2 GB
    Hard disk : 60 GB

    Internet capability - 155Mbps
  4. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log?

Share This Page