Higen írta:

Sziasztok!  Kepi segitsegevel tovabb jutottam, de meg mindig bejön kintről a 
level:

Evvel lesz a gond: recipient_checks.pcre
Szerintem a szintaxissal :-D


main.cf smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_hostname, check_recipient_access pcre:/etc/postfix/recipient_checks.pcre, permit **************************************************************************************** recipient_checks.pcre /^mindenki\@/ REJECT Invalid address. /^postmaster\@/ OK



Sziasztok!

Van egy ceges email cim. A feladat az lenne, hogy erre kulso email cimrol ne 
lehessen kuldeni semmit.
Postfix-et hasznalok. A header_checks minden levelet megfog. Belulrol tudni 
kell ra kuldeni emailt.

Elore is koszonom a segitsegeteket.

Higen
_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux
------- End of Original Message -------

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

check_recipient_access pcre:/etc/postfix/recipient_checks
Ennyi elég. + fontos, hogy utána postmap /etc/postfix/recipient_checks
De nem egészen értem a recipient_check -edet.
Amúgy inkább használj hash-t. tehát
check_recipient_access hash:/etc/postfix/recipient_check
majd postmap... és

[EMAIL PROTECTED]               permit_mynetworks, REJECT

És vhogy így nézzen ki a main.cf sztem:

smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_checks, permit_mynetworks, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_hostname, permit
Próba :)

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz