summaryrefslogtreecommitdiffstats
path: root/postfix_wizard/postfix_relais.txt
blob: a2d34df81398bd9867000df6b6a1b94138b142c2 (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
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix

mydomain = mdk.com
myorigin = $mydomain

mynetworks = 127.0.0.0/8, 192.168.1.0/24

# spécifier la machine sur le réseau local vers laquelle relayer les mails
relayhost = ip_relay
# spécifier les domaines à relayer
relay_domains = guibland.com

unknown_local_recipient_reject_code = 450
#unknown_local_recipient_reject_code = 550

alias_maps = hash:/etc/postfix/aliases

smtpd_banner = Welcome 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
alias_database = hash:/etc/postfix/aliases

smtpd_recipient_restrictions = reject_unauth_destination
smtpd_sender_restrictions = permit_mynetworks

message_size_limit = 20000000

masquerade_domains = $mydomain
html_directory = /usr/share/doc/postfix-2.1.1/html