summaryrefslogtreecommitdiffstats
path: root/postfix_wizard/postfix_main.txt
blob: e10f5d9d1067fda813e5a37750dafde6119f2128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix

mail_owner = postfix
myhostname = test.mdk.com
mydomain = balvy.loc
myorigin = $myhostname
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, /etc/postfix/destinations
local_recipient_maps =

unknown_local_recipient_reject_code = 450
mynetworks = 127.0.0.0/32, 192.168.1.0/24

alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases

mail_spool_directory = /var/spool/mail
mailbox_transport = cyrus

header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks

smtpd_helo_required = yes
disable_vrfy_command = yes
smtpd_recipient_restrictions =
    reject_invalid_hostname,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    permit_mynetworks,
    reject_unauth_destination,
    reject_rbl_client titi.toto.com,
    permit
smtpd_data_restrictions =
    reject_unauth_pipelining,
    permit

maximal_queue_lifetime = 2d
message_size_limit = 20000000
smtpd_banner = Welcom srv

debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 4

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.1.1/samples
readme_directory = /usr/share/doc/postfix-2.1.1/README_FILES

masquerade_domains = guibland.com
default_destination_concurrency_limit = 50
default_destination_recipient_limit = 50
content_filter=smtp-filter:[127.0.0.1]:10025
smtp-amavis_destination_concurrency_limit=2
html_directory = /usr/share/doc/postfix-2.1.1/html
content_filter = lmtp-filter:127.0.0.1:10025
receive_override_options = no_address_mappings