]>
Commit | Line | Data |
---|---|---|
6ca65b88 MT |
1 | ### |
2 | ### main.cf for IPFire | |
3 | ### | |
3796e3d5 | 4 | queue_directory = /var/spool/postfix |
3796e3d5 | 5 | command_directory = /usr/sbin |
3796e3d5 | 6 | daemon_directory = /usr/lib/postfix |
fc4ac7ac MT |
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 | ||
3796e3d5 | 16 | mail_owner = postfix |
fc4ac7ac MT |
17 | setgid_group = postdrop |
18 | ||
27b8cc24 | 19 | myhostname = ipfire.localdomain |
fc4ac7ac MT |
20 | myorigin = $myhostname |
21 | ||
6ca65b88 | 22 | inet_interfaces = all |
3796e3d5 | 23 | #proxy_interfaces = |
27b8cc24 | 24 | mydestination = $myhostname, localhost, mysql:/etc/postfix/mysql-mydestination.cf |
3796e3d5 | 25 | unknown_local_recipient_reject_code = 550 |
fc4ac7ac MT |
26 | |
27 | mynetworks_style = host | |
28 | mynetworks = 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 |
38 | alias_maps = hash:/etc/aliases |
39 | alias_database = hash:/etc/aliases | |
cb1fb691 | 40 | recipient_delimiter = + |
fc4ac7ac MT |
41 | |
42 | mailbox_transport = cyrus | |
cb1fb691 | 43 | cyrus_destination_recipient_limit=1 |
fc4ac7ac MT |
44 | |
45 | header_checks = regexp:/etc/postfix/header_checks | |
3796e3d5 | 46 | #fast_flush_domains = $relay_domains |
fc4ac7ac | 47 | |
6ca65b88 | 48 | smtpd_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 |
52 | virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf |
53 | sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf | |
6bb14162 MT |
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 | ||
b24cee40 | 63 | #content_filter=amavis:[127.0.0.1]:10024 |
cb1fb691 | 64 | |
6bb14162 MT |
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, | |
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 |