Raymond Blum wrote:
> Hi
> I was sure this would be a FAQ, but I can't find it on sendmail.org,
> so...
>
> How can I specify an address for invalid/nonexistent recipients at my
> domain? I'm running sendmail 8.9.3.
Add the following lines:
# send unrecognized local users to another address
R$+ $: <> $(user $1 $) look up user
R<> $+ <> $: $1 found; strip markers
R<> $+ $#local $@ $&h $: default not found; redirect
to ruleset 5, immediately before the line:
# prepend an empty "forward host" on the front
You also need to ensure that sendmail.cf contains a definition for the
"user" map. This is normally done by the lines:
# place to which unknown users should be forwarded
Kuser user -m -a<>
DL
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]