PLD-doc/book/pl_book__uslugi/pl_uslugi_poczta__postfix.sec

kermit cvs w pld-linux.org
Pon, 13 Lut 2006, 22:44:52 CET


Author: kermit
Date: Mon Feb 13 22:44:49 2006
New Revision: 6970

Modified:
   PLD-doc/book/pl_book__uslugi/pl_uslugi_poczta__postfix.sec
Log:
- reject_sender_login_mismatch by zbyniu

Modified: PLD-doc/book/pl_book__uslugi/pl_uslugi_poczta__postfix.sec
==============================================================================
--- PLD-doc/book/pl_book__uslugi/pl_uslugi_poczta__postfix.sec	(original)
+++ PLD-doc/book/pl_book__uslugi/pl_uslugi_poczta__postfix.sec	Mon Feb 13 22:44:49 2006
@@ -46,7 +46,8 @@
 	</para>
 	<screen># postconf -e smtpd_sasl_auth_enable=yes
 # postconf -e smtpd_recipient_restrictions=permit_mynetworks, \
-    permit_sasl_authenticated,reject_unauth_destination</screen>
+    reject_sender_login_mismatch,permit_sasl_authenticated, \
+    reject_unauth_destination</screen>
 	<para>
 		Teraz linijka dla popsutych <productname>Outlook</productname>-ów.
 	</para>
@@ -77,7 +78,8 @@
 queue_directory = /var/spool/postfix
 setgid_group = maildrop
 smtpd_recipient_restrictions = permit_mynetworks, \
-    permit_sasl_authenticated,reject_unauth_destination
+    reject_sender_login_mismatch,permit_sasl_authenticated, \
+    reject_unauth_destination
 smtpd_sasl_auth_enable = yes</screen>
 	</section>
 	<section id="uslugi_postfix_szyfrowanie">
@@ -119,10 +121,11 @@
 	<screen>mydestination = $myhostname, jakas.domena.pl, \
     costam.gdziestam.pl, PLD.biz.pl</screen>
 	<para>
-		Jeżeli chcemy aby nasz postfix obsługiwał wirtualne domeny (przyznawał się do nich) dopisujemy w <filename>/etc/mail/main.cf</filename> takie dwie linijki:
+		Jeżeli chcemy aby nasz postfix obsługiwał wirtualne domeny (przyznawał się do nich) dopisujemy w <filename>/etc/mail/main.cf</filename> takie trzy linijki:
 	</para>
 	<screen>relay_domains = hash:/etc/mail/domains
-virtual_maps = hash:/etc/mail/virtual</screen>
+virtual_maps = hash:/etc/mail/virtual
+smtpd_sender_login_maps = hash:/etc/mail/virtual</screen>
 	<para>
 		Tworzymy <filename>/etc/mail/domains</filename> i robimy nastepujące wpisy:
 	</para>
@@ -218,13 +221,15 @@
 smtpd_helo_required = yes
 smtpd_recipient_limit = 100
 smtpd_recipient_restrictions = permit_mynetworks, \
-    permit_sasl_authenticated,reject_unauth_destination
+    reject_sender_login_mismatch,permit_sasl_authenticated, \
+    reject_unauth_destination
 smtpd_sasl_auth_enable = yes
 smtpd_soft_error_limit = 60
 smtpd_tls_cert_file = /var/lib/openssl/certs/nasza.domena.pl.pem
 smtpd_tls_key_file = $smtpd_tls_cert_file
 smtpd_use_tls = yes
-virtual_maps = hash:/etc/mail/virtual</screen>
+virtual_maps = hash:/etc/mail/virtual
+smtpd_sender_login_maps = hash:/etc/mail/virtual</screen>
 	<para>
     		Zawartość <filename>master.cf</filename>
 	</para>


Więcej informacji o liście dyskusyjnej pld-doc