[636] in RedHat Linux List
Sendmail tips
daemon@ATHENA.MIT.EDU (Scott Lampert)
Wed Oct 23 18:50:13 1996
From: Scott Lampert <fortunato@ioa.com>
To: redhat-list@redhat.com
Date: Wed, 23 Oct 1996 18:48:12 -0400 (EDT)
In-Reply-To: <199610220759.JAA04531@felix.abc.se> from "Peter Antman" at Oct 22, 96 09:59:14 am
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
[excellent info snipped ]
>Define the userdatabase i a K-macro as well, like this:
># Define our usrdb file for Pine (and hopefully exmh) rewrites
>Kuserdb btree -o /etc/userdb.db
>
>
>And the, a am sorry, you have to write I set of S1 rewriting rules:
>
>###########################################################################
>### Ruleset 1, rewrite sender header & envelope ###
>###########################################################################
>#Thanks to Bjart Kvarme <bjart.kvarme@usit.uio.no>. From FAQ
>S1
>R$- < @ $=w . > $* $: $1 < @ $2 . > $3 ?? $1 username@localhost ?
>R$+ ?? $+ $: $1 ?? $(userdb $2 : mailname $: @ $)
>R$+ ?? @ $@ $1 Not found
>R$+ ?? $+ $>3 $2 Found, rewrite
>
>#NOTE ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
># Use Tab Characters Use Tab Characters in these regions
># to make three columns (the line with "mailname" only has 2 columns).
>
>Greetings
>Peter
>
Thanks a lot! That was incredibly helpful. I'm still waiting on my
copy of O'Reilly's sendmail book so this was just in time. I assume that
the above mentioned rules get appended to what is currently at ruleset S1 or
is it a complete replacement for it? Thanks,
-Scott
--
Scott Lampert
fortunato@ioa.com
http://www.ioa.com/~fortunato
"Sing the Hare Hare, Dance the Hoochie Koo"
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null