On Tue, 22 Sep 1998, Chris Wedgwood wrote:
On Tue, Sep 22, 1998 at 03:05:03PM +1200, Simon Blake wrote:
Mmm, have to have the A records, they're used for other services.
OK, the do something like this:
$origin city.wellington.net.nz. @ IN TXT "This domain does NOT accept mail" IN MX 5 fake
fake IN A 10.99.98.97
That way - the remote end will not be able to deliver to you, nor will it loop at their end possibly breaking their stuff.
that was pretty much what I had (sans TXT record), and it certainly is a better thing to do from a "not annoying the other end" point of view, but it still breaks the RFC - postmaster mail still doesn't get through. The advantage (that just occured to me :-) of using 127.0.0.1 is that it makes it easier to test my filtering for city.wellington.net.nz, because from the machine the box will still quite cheerfully handle mail for that host.
Agreed, it's just a pity that there is no way to flag the reverse case, when a host *does not* wish to receive mail under any circunstances, but still wants IP connectivity.
That above more or less does this, assuming remote admins are clueful and can drive dig.
Yeah, but it's a fairly ugly little hack :-).
In the circumstances, I think I'll just put up with breaking the RFC's for a while, at least until I get some SMTP filtering going to reject mail for city.wellington.net.nz as it arrives.
Its a qmail box - just use the anti-spam and not allow this site/domain.
It's not a feature of out of the box qmail, that my hurried reading of the docs could see, to drop mail based on destination - you can have a list of badmailfrom's, but not badrcptto's. You can tell a machine that it isn't the mail server for some domain, but mail directed to that machine for that domain will still go through the queue while qmail decides to bounce it, and it was the act of passing through the queue that was killing the box. In any case, this wasn't spam, just a whole bunch of bounce messages that the remote server (mainly AOL) felt legitimate in forwarding to my overwhelmed server, so standard RBL style filters wouldn't have worked anyway.
I'm really surprised is was killing the machine... qmail in no slouch, then again, you might be running solaris.
<grin> Debian Linux on a dual PPro. Qmail wasn't the problem, it was happy as a pig in mud, it was syslog flogging all the process time.
If syslog is loading the box too much, try and turn of sync. log update to those files or log mail.* to /dev/null (evil).
I installed DJB's accustamp logger, that fixed the syslog problem immediately. Cheers Si --------- To unsubscribe from nznog, send email to majordomo(a)list.waikato.ac.nz where the body of your message reads: unsubscribe nznog