Am Donnerstag, 2. Oktober 2003 14:58 schrieb Thomas Deutsch:
Hi
How can I block a domain in my postfix.
Exaple:
I don't like to recieve mails from default.com.
So where can I block default.com?
Add to your smtpd_recipient_restrictions in main.cf the following line
check_sender_access regexp:/etc/postfix/unwanted_sender
andd add to toe file unwanted_sender something like
/[EMAIL PROTECTED]/ 550 Not accepted sender address
I've put this in the main.cf (On one line):
smtpd_recipient_restrictions = check_sender_access regexp:/etc/postfix/unwanted_sender
But postfix says in the syslog:
Oct 2 15:25:26 homer postfix/smtpd[20850]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Do you know where the problem is?
greetings
Thomas
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
