%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/old/etc/postfix/
Upload File :
Create Path :
Current File : //data/old/etc/postfix/main.cf

myhostname = mrazitko.varak.net
mydomain = mrazitko.varak.net
inet_interfaces = all
mydestination = localhost.$mydomain
mynetworks = 127.0.0.0/8 77.93.194.60 77.93.194.61 77.93.194.62 77.93.194.63 77.93.194.64 77.93.194.65 77.93.194.66 77.93.194.67 [::ffff:127.0.0.0]/104 [::1]/128 [2a01:430:12b::2]
#home_mailbox = .maildir/
mail_spool_directory = /var/mail
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10

smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, reject_unauth_pipelining, permit_sasl_authenticated, reject_unauth_destination, permit, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf
#smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, permit, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf, check_policy_service unix:private/policy-spf
# modify the existing smtpd_sender_restrictions
smtpd_sender_restrictions = permit_sasl_authenticated, reject_unknown_sender_domain, reject_unauth_pipelining, permit
#smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_unauth_pipelining, permit
# then add these
#smtpd_sasl_auth_enable = yes
#broken_sasl_auth_clients = yes
#smtpd_sasl_security_options = noanonymous
#smtpd_sasl_local_domain =

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname

#smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
#smtpd_sasl_local_domain =

#smtpd_recipient_restrictions =
#  permit_sasl_authenticated,
#  permit_mynetworks,
#  reject_unauth_destination

#smtpd_relay_restrictions =
#	permit_mynetworks
#	permit_sasl_authenticated
#	reject_unauth_destination

smtpd_tls_security_level = may
smtp_use_tls = yes
smtp_tls_security_level = may
smtp_tls_note_starttls_offer = yes
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/letsencrypt/live/varak.net-0001/privkey.pem
smtpd_tls_cert_file = /etc/letsencrypt/live/varak.net-0001/fullchain.pem
#smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA
smtpd_tls_dh1024_param_file = /etc/dhparams.pem

alias_maps = mysql:/etc/postfix/mysql-aliases.cf
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf

local_transport = local
local_recipient_maps = $alias_maps $virtual_mailbox_maps 
# unix:passwd.byname
message_size_limit = 1073741824
virtual_mailbox_limit = 0
mailbox_size_limit = 0


virtual_transport = virtual

virtual_mailbox_domains = varak.net vserver.varak.net mrazitko.varak.net pinecnj.cz hankatoulava.cz lvlup.cz meditace-hudbou.cz mosstroopers.cz knihkupectvi-monami.cz sadamas.cz chladitko.varak.net muzikoterapie.art
virtual_minimum_uid = 8

virtual_gid_maps = static:8
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_uid_maps = static:8
virtual_mailbox_base = /
#virtual_mailbox_limit =



#content_filter = smtp-amavis:[localhost]:10024
policy-spf_time_limit = 3600s

# DKIM
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891, inet:127.0.0.1:8893
non_smtpd_milters = $smtpd_milters
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail
html_directory = no
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/libexec/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
data_directory = /var/lib/postfix
inet_protocols = ipv4
content_filter = smtp:[127.0.0.1]:2526

#smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031

Zerion Mini Shell 1.0