From: amason on
Here's my situation:

Sendmail 8.12.9 on OpenBSD. The OpenBSD package adds the following
lines to the end of sendmail.mc

dnl
dnl Enforce valid Message-Id to help stop spammers
dnl
LOCAL_RULESETS
HMessage-Id: $>CheckMessageId

SCheckMessageId
R< $+ @ $+ > $@ OK
R$* $#error $: 550 Invalid Message-ID header

Which seems like a great idea. However, I'd like to receive mail from
a broken domain (they don't put <> around their Message-IDs). So far,
adding that domain (and IPs) to the access_db hasn't helped, nor has
adding FEATURE(delay_checks), nor has setting them as a SpamFriend.

Can anyone suggest an easy fix (besides removing the check?)

Thanks,
Andy
From: Sciurus on

LOCAL_RULESETS
HMessage-Id: $>CheckMessageId

SCheckMessageId
R$*
R< $+ @ $+ >                $@ OK
R$*                 $#error $: 550 Invalid Message-ID header
From: Sciurus on
LOCAL_RULESETS
HMessage-Id: $>CheckMessageId

SCheckMessageId
R$* $: <$&{client_addr}> $| $1
R<1.2.3.4>$| $* $@OK

R<$*> $| $* $: <$&{client_name}> $| $2
R<host.domain.net>$| $* $@OK

R<$*> $| $* $: $2
R< $+ @ $+ > $@ OK
R$* $#error $: 550 Invalid Message-ID header