forked from GNUsocial/gnu-social
		
	
		
			
				
	
	
		
			89 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			CFEngine3
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			CFEngine3
		
	
	
	
	
	
## STANDARD POSTFIX CONFIG PARAMS ###
 | 
						|
 | 
						|
myhostname = %hostname%
 | 
						|
mydomain = %domain_root%
 | 
						|
myorigin = $myhostname
 | 
						|
mydestination = $myhostname, localhost.$mydomain, localhost
 | 
						|
# Intentianally blank
 | 
						|
relayhost =
 | 
						|
alias_maps = hash:/etc/mail/postfix/aliases
 | 
						|
alias_database = hash:/etc/mail/postfix/aliases
 | 
						|
 | 
						|
smtpd_tls_cert_file = %cert_file%
 | 
						|
smtpd_tls_key_file = %key_file%
 | 
						|
smtpd_use_tls=yes
 | 
						|
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
 | 
						|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
 | 
						|
smtpd_tls_security_level=may
 | 
						|
#SSLv2 and SSLv3 are obsolete
 | 
						|
smtpd_tls_protocols = !SSLv2, !SSLv3
 | 
						|
smtp_tls_security_level = may
 | 
						|
smtp_tls_protocols = !SSLv2, !SSLv3
 | 
						|
smtp_tls_exclude_ciphers = EXPORT, LOW
 | 
						|
smtpd_tls_loglevel = 1
 | 
						|
smtpd_tls_session_cache_timeout = 3600s
 | 
						|
 | 
						|
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
 | 
						|
 | 
						|
queue_directory = /var/spool/postfix
 | 
						|
command_directory = /usr/sbin
 | 
						|
daemon_directory = /usr/lib/postfix/sbin
 | 
						|
data_directory = /var/lib/postfix
 | 
						|
mail_owner = postfix
 | 
						|
inet_interfaces = all
 | 
						|
inet_protocols = all
 | 
						|
unknown_local_recipient_reject_code = 550
 | 
						|
mynetworks = 127.0.0.0/8, [::1]/128
 | 
						|
 | 
						|
mailbox_command = /usr/lib/dovecot/deliver
 | 
						|
  
 | 
						|
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
 | 
						|
sendmail_path = /usr/sbin/sendmail.postfix
 | 
						|
newaliases_path = /usr/bin/newaliases.postfix
 | 
						|
mailq_path = /usr/bin/mailq.postfix
 | 
						|
setgid_group = postdrop
 | 
						|
html_directory = no
 | 
						|
manpage_directory = /usr/share/man
 | 
						|
sample_directory = /usr/share/doc/postfix-2.10.1/samples
 | 
						|
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
 | 
						|
 | 
						|
 | 
						|
### VIRTUAL MAIL CONFIG PARAMS ###
 | 
						|
relay_domains = *
 | 
						|
virtual_alias_maps = hash:/etc/mail/aliases
 | 
						|
virtual_mailbox_domains = hash:/etc/mail/domains
 | 
						|
virtual_mailbox_maps = hash:/etc/mail/mailboxes
 | 
						|
 | 
						|
virtual_mailbox_base = /var/mail
 | 
						|
virtual_minimum_uid = 2222
 | 
						|
virtual_transport = dovecot
 | 
						|
virtual_uid_maps = static:2222
 | 
						|
virtual_gid_maps = static:2222
 | 
						|
 | 
						|
dovecot_destination_recipient_limit = 1
 | 
						|
 | 
						|
milter_protocol = 2
 | 
						|
milter_default_action = accept
 | 
						|
smtpd_milters = inet:localhost:8891
 | 
						|
non_smtpd_milters = inet:localhost:8891
 | 
						|
 | 
						|
smtpd_sasl_auth_enable = yes
 | 
						|
smtpd_sasl_type = dovecot
 | 
						|
smtpd_sasl_path = /var/run/dovecot/auth-client
 | 
						|
smtpd_sasl_security_options = noanonymous
 | 
						|
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
 | 
						|
smtpd_sasl_local_domain = $mydomain
 | 
						|
broken_sasl_auth_clients = yes
 | 
						|
 | 
						|
smtpd_tls_security_level = may
 | 
						|
 | 
						|
tls_random_source = dev:/dev/urandom
 | 
						|
tls_random_exchange_name = /var/lib/postfix/prng_exch
 | 
						|
smtpd_tls_auth_only = yes
 | 
						|
 | 
						|
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
 | 
						|
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
 |