Example Postfix configuration
Below is the live configuration of TJM Performance
/etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = geebung.performanceoffroad.com.au
mydomain = performanceoffroad.com.au
myorigin = $mydomain
inet_interfaces = localhost
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical # This option is not included by default in the configuration file.
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/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 = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.1.5/samples
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES/etc/postfix/recipient_canonical
root root@localhost postfix postfix@localhost ccc ccc@localhost
Run the following command to create a recipient_canonical database
# cd /etc/postfix # postmap recipient_canonical
