🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #13

Re: Versions of KA9Q that do not relay

#13
From: Richard Clayton
Date: Mon, 13 Dec 1999 00:00
40 lines
2056 bytes
In article <944937816snz@pdlmail.demon.co.uk>, pete$no$pam@pdlmail.demon
.co.uk writes

>In article <mot6soKhwcO4EAfo@turnpike.com>
>           richard@turnpike.com "Richard Clayton" writes:
>
>> I understand some versions of KA9Q have inbuilt schemes/commands to
>> prevent unauthorised SMTP mail relaying (this can only be achieved on
>> the Demon version by complex rewrite files).
>
>Apologies for the delay in following up here, but the issue
>seems to cropping up in d.i.s.pc again...
>
>Are those "complex rewrite rules" published anywhere?

on Usenet...

#stop relaying on a machine in a domain called sample.co.uk
*@*.*.* $1+++$2---$3---$4@no-relay r
*@*.*   $1+++$2---$3@no-relay r
#allow ourselves plus subdomains
*+++sample---co---uk@no-relay $1+++@ok-relay r
*+++*.sample---co---uk@no-relay $1+++@ok-relay r
#rewrite unauthorized
*@no-relay norelay@ok-relay r
#now remove dots from local parts
*.*+++@ok-relay $1_$2+++@ok-relay r
#and remove any source routes
@*:*+++*@ok-relay $2
#and can now deliver things!
*+++*@ok-relay $1
*+++@ok-relay $1
*@ok-relay $1

this will put all mail into norelay instead of relaying it

-- 
richard @ turnpike . com                         "Nothing seems the same
                          Still you never see the change from day to day
                                And no-one notices the customs slip away"
Technical Details
Message-ID: <QgF3uuHtXXV4EAQ0@turnpike.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <mot6soKhwcO4EAfo@turnpike.com> <944937816snz@pdlmail.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,513bd02ed1908228
X-Google-Attributes: gid10bb05,public
From: Richard Clayton <richard@turnpike.com>
Subject: Re: Versions of KA9Q that do not relay
Date: 1999/12/13
Message-ID: <QgF3uuHtXXV4EAQ0@turnpike.com>
X-Deja-AN: 560280805
X-NNTP-Posting-Host: rnc-portable.turnpike.com:194.70.55.161
References: <mot6soKhwcO4EAfo@turnpike.com> <944937816snz@pdlmail.demon.co.uk>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 945125063 nnrp-10:16118 NO-IDENT rnc-portable.turnpike.com:194.70.55.161
Organization: Turnpike Ltd
MIME-Version: 1.0
Newsgroups: demon.ip.developers