Re: postfix not checking header_checks file

From: Magnus Bäck (no email)
Date: Thu Jan 01 2004 - 13:08:49 EST


On Thu, Jan 01, 2004 at 10:52:52AM -0700,
     Jon Langton <> wrote:

> I screwed up my last email. Here is what I have:
> header_checks = regexp:/etc/postfix/header_checks in main.cf
> /^From: .*<>/ REJECT in header_checks file

Sigh. Why is it so hard for some people to just cut and paste, and
thereby avoid the problem of typos? You're wasting my time.

> With this config I see in /var/log/maillog an entry of From=<> size=3225,
> nrcpt=1 (queue active) then I see a bunch of outbound emails so I am
> assuming that they are using a null? from field to fool postfix into
> relaying email. Any ideas how to prevent this?

A null sender indicates a bounce. You *can* reject these (although not
with a header check as you've been attempting), but you must not do so.
Post your configuration ("postconf -n") and all relevant log entries for
a transaction like the one you described, and we can help you.

The problem here is that you might be an open relay. Ask about that. Do
not guess yourself to a solution and ask how that solution should be
implemented.

-- 
Magnus Bäck







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD