source: alternc/trunk/etc/alternc/templates/postfix/main.cf @ 2317

Revision 2317, 2.4 KB checked in by anarcat, 5 years ago (diff)

remove alternc/mynetwork debconf parameter, stop overriding it in
postfix

also split the config prompts between slave and non-slave package

See: #1029

Line 
1#
2# Fichier de configuration de Postfix pour AlternC
3# $Id: main.cf,v 1.17 2006/01/12 06:50:15 anarcat Exp $
4#
5# %%warning_message%%
6# pour postfix SARGE v2
7
8queue_directory = /var/spool/postfix
9command_directory = /usr/sbin
10daemon_directory = /usr/lib/postfix
11mail_owner = postfix
12# recipient_delimiter = +
13
14home_mailbox = Maildir/
15
16smtpd_banner = $myhostname ESMTP
17
18header_checks = regexp:/etc/postfix/header_checks
19body_checks = regexp:/etc/postfix/body_checks
20
21local_destination_concurrency_limit = 8
22default_destination_concurrency_limit = 10
23
24myhostname = %%fqdn%%
25myorigin = %%fqdn%%
26
27
28# Configuration TLS pour le serveur smtp :
29smtpd_use_tls = yes
30smtpd_tls_dcert_file = /etc/courier/pop3d.pem
31smtpd_tls_dkey_file = $smtpd_tls_dcert_file
32smtpd_tls_CApath = /etc/ssl/certs/
33smtpd_tls_key_file =  $smtpd_tls_dcert_file
34smtpd_tls_cert_file =  $smtpd_tls_dcert_file
35smtpd_tls_loglevel = 0
36smtpd_tls_received_header = yes
37smtpd_tls_session_cache_timeout = 3600s
38tls_random_source = dev:/dev/urandom
39
40# Configuration TLS pour le client smtp
41smtp_use_tls = yes
42smtp_tls_dcert_file = $smtpd_tls_dcert_file
43smtp_tls_dkey_file = $smtpd_tls_dcert_file
44smtp_tls_CApath = $smtpd_tls_CApath
45
46# Configuration SASL via sasldb (/etc/sasldb) uniquement en TLS.
47# Sinon le pass passe en clair et c'est mal !
48smtpd_tls_auth_only = yes
49smtpd_sasl_auth_enable = yes
50smtpd_sasl_local_domain = postfix
51smtpd_sasl_security_options = noanonymous
52enable_sasl_authentification = yes
53broken_sasl_auth_clients = yes
54
55#queue_directory = /var/spool/postfix
56#command_directory = /usr/sbin
57#daemon_directory = /usr/lib/postfix
58#mail_owner = postfix
59#recipient_delimiter = +
60
61# Pour éviter certains vieux spammeurs.
62disable_vrfy_command = yes
63
64# On autorise le relai à : les authentifiés en saslet nos domaines.
65smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination
66
67alias_maps = mysql:/etc/postfix/myalias.cf hash:/etc/aliases
68virtual_maps = proxy:mysql:/etc/postfix/mydomain.cf
69virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
70
71virtual_mailbox_base = /
72virtual_minimum_uid = 1000
73virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
74virtual_uid_maps = static:33
75
76default_privs = www-data
77program_directory = /usr/lib/postfix
Note: See TracBrowser for help on using the repository browser.