]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/postfix/main.cf
Removed that old spam-blacklist...
[people/pmueller/ipfire-2.x.git] / config / postfix / main.cf
CommitLineData
6ca65b88
MT
1###
2### main.cf for IPFire
3###
3796e3d5 4queue_directory = /var/spool/postfix
3796e3d5 5command_directory = /usr/sbin
3796e3d5 6daemon_directory = /usr/lib/postfix
fc4ac7ac
MT
7manpage_directory = /usr/share/man
8sample_directory = /etc/postfix
9html_directory = no
10readme_directory = no
11
12sendmail_path = /usr/sbin/sendmail
13newaliases_path = /usr/bin/newaliases
14mailq_path = /usr/bin/mailq
15
3796e3d5 16mail_owner = postfix
fc4ac7ac
MT
17setgid_group = postdrop
18
27b8cc24 19myhostname = ipfire.localdomain
fc4ac7ac
MT
20myorigin = $myhostname
21
6ca65b88 22inet_interfaces = all
3796e3d5 23#proxy_interfaces =
27b8cc24 24mydestination = $myhostname, localhost, mysql:/etc/postfix/mysql-mydestination.cf
3796e3d5 25unknown_local_recipient_reject_code = 550
fc4ac7ac
MT
26
27mynetworks_style = host
28mynetworks = 127.0.0.0/8
29
3796e3d5 30#relay_domains = $mydestination
3796e3d5
MT
31#relayhost = $mydomain
32#relayhost = [gateway.my.domain]
33#relayhost = [mailserver.isp.tld]
34#relayhost = uucphost
35#relayhost = [an.ip.add.ress]
3796e3d5 36#relay_recipient_maps = hash:/etc/postfix/relay_recipients
3796e3d5 37#in_flow_delay = 1s
6ca65b88
MT
38alias_maps = hash:/etc/aliases
39alias_database = hash:/etc/aliases
cb1fb691 40recipient_delimiter = +
fc4ac7ac
MT
41
42mailbox_transport = cyrus
cb1fb691 43cyrus_destination_recipient_limit=1
fc4ac7ac
MT
44
45header_checks = regexp:/etc/postfix/header_checks
3796e3d5 46#fast_flush_domains = $relay_domains
fc4ac7ac 47
6ca65b88 48smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
3796e3d5
MT
49#local_destination_concurrency_limit = 2
50#default_destination_concurrency_limit = 20
fc4ac7ac 51
27b8cc24
MT
52virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
53sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
6bb14162
MT
54
55smtpd_sasl_type = cyrus
56smtpd_sasl_auth_enable = yes
57smtpd_sasl_security_options = noanonymous
58smtpd_sasl_local_domain = $myhostname
59broken_sasl_auth_clients = yes
60
61#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
62
b24cee40 63#content_filter=amavis:[127.0.0.1]:10024
cb1fb691 64
6bb14162
MT
65smtpd_helo_required = yes
66mime_header_checks=pcre:/etc/postfix/body_checks
67smtpd_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,
6bb14162
MT
79 reject_rbl_client opm.blitzed.org,
80 reject_rbl_client list.dsbl.org,
81 reject_rbl_client sbl.spamhaus.org,
82 permit
cb1fb691 83