summaryrefslogtreecommitdiffstats
path: root/postfix_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-06-03 06:00:18 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-06-03 06:00:18 +0000
commite82acb58cdd918789f3f3353e2d436f5df8960de (patch)
treee03afb222af7387326db769e48f3b3e95fbc0633 /postfix_wizard
parente4647a7d593150507c8fa223bfd0a3a2d0692be1 (diff)
downloaddrakwizard-e82acb58cdd918789f3f3353e2d436f5df8960de.tar
drakwizard-e82acb58cdd918789f3f3353e2d436f5df8960de.tar.gz
drakwizard-e82acb58cdd918789f3f3353e2d436f5df8960de.tar.bz2
drakwizard-e82acb58cdd918789f3f3353e2d436f5df8960de.tar.xz
drakwizard-e82acb58cdd918789f3f3353e2d436f5df8960de.zip
two configuration files (thx anne)
Diffstat (limited to 'postfix_wizard')
-rw-r--r--postfix_wizard/postfix_main.txt64
-rw-r--r--postfix_wizard/postfix_relais.txt44
2 files changed, 108 insertions, 0 deletions
diff --git a/postfix_wizard/postfix_main.txt b/postfix_wizard/postfix_main.txt
new file mode 100644
index 00000000..e10f5d9d
--- /dev/null
+++ b/postfix_wizard/postfix_main.txt
@@ -0,0 +1,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
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