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

[cobalt-users] Re: UPDATE: Sendmail 8.9.3 and ORDB



On Wed, 19 Mar 2003 14:44:38 -0600 (CST), you wrote:

>Ok, I think editing the sendmail.cf directly works...however, am I doing
>the test correctly??? or am I missing some sort of 127.0.0.2 in my DNS?
>or setup 127.0.0.2 somewhere in my DNS?
>
>~$ sendmail -bt -C /etc/mail/sendmail.cf
>
>Enter <ruleset> <address>
>> .D{client_addr}127.0.0.1
>> Basic_check_relay <>
>rewrite: ruleset 190   input: < >
>rewrite: ruleset 190 returns: OKSOFAR

This is fine

>> .D{client_addr}127.0.0.2
>> Basic_check_relay <>
>rewrite: ruleset 190   input: < >
>rewrite: ruleset 190 returns: $# error $@ 5 . 7 . 1 $: Rejected - see http : / / relays . osirusoft . com /
>>

This is also ok - what I get! I know it works because every day I process the maillog and can see something like 200+
message rejected because of osirusoft open relays and 80 - 100 blocked because of Spamcop!

When I looked back at Parkers notes, it shows that 127.0.0.2 should give
you the error you see.

>
>
>- Mike
>
>On Wed, 19 Mar 2003, Peter Frederick wrote:
>
>> On Wed, 19 Mar 2003 13:50:47 -0600 (CST), you wrote:
>> 
>> >I think I found the .mc file, it's located in the "source" directory of
>> >/etc/mail/sendmail-8.9.3/cf/cf --have to make;make install after I make
>> >the changes.  Like I said, this wasn't setup by me, so I have to "look
>> >around" quite a bit.
>> 
>> Just backup your original sendmail.cf
>> Build your new one
>> Diff the new and old 
>> If you've got it right the only differences will be in a block like:
>> 
>> # DNS based IP address spam list relays.osirusoft.com
>> R$*                     $: $&{client_addr}
>> R::ffff:$-.$-.$-.$-     $: <?> $(host $4.$3.$2.$1.relays.osirusoft.com. $: OK $)
>> R$-.$-.$-.$-            $: <?> $(host $4.$3.$2.$1.relays.osirusoft.com. $: OK $)
>> R<?>OK                  $: OKSOFAR
>> R<?>$+                  $#error $@ 5.7.1 $: Rejected - see http://relays.osirusoft.com/

Maybe this last line should really be

R<?>$+                  $#error $@ 5.7.1 $: "Rejected - see http://relays.osirusoft.com/";

It may be a little pedantic - I could have made a mistake reading Parkers notes or the documentation at Sendmail.
Probably you would have to go to sendmail.org to really check it but it certainly works either way.

>> 
>> # DNS based IP address spam list bl.spamcop.net
>> R$*                     $: $&{client_addr}
>> R::ffff:$-.$-.$-.$-     $: <?> $(host $4.$3.$2.$1.bl.spamcop.net. $: OK $)
>> R$-.$-.$-.$-            $: <?> $(host $4.$3.$2.$1.bl.spamcop.net. $: OK $)
>> R<?>OK                  $: OKSOFAR
>> R<?>$+                  $#error $@ 5.7.1 $: "Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}
>> 
>> YMMV - Sendmail versions etc etc - Caveat Empor
>> 
>> If the new one doesn't work, just put the old one back, restart sendmail
>> No harm No foul (No runs....)
>> 
>> Peter
>> 
>> >
>> >
>> >- Mike
>> >
>> >
>> >_____________________________________
>> >cobalt-users mailing list
>> >cobalt-users@xxxxxxxxxxxxxxx
>> >To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
>> >http://list.cobalt.com/mailman/listinfo/cobalt-users
>> 
>> -- 
>> Peter Frederick
>> MIS Director, Indiana Packers Corp, Delphi IN
>> Phone: (765) 564-9705   Fax: (765) 564-3684
>> Work: pfred@xxxxxxxxx   (Qube3 Professional running 6.4)
>> ============================================================================
>> 'Tis better to light one candle than to curse the darkness a thousand times!
>> 
>> _____________________________________
>> cobalt-users mailing list
>> cobalt-users@xxxxxxxxxxxxxxx
>> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
>> http://list.cobalt.com/mailman/listinfo/cobalt-users
>> 
>

-- 
Peter Frederick
MIS Director, Indiana Packers Corp, Delphi IN
Phone: (765) 564-9705   Fax: (765) 564-3684
Work: pfred@xxxxxxxxx
Home: pjfred@xxxxxxxxxxxxx
============================================================================
'Tis better to light one candle than to curse the darkness a thousand times!