####################################### # hewbert.com - postfix's main.cf # # Change accordingly. # # Explanation of options available in # # /bk/main.cf # ####################################### #soft_bounce = no command_directory = /usr/sbin daemon_directory = /usr/lib/postfix #default_privs = nobody myhostname = mail.hewbert.com #myhostname = virtual.domain.name # // SMTP AUTH STUFF // # #smtpd_sasl_auth_enable = yes #smtpd_sasl_security_options = noanonymous #smtpd_sasl_local_domain = $myhostname #broken_sasl_auth_clients = yes # SENDING MAIL #myorigin = $myhostname #myorigin = $mydomain # RECEIVING MAIL #inet_interfaces = $myhostname #inet_interfaces = hewbert.com,hewbert, localhost #smtpd_recipient_restrictions = # permit_sasl_authenticated, # permit_mynetworks, # check_relay_domains mydestination = $myhostname, localhost.$mydomain, hewbert, hewbert.homelinux.org, hewbert.com, hewphoria.com # relayhost = $mydomain # relayhost = gateway.my.domain # relayhost = uucphost # relayhost = [an.ip.add.ress] #local_recipient_maps = $alias_maps unix:passwd.byname alias_maps = hash:/etc/mail/aliases alias_database = hash:/etc/mail/aliases home_mailbox = .maildir/ # mail_spool_directory = /var/mail mailbox_command = /usr/bin/procmail # // FILTERING // # header_checks = regexp:/etc/postfix/maps/header_checks body_checks = regexp:/etc/postfix/maps/body_checks mime_header_checks = regexp:/etc/postfix/maps/mime_header_checks smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, reject_rbl_client relay_domains = $mydestination #mynetworks = 127.0.0.0/8 192.168.0.0/24 66.136.227.44 172.16.1.34/16 mynetworks = /etc/postfix/networks #smtpd_banner = $myhostname ESMTP $mail_name mail_name = smtpd smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) local_destination_concurrency_limit = 2 default_destination_concurrency_limit = 10 debug_peer_level = 2 debugger_command = PATH=/usr/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 #message_size_limit = 20480000