From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731112160.tru64-unix-managers.marc@archive.invalid> From: "Zbigniew, Ignatowicz" Date: Sun, 27 Dec 1998 15:13:09 +0000 To: tru64-unix-managers Subject: Implementing check_rcpt ruleset in sendmail 8.8.8. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078731112160 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_001_01BE31AB.6A4BB94E Content-Type: text/plain HI, I upgraded recently to DU 4.E with sendmail 8.8.8. I am trying to modify the sendmail configuration to include a anti-relay stuff, but it only works partially. I am implementing Mr. Assmann set of rules. The locaIP portion works, but can't get to RelayTo portion to work. The mail is not going through. I also tried others, and still no luck. The same results. I am getting "??" instead of <@> Any suggestion will be much appreciated. Ziggy # sendmail -bt -d21.4 WARNING: writable directory /var WARNING: writable directory /var WARNING: writable directory /var WARNING: writable directory /var WARNING: writable directory /var ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter
check_rcpt rewrite: ruleset 199 input: < zignatowicz @ scc . ca > rewrite: RHS $&client_addr => "1.2.3.4" rewritten as: 1 . 2 . 3 . 4 $| < zignatowicz @ scc . ca > -----callsubr 3 (3) rewrite: ruleset 3 input: < zignatowicz @ scc . ca > rewritten as: < zignatowicz @ scc . ca > ?? <-------------------- rewritten as: < zignatowicz @ scc . ca > rewritten as: zignatowicz @ scc . ca rewritten as: zignatowicz < @ scc . ca > -----callsubr 7 (7) rewrite: ruleset 7 input: zignatowicz < @ scc . ca > rewrite: ruleset 7 returns: zignatowicz < @ scc . ca > rewritten as: zignatowicz < @ scc . ca > rewrite: ruleset 3 returns: zignatowicz < @ scc . ca > rewritten as: zignatowicz < @ scc . ca > -----callsubr removelocal (198) rewrite: ruleset 198 input: zignatowicz < @ scc . ca > rewritten as: zignatowicz < @ scc . ca > rewrite: ruleset 198 returns: zignatowicz < @ scc . ca > rewritten as: zignatowicz < @ scc . ca > rewritten as: $# error $@ 5 . 7 . 1 $: 550 we do not relay rewrite: ruleset 199 returns: $# error $@ 5 . 7 . 1 $: 550 we do not relay ------ =_NextPart_001_01BE31AB.6A4BB94E Content-Type: text/html Content-Transfer-Encoding: quoted-printable Implementing check_rcpt ruleset in sendmail 8.8.8.

HI,

I upgraded recently to DU 4.E with = sendmail 8.8.8.
I am trying to modify the sendmail = configuration to include a anti-relay stuff, but it only works = partially. I am implementing Mr. Assmann set of rules. The locaIP = portion works, but can't get to RelayTo portion to work. The mail is = not going through. I also tried others, and still no luck. The same = results.

I am getting "??" instead of = <@>

Any suggestion will be much = appreciated.

Ziggy



# sendmail -bt -d21.4
WARNING: writable directory = /var
WARNING: writable directory = /var
WARNING: writable directory = /var
WARNING: writable directory = /var
WARNING: writable directory = /var
ADDRESS TEST MODE (ruleset 3 NOT = automatically invoked)
Enter <ruleset> = <address>

 check_rcpt = <zignatowicz@scc.ca>
rewrite: ruleset 199   = input: < zignatowicz @ scc . ca >
rewrite: RHS $&client_addr = =3D> "1.2.3.4"
rewritten as: 1 . 2 . 3 . 4 $| < = zignatowicz @ scc . ca >
-----callsubr 3 (3)
rewrite: ruleset   = 3   input: < zignatowicz @ scc . ca >
rewritten as: < zignatowicz @ scc = . ca > ??        = <--------------------  
rewritten as: < zignatowicz @ scc = . ca >
rewritten as: zignatowicz @ scc . = ca
rewritten as: zignatowicz < @ scc = . ca >
-----callsubr 7 (7)
rewrite: ruleset   = 7   input: zignatowicz < @ scc . ca >
rewrite: ruleset   7 = returns: zignatowicz < @ scc . ca >
rewritten as: zignatowicz < @ scc = . ca >
rewrite: ruleset   3 = returns: zignatowicz < @ scc . ca >
rewritten as: zignatowicz < @ scc = . ca >
-----callsubr removelocal = (198)
rewrite: ruleset 198   = input: zignatowicz < @ scc . ca >
rewritten as: zignatowicz < @ scc = . ca >
rewrite: ruleset 198 returns: = zignatowicz < @ scc . ca >
rewritten as: zignatowicz < @ scc = . ca >
rewritten as: $# error $@ 5 . 7 . 1 = $: 550 we do not relay
rewrite: ruleset 199 returns: $# = error $@ 5 . 7 . 1 $: 550 we do not relay
 

------ =_NextPart_001_01BE31AB.6A4BB94E--