Could someone please take a look at my Postfix main.cf and tell me is it correct or not. Thank you
soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
#default_privs = nobody
# INTERNET HOST AND DOMAIN NAMES
#assume myhost=mail; my domain=mydomain.com
myhostname = mail.mydomain.com
mydomain = mydomain.com
# SENDING MAIL
#
user@that.users.mailhost. (have no idea what it is; could you please give an example)
myorigin = $mydomain
# RECEIVING MAIL
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain
# TRUST AND RELAY CONTROL
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
# clients in the same IP class A/B/C networks as the local machine.
mynetworks_style = class
mynetworks = hash:/etc/postfix/network_table
#relay_domains = $mydestination (Do i need to turn on this?)
local_recipient_maps = $alias_maps unix
asswd.byname
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/aliases
# DELIVERY TO MAILBOX
home_mailbox = /var/spool/mail/user
mail_spool_directory = /var/spool/mail
smtpd_banner = $myhostname ESMTP $mail_name
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
# DEBUGGING CONTROL
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
# INSTALL-TIME CONFIGURATION INFORMATION
#
Not sure if I need these lines or not
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-1.1.7/samples
readme_directory = /etc/postfix/README_FILES
alias_database = hash:/etc/postfix/aliases