summaryrefslogtreecommitdiffstats
path: root/postfix_wizard/postfix_relais.txt
diff options
context:
space:
mode:
Diffstat (limited to 'postfix_wizard/postfix_relais.txt')
-rw-r--r--postfix_wizard/postfix_relais.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/postfix_wizard/postfix_relais.txt b/postfix_wizard/postfix_relais.txt
new file mode 100644
index 00000000..a2d34df8
--- /dev/null
+++ b/postfix_wizard/postfix_relais.txt
@@ -0,0 +1,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