how to increase the postfix performance

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

  1. geetha

    geetha New Member

    hi

    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

    Hi!

    Give us more info about your config.

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


    Peter
     
  3. geetha

    geetha New Member

    hi

    this is my configuration file

    Configuration file - /etc/postfix/main.cf, master.cf
    Log file - /var/log/maillog
    1. /etc/postfix/main.cf :
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    mail_owner = postfix
    myhostname = europa.treselle.com
    mydomain = treselle.com
    inet_interfaces = all
    mydestination = $myhostname, $mydomain, localhost.$mydomain,
    localhost, Treselle.com
    local_recipient_maps =
    unknown_local_recipient_reject_code = 450
    mynetworks = 127.0.0.1/32, 192.168.1.0/24
    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 = 127.0.0.1
    debugger_command =
    PATH=/usr/bin:/usr/X11R6/bin
    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 sbl.spamhaus.org,reject_rbl_client relays.ordb.org, reject_rbl_client blackholes.easynet.nl,reject_rbl_client dnsbl.njabl.org
    # 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
    smtpd_helo_required=yes
    # waste spammers time before rejecting them
    smtpd_delay_reject=yes
    disable_vrfy_command=yes

    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