Specifically I added
check_sender_access hash:/etc/postfix/copycats
to
smtpd_recipient_restrictions=
after the mynetworks and SASL authenticated permits, added
an /etc/postfix/copycats file containing
thisisreallymydomain.com REJECT
This seems to be effective at stopping some of the spam, but other still
arrives, with headers like:
Received: by www.thisisireallymydomain.com (Postfix)
id 3C916254775; Tue, 30 Dec 2008 03:50:01 -0800 (PST)
Delivered-To: [email protected]
Received: from alkhorayef.com (unknown [91.189.132.54])
by www.thisisireallymydomain.com (Postfix) with SMTP id B31A025472A
for <[email protected]>; Tue, 30 Dec 2008 03:49:59 -0800
(PST)
To: <[email protected]>
Subject: Celebrate a victory in love
From: <[email protected]>
MIME-Version: 1.0
Importance: High
Content-Type: text/html
Message-Id: <[email protected]>
Date: Tue, 30 Dec 2008 03:49:59 -0800 (PST)
Return-Path: [email protected]
X-OriginalArrivalTime: 30 Dec 2008 11:50:31.0292 (UTC)
FILETIME=[D10EABC0:01C96A74]
This arrives in the inbox of [email protected] with no
indication of the
actual source being a different domain, as "From"
[email protected].
How come your server receives mail for thisisireallymydomain.com ?
Received: from alkhorayef.com (unknown [91.189.132.54])
by www.thisisireallymydomain.com (Postfix) with SMTP id B31A025472A
for <[email protected]>; Tue, 30 Dec 2008 03:49:59 -0800
Delivered-To: [email protected]
If this is ok, than you have to add also this domain to
check_sender_access table.
Are you using reject_unauth_destination ? This one should be before
check_sender_access.
Pawel