]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/postfix/main.cf
7779aff9c36eba18a045123331bf8c63352f4b84
[people/pmueller/ipfire-2.x.git] / config / postfix / main.cf
1 ###
2 ### main.cf for IPFire
3 ###
4 queue_directory = /var/spool/postfix
5 command_directory = /usr/sbin
6 daemon_directory = /usr/lib/postfix
7 manpage_directory = /usr/share/man
8 sample_directory = /etc/postfix
9 html_directory = no
10 readme_directory = no
11
12 sendmail_path = /usr/sbin/sendmail
13 newaliases_path = /usr/bin/newaliases
14 mailq_path = /usr/bin/mailq
15
16 mail_owner = postfix
17 setgid_group = postdrop
18
19 myhostname = ipfire.localdomain
20 myorigin = $myhostname
21
22 inet_interfaces = all
23 #proxy_interfaces =
24 mydestination = $myhostname, localhost, mysql:/etc/postfix/mysql-mydestination.cf
25 unknown_local_recipient_reject_code = 550
26
27 mynetworks_style = host
28 mynetworks = 127.0.0.0/8
29
30 #relay_domains = $mydestination
31 #relayhost = $mydomain
32 #relayhost = [gateway.my.domain]
33 #relayhost = [mailserver.isp.tld]
34 #relayhost = uucphost
35 #relayhost = [an.ip.add.ress]
36 #relay_recipient_maps = hash:/etc/postfix/relay_recipients
37 #in_flow_delay = 1s
38 alias_maps = hash:/etc/aliases
39 alias_database = hash:/etc/aliases
40 recipient_delimiter = +
41
42 mailbox_transport = cyrus
43 cyrus_destination_recipient_limit=1
44
45 header_checks = regexp:/etc/postfix/header_checks
46 #fast_flush_domains = $relay_domains
47
48 smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
49 #local_destination_concurrency_limit = 2
50 #default_destination_concurrency_limit = 20
51
52 virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
53 sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
54
55 smtpd_sasl_type = cyrus
56 smtpd_sasl_auth_enable = yes
57 smtpd_sasl_security_options = noanonymous
58 smtpd_sasl_local_domain = $myhostname
59 broken_sasl_auth_clients = yes
60
61 #smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
62
63 content_filter=amavis:[127.0.0.1]:10024
64
65 smtpd_helo_required = yes
66 mime_header_checks=pcre:/etc/postfix/body_checks
67 smtpd_recipient_restrictions =
68 reject_invalid_hostname,
69 #reject_non_fqdn_hostname,
70 reject_non_fqdn_sender,
71 reject_non_fqdn_recipient,
72 reject_unknown_sender_domain,
73 reject_unknown_recipient_domain,
74 reject_unauth_pipelining,
75 permit_mynetworks,
76 permit_sasl_authenticated,
77 reject_unauth_destination,
78 reject_rbl_client zombie.dnsbl.sorbs.net,
79 reject_rbl_client relays.ordb.org,
80 reject_rbl_client opm.blitzed.org,
81 reject_rbl_client list.dsbl.org,
82 reject_rbl_client sbl.spamhaus.org,
83 permit
84