Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- broken_sasl_auth_clients = yes
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
- home_mailbox = Maildir/
- html_directory = no
- inet_interfaces = all
- inet_protocols = all
- mail_owner = postfix
- mailbox_size_limit = 0
- mailq_path = /usr/bin/mailq.postfix
- manpage_directory = /usr/share/man
- mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
- mynetworks = 168.100.189.0/28, 127.0.0.0/8
- newaliases_path = /usr/bin/newaliases.postfix
- queue_directory = /var/spool/postfix
- readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
- recipient_delimiter = +
- sample_directory = /usr/share/doc/postfix-2.10.1/samples
- sendmail_path = /usr/sbin/sendmail.postfix
- setgid_group = postdrop
- smtp_tls_note_starttls_offer = yes
- smtp_tls_security_level = may
- smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_policy_service unix:private/policy
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain =
- smtpd_sasl_path = private/auth
- smtpd_sasl_security_options = noanonymous
- smtpd_sasl_type = dovecot
- smtpd_tls_cert_file = /etc/postfix/ssl/server.crt
- smtpd_tls_key_file = /etc/postfix/ssl/server.key
- smtpd_tls_loglevel = 1
- smtpd_tls_received_header = yes
- smtpd_tls_security_level = may
- smtpd_tls_session_cache_timeout = 3600s
- tls_random_source = dev:/dev/urandom
- unknown_local_recipient_reject_code = 550
- virtual_gid_maps = static:5000
- virtual_mailbox_base = /home/vmail
- virtual_mailbox_domains = /etc/postfix/vhosts
- virtual_mailbox_maps = hash:/etc/postfix/vmaps
- virtual_minimum_uid = 1000
- virtual_uid_maps = static:5000
- #########################
- # Default Config
- #########################
- auth_mechanisms = plain login
- protocols = imap pop3
- info_log_path = /var/log/dovecot.info
- log_path = /var/log/dovecot
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- mail_location = maildir:/home/vmail/%d/%n
- mbox_write_locks = fcntl
- #########################
- # Security SSL
- #########################
- ssl = required
- ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
- ssl_key = </etc/pki/dovecot/private/dovecot.pem
- #########################
- # Mailbox Config
- #########################
- namespace inbox {
- inbox = yes
- location =
- mailbox Drafts {
- special_use = Drafts
- }
- mailbox Junk {
- special_use = Junk
- }
- mailbox Sent {
- special_use = Sent
- }
- mailbox "Sent Messages" {
- special_use = Sent
- }
- mailbox Trash {
- special_use = Trash
- }
- prefix =
- }
- #########################
- # Auth Config
- #########################
- passdb {
- args = /etc/dovecot/passwd
- driver = passwd-file
- }
- userdb {
- args = /etc/dovecot/users
- driver = passwd-file
- }
- service auth {
- unix_listener /var/spool/postfix/private/auth {
- group = postfix
- mode = 0666
- user = postfix
- }
- user = root
- }
- service auth-worker {
- user = root
- }
- #########################
- # POP3 Config
- #########################
- protocol pop3 {
- pop3_uidl_format = %08Xu%08Xv
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement