“main.cf” configuration of posfix

All main.cf parameter:

kohkong:~ # postconf -n

alias_maps = hash:/etc/aliases

biff = no

broken_sasl_auth_clients = yes

command_directory = /usr/sbin

config_directory = /etc/postfix

content_filter = smtp-amavis:127.0.0.1:10024

daemon_directory = /usr/lib/postfix

debug_peer_level = 2

disable_dns_lookups = no

disable_mime_output_conversion = no

html_directory = /usr/share/doc/packages/postfix/html

inet_interfaces = $myhostname, localhost

inet_protocols = all

mail_spool_directory = /var/mail

mailbox_size_limit = 800000000

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 = 20000000

mydestination = $myhostname, localhost.$mydomain, $mydomain, vichhaiy.local, mailserver.vichhaiy.local

mydomain = vichhaiy.local

myhostname = kohkong.vichhaiy.local

mynetworks = 127.0.0.0/8, 192.168.107.0/24, 192.168.108.0/24, 192.168.109.0/24 172.16.0.0/23, 192.168.110.0/24

myorigin = vichhaiy.local

newaliases_path = /usr/bin/newaliases

queue_minfree = 100000000

readme_directory = /usr/share/doc/packages/postfix/README_FILES

relayhost = [smtp.ezecom.com.kh]:587

sample_directory = /usr/share/doc/packages/postfix/samples

sender_canonical_maps = hash:/etc/postfix/sender_canonical

sendmail_path = /usr/sbin/sendmail

setgid_group = maildrop

smtp_sasl_auth_enable = yes

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

smtp_sasl_security_options =

smtp_tls_note_starttls_offer = yes

smtp_use_tls = yes

smtpd_helo_required = no

smtpd_sasl_auth_enable = yes

smtpd_sasl_local_domain = vichhaiy.local

smtpd_sasl_security_options = noanonymous

smtpd_sender_login_maps = hash:/etc/postfix/sasl_senders

smtpd_sender_restrictions = reject_sender_login_mismatch,permit_sasl_authenticat ed

smtpd_tls_auth_only = no

smtpd_tls_cert_file = /etc/ssl/mailserver/mailfcrt.pem

smtpd_tls_key_file = /etc/ssl/mailserver/mailkey.pem

smtpd_tls_loglevel = 1

smtpd_tls_received_header = yes

smtpd_tls_session_cache_timeout = 3600s

smtpd_use_tls = yes

strict_8bitmime = no

strict_rfc821_envelopes = no

tls_random_source = dev:/dev/urandom

transport_maps = hash:/etc/postfix/transport

unknown_local_recipient_reject_code = 550

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s