tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Zbigniew, Ignatowicz" <zignatowicz () scc ! ca>
To: tru64-unix-managers
Subject: Implementing check_rcpt ruleset in sendmail 8.8.8.
Date: Sun, 27 Dec 1998 15:13:09 +0000	[thread overview]
Message-ID: <96078731112160.tru64-unix-managers.marc@archive.invalid> (raw)

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 <ruleset> <address>

 check_rcpt <zignatowicz@scc.ca>
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.1960.3">
<TITLE>Implementing check_rcpt ruleset in sendmail 8.8.8.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">HI,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I upgraded recently to DU 4.E with =
sendmail 8.8.8.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">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.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am getting &quot;??&quot; instead of =
&lt;@&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Any suggestion will be much =
appreciated.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Ziggy</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial"># sendmail -bt -d21.4</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">WARNING: writable directory =
/var</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">WARNING: writable directory =
/var</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">WARNING: writable directory =
/var</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">WARNING: writable directory =
/var</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">WARNING: writable directory =
/var</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ADDRESS TEST MODE (ruleset 3 NOT =
automatically invoked)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Enter &lt;ruleset&gt; =
&lt;address&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;check_rcpt =
&lt;zignatowicz@scc.ca&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset 199&nbsp;&nbsp; =
input: &lt; zignatowicz @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: RHS $&amp;client_addr =
=3D&gt; &quot;1.2.3.4&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: 1 . 2 . 3 . 4 $| &lt; =
zignatowicz @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-----callsubr 3 (3)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset&nbsp;&nbsp; =
3&nbsp;&nbsp; input: &lt; zignatowicz @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: &lt; zignatowicz @ scc =
. ca &gt; ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;--------------------&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: &lt; zignatowicz @ scc =
. ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: zignatowicz @ scc . =
ca</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: zignatowicz &lt; @ scc =
. ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-----callsubr 7 (7)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset&nbsp;&nbsp; =
7&nbsp;&nbsp; input: zignatowicz &lt; @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset&nbsp;&nbsp; 7 =
returns: zignatowicz &lt; @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: zignatowicz &lt; @ scc =
. ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset&nbsp;&nbsp; 3 =
returns: zignatowicz &lt; @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: zignatowicz &lt; @ scc =
. ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-----callsubr removelocal =
(198)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset 198&nbsp;&nbsp; =
input: zignatowicz &lt; @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: zignatowicz &lt; @ scc =
. ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset 198 returns: =
zignatowicz &lt; @ scc . ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: zignatowicz &lt; @ scc =
. ca &gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewritten as: $# error $@ 5 . 7 . 1 =
$: 550 we do not relay</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rewrite: ruleset 199 returns: $# =
error $@ 5 . 7 . 1 $: 550 we do not relay</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
</P>

</BODY>
</HTML>
------ =_NextPart_001_01BE31AB.6A4BB94E--

             reply	other threads:[~1998-12-27 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-27 15:13 Zbigniew, Ignatowicz [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-12-28 10:47 Implementing check_rcpt ruleset in sendmail 8.8.8 Fabiano Del Gaudio
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox