From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731112163.tru64-unix-managers.marc@archive.invalid> From: Fabiano Del Gaudio Date: Mon, 28 Dec 1998 10:47:24 +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=96078731112163 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