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?
>
> greetings
>
> Thomas

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

reload postfix and off you are.

Martin
-- 
------------------------------------------------------------
H E L I X Gesellschaft f�r Software & Engineering mbH
------------------------------------------------------------
Hanauer Landstrasse 52              Telefon (069) 4789 35-30
D-60314 Frankfurt am Main           Telefax (069) 4789 35-44
------------------------------------------------------------
http://www.helix-gmbh.net                [EMAIL PROTECTED]
------------------------------------------------------------

Attachment: pgp00000.pgp
Description: signature

Reply via email to