Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a little problem. Some spammer is sending email to me from my address.

here is mail headers:

From - Fri Aug 20 08:06:15 2010
X-Account-Key: account7
X-UIDL: 1201266183.2446
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <>
Received: from ([unix socket])
     by localhost (Cyrus v2.2.13-Debian-2.2.13-10) with LMTPA;
     Fri, 20 Aug 2010 07:17:26 +0300
X-Sieve: CMU Sieve 2.2
X-Greylist: delayed 328 seconds by postgrey-1.27 at mnl-bck; Fri, 20 Aug 2010 07:17:20 EEST
Received: from (unknown [])
    by (ESMTP daemon) with ESMTP id 0F8572E6970
    for <>; Fri, 20 Aug 2010 07:17:19 +0300 (EEST)
Received: (qmail 2323 by uid 603); Fri, 20 Aug 2010 08:11:00 +0400
Message-Id: <20100820041710.2221.qmail@>
Subject: VIAGRA X Official Seller -77%
MIME-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Date: Fri, 20 Aug 2010 07:17:19 +0300 (EEST) Found to be clean

Mail server is running on postfix, spamassasin. In spamassasin is defined that all messages who is going from latvian adreeses are whitelisted.

spamassasin spam.whitelist.rules

From:           *@*.lv          yes

smtpd_recipient_restrictions = hash:/etc/postfix/access,
        check_policy_service inet:

question is: can i drop mail at smtp level if From is same as To and if sender is not authenticated?

at mail headers sender is :
Received: from (unknown [])
so its not authenticated. I am right ?

share|improve this question
up vote 1 down vote accepted

Configure SPF and use some spf-checking framework in Postfix (tumgreyspf, postfix-policyd-spf-perl, ...).

share|improve this answer
I set up SPF and hope that works . i will check out whats happens. Thanks. – Guntis Aug 20 '10 at 10:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.