Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

Whitelist with Sendmail access db

2017-06-27 by markus@...

Hello!


I'm trying to get whitelisting with Sendmails access.db to work, with no luck :(

I'm using 4.6.2. The milter works just fine otherwise except for the access.db feature.


In my servers sendmail.mc i got:


dnl

dnl Milter macros (required by milter-greylist)

dnl

define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl

define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl

define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl

define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl


I also got this at the end of sendmail.mc:


dnl

dnl Required by milter-greylist

dnl

LOCAL_CONFIG

Kstorage macro

LOCAL_RULESETS

SLocal_check_rcpt

R$+ $: $(storage {greylist} $) $&{client_addr}

R$+ $: $>A <$1> <?> <+Connect> <$1>

R<$+> <$*> $: $(storage {greylist} $@ $1 $) $2


As mentioned in the documentation, I made sure to use tabs in front om the $:


I'm not really sure what the exact syntax is suppost to be in the access file. I've tried a few variations.

My last bet was this:


Connect:example.com OK


Also tried:


Connect:example.com WHITE


Nothing seems to work, incoming messages are treated by the normal racl rules and seems to be ignored by the acceess.db whitelisting.


Is there anyone with a working configuration who can provide some help what I'm missing or doing wrong?


(And yes, I do rebuild sendmail.cf and access.db and restart Sendmail between changes while testing...)


Thank you!

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.