[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: UPDATE: Sendmail 8.9.3 and ORDB
- Subject: Re: [cobalt-users] Re: UPDATE: Sendmail 8.9.3 and ORDB
- From: "Mike's List" <mikelist@xxxxxxx>
- Date: Wed Mar 19 12:47:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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
> .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 /
>
- 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/
>
> # 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
>