[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] /etc/mail/access



OK Dan I am going to describe exactly what changes I made to the sendmail.cf
file and the errors that I get.  I wanted to include the following lines:

# DNS based IP address spam list relays.ordb.org
R$*                     $: $&{client_addr}
R::ffff:$-.$-.$-.$-     $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
R$-.$-.$-.$-            $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
R<?>OK                  $: OKSOFAR
R<?>$+                  $#error $@ 5.7.1 $: 554 Rejected - For details see
http://ordb.org/

After I included those lines right above ###  check_mail -- check SMTP `MAIL
FROM:' command argument.

I went ahead and did this:

[root mail]# /etc/rc.d/init.d/sendmail stop
Shutting down Mail Service: sendmail ok
[root mail]# killall -9 sendmail
sendmail: no process killed
[root mail]# /etc/rc.d/init.d/sendmail start

And I get the following error when I try to restart Sendmail:

Setting up Mail Service:  sendmail554 5.0.0 /etc/mail/sendmail.cf: line
1004: invalid rewrite line "R*                     : &&" (tab expected)
554 5.0.0 /etc/mail/sendmail.cf: line 1005: invalid rewrite line
"R::ffff:-.-.-.-     : <?> (host 4.3.2.1.relays.ordb.org. : OK )" (tab
expected)
554 5.0.0 /etc/mail/sendmail.cf: line 1006: invalid rewrite line "R-.-.-.-
: <?> (host 4.3.2.1.relays.ordb.org. : OK )" (tab expected)
554 5.0.0 /etc/mail/sendmail.cf: line 1007: invalid rewrite line "R<?>OK
: OKSOFAR" (tab expected)
554 5.0.0 /etc/mail/sendmail.cf: line 1008: invalid rewrite line "R<?>+
#error @ 5.7.1 : 554 Rejected - For details see http://ordb.org/"; (tab
expected)

Why is this I don't know what to do from here so I went back to the original
Sendmail configuration.

Thanks a lot for your help!

Santiago.