![]() |
![]() |
This is incomplete, I havn't added instructions on what else to do to get this working yet…
The /usr/local/etc/postfix/main.cf file:
[consolibyte@www /usr/local/etc/postfix]$ postconf -n body_checks = pcre:/usr/local/etc/postfix/checks/mime_body_checks.regexp command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/db/postfix debug_peer_level = 2 header_checks = pcre:/usr/local/etc/postfix/checks/header_checks_bogon.regexp home_mailbox = Maildir/ html_directory = no mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydestination = $myhostname, localhost, localhost.localdomain mydomain = example.com myhostname = www.example.com mynetworks_style = host myorigin = $myhostname newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no recipient_delimiter = + sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_destination, warn_if_reject reject_unknown_helo_hostname, warn_if_reject reject_non_fqdn_hostname, warn_if_reject reject_invalid_hostname, reject_rbl_client virbl.dnsbl.bit.nl, reject_rbl_client b.barracudacentral.org, reject_rbl_client bl.spamcop.net, reject_rbl_client web.dnsbl.sorbs.net, reject_rhsbl_client fraud.rhs.mailpolice.com, reject_rhsbl_sender fraud.rhs.mailpolice.com, permit strict_rfc821_envelopes = yes unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/usr/local/etc/postfix/vforward hash:/usr/local/etc/postfix/vemailtoemail virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_domains = /usr/local/etc/postfix/vhosts virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmaps virtual_minimum_uid = 1000 virtual_uid_maps = static:5000