Are all the users local to your machine (they do not connect with SMTP to send 
mail)? If so, I reckon you could just have your MTA block any incoming mail 
that seems to be coming from your domain.

If your users do need to SMTP to your server, you could set up an internal and 
an external MTA on your box. Have them listen to different interfaces. Instruct 
your external MTA to reject any mail from your domain. Set up the internal as 
relay and instruct your users to connect to that one.

-Sietse



From: Steven W. Orr
Sent: Tue 28-Nov-06 17:33
To: John D. Hardin
Cc: spamassassin-users
Subject: Re: Problem with spam from non-existant users of my domain.


On Tuesday, Nov 28th 2006 at 08:09 -0800, quoth John D. Hardin:

=>On Tue, 28 Nov 2006, Steven W. Orr wrote:
=>
=>> Spam comes in to steveo from [EMAIL PROTECTED] and I want to
=>> reject it because it's coming from an address that doesn't exist.
=>> Sendmail does not support this; i.e., it can only reject mail *to*
=>> an address that doesn't exist.
=>> 
=>> Is there a way to do this?
=>
=>First off, what exactly do you mean by "does not exist"? The domain
=>is not registered? Or the username is not valid within the domain?

Sorry, I was afraid this might not be clear. I want to find a way to 
reject/tag all messages that come From the syslang.net domain (I am that 
domain) which are From a user which does not exist. I'm not talking about 
messages coming in that have a From address that is not syslang.net.

One more example to be clearerer. This message came in from someplace in 
Russia (maybe), to syslang.net and claims to come from bs at syslang.net. 
I don't have a bs on my machine. If it helps, I'd even be willing to 
create a file with a list of all of my valid account names.

Return-Path: <[EMAIL PROTECTED]>
Received: from tz-fryanovo.inet.tz.ru (tz-fryanovo.inet.tz.ru 
[194.149.234.69]
    (may be forged))
    by saturn.syslang.net (8.13.8/8.13.7) with SMTP id kAKGJ9ga011350
    for <[EMAIL PROTECTED]>; Mon, 20 Nov 2006 11:19:14 -0500
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from [194.149.234.69] (port=49041 helo=tz-fryanovo.inet.tz.ru)
        by syslang.net with esmtp 
        id 623446-623446-36
        for [EMAIL PROTECTED]; Mon, 20 Nov 2006 19:19:00 +0300 (EET)
Message-ID: <[EMAIL PROTECTED]>
From: "Grant" <[EMAIL PROTECTED]>
To: "Della" <[EMAIL PROTECTED]>
Subject: quality loans simplified
Date: Mon, 20 Nov 2006 19:19:00 +0300 (EET)
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="----=_NextPart_001_5E14_01C70CBF.964F8870"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Antivirus: avast! (VPS 0649-2, 20.11.2006), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, hits=-83.5 required=5.0 
tests=HTML_MESSAGE,URIBL_AB_SURBL,
    URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SC_SURBL,
    USER_IN_WHITELIST autolearn=no version=3.1.7
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on 
saturn.syslang.net
Parts/Attachments:

So this idea is to reject all mail from invalid accounts that claim to be 
coming from my own domain.

=>
=>Sendmail does have configuration to ensure mail from domains that fail
=>a DNS lookup (e.g. the domain does not exist) is not accepted. This is
=>the default behavior; if you have defined
=>FEATURE(`accept_unresolvable_domains') in your sendmail.mc you have
=>disabled it.

I'm all set here. Sendmail is fine. :-)


-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

Reply via email to