News

Mar 14, 2010
Category: General
Posted by: admin

18 May 2010, We just release Postfixrocks V1 for Slackware 12.x
You can download the packages from Download Menu

28 April 2010, We just release Postfixrocks V1 for CentOS/RHEL 5.x x86_64
You can download the packages from Download Menu

15 April 2010, We just release Postfixrocks V2 for OpenSUSE 11.1 X86_64
You can download the packages from Download menu

Postfixrocks V2 Release included :

- All previous postfixrocks packages
- Add Mailscanner
- Add ClamAV
- Add Spamassassin

 

Make a Donation

Does this site make your life easier? Help me keep it online.

 

Modify Postfix Config

We will need to modify postfix config file to match our mailserver settings.

Edit main.cf

#cd /etc/postfix
#vi main.cf

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_privs = nobody
defer_transports =
disable_dns_lookups = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command =
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
## change your hostname
myhostname = mail.postfixrocks.org
## change your network to your server public ip address
mynetworks = 10.10.10.10, 127.0.0.1
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
soft_bounce = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual

Previous page: Install Postfix  Next page: Modify Postfix Virtual File