Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MTA server, postfix + Dovecot
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- anvil_rate_time_unit = 2s
- append_dot_mydomain = no
- biff = no
- config_directory = /etc/postfix
- default_destination_concurrency_limit = 200
- default_destination_recipient_limit = 1
- default_process_limit = 1500
- disable_dns_lookups = yes
- header_checks = pcre:/etc/postfix/header_checks
- inet_interfaces = all
- lmtp_connect_timeout = 5s
- lmtp_connection_cache_time_limit = 8s
- lmtp_connection_reuse_time_limit = 4s
- mailbox_command = procmail -a "$EXTENSION"
- mailbox_size_limit = 0
- maximal_backoff_time = 60s
- message_size_limit = 45000000
- minimal_backoff_time = 25s
- mydestination = $myhostname, localhost
- mydomain = DOMAIN.com.br
- mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 10.50.0.0/23
- myorigin = /etc/mailname
- qmqpd_authorized_clients = 10.1.0.0/20
- queue_run_delay = 25s
- readme_directory = no
- recipient_bcc_maps = proxy:mysql:/etc/postfix/maps/forward.cf
- recipient_delimiter = +
- relayhost = *.*.*.*
- smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
- smtpd_client_connection_count_limit = 8
- smtpd_client_connection_rate_limit = 15
- smtpd_client_message_rate_limit = 16
- smtpd_client_recipient_rate_limit = 100
- smtpd_delay_open_until_valid_rcpt = yes
- smtpd_recipient_limit = 70
- virtual_alias_maps = cdb:/etc/postfix/maps/locamail-expand-groups, tcp:127.0.0.1:25002
- virtual_mailbox_domains = proxy:mysql:/etc/postfix/maps/domains.cf
- virtual_mailbox_maps = proxy:mysql:/etc/postfix/maps/accounts.cf
- virtual_transport = lmtp:unix:/tmp/dspam.sock
- Dovecot
- # 2.0.11 (8c409049402c): /etc/dovecot/dovecot.conf
- # OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 6.0
- auth_cache_negative_ttl = 10 mins
- auth_cache_size = 10 M
- default_client_limit = 2048
- default_process_limit = 500
- dict {
- quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
- }
- first_valid_uid = 50
- lda_mailbox_autocreate = yes
- lda_mailbox_autosubscribe = yes
- login_greeting = Welcome to DOMAIN
- mail_access_groups = _sysadms
- mail_debug = yes
- mail_fsync = always
- mail_location = maildir:%h:INDEX=%h/cache
- mail_nfs_index = yes
- mail_nfs_storage = yes
- mail_plugins = " quota"
- managesieve_notify_capability = mailto
- managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
- mmap_disable = yes
- passdb {
- args = /etc/dovecot/conf.d/DOMAIN/passdb-master.conf
- driver = sql
- }
- plugin {
- quota = dict:User quota::proxy::quota
- quota_rule = *:storage=2G
- quota_rule2 = INBOX:messages=+50000
- sieve = ~/.dovecot.sieve
- sieve_before = /etc/dovecot/sieve/
- sieve_dir = ~/sieve
- }
- postmaster_address = scrum-email@DOMAIN.com.br
- protocols = " lmtp sieve"
- service auth-worker {
- process_limit = 1024
- process_min_avail = 100
- }
- service dict {
- unix_listener dict {
- group = _sysadms
- mode = 0660
- }
- }
- service lmtp {
- inet_listener lmtp {
- port = 24
- }
- process_min_avail = 100
- }
- ssl_cert = </etc/ssl/certs/dovecot.pem
- ssl_key = </etc/ssl/private/dovecot.pem
- userdb {
- args = /etc/dovecot/conf.d/DOMAIN/userdb.conf
- driver = sql
- }
- verbose_proctitle = yes
- protocol lmtp {
- mail_plugins = " quota sieve"
- }
- protocol imap {
- mail_plugins = " quota imap_quota"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement