Am Donnerstag, 2. Oktober 2003 15:09 schrieb Thomas Deutsch:
> Thomas Deutsch wrote:
> > 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?
>
> Is this right?
>
> main.cf:
> header_checks=regexp:/etc/postfix/bad_headers

Na, the header does not specify the sender butv something you can freely 
compose. Look at this mailing list. This mail is from me (obvious) but it is 
send to you from [EMAIL PROTECTED] so the header_checks only 
checks my sending mail entry in the FROM Header. The real sender is only in 
the envelope.

>
> bad_headers:
> /^From: default.com REJECT

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