Hi,
Am Don den 22. Februar 2007 um 13:45 Uhr schrieb manu@...:
> Georg Horn <horn@...> wrote:
>
> > Yes, that would sure be the optimal solution! Any sendmail expert out
> > there, who could help?!
> If you can manage to have sendmail setting a macro, then the sm_macro
> clause in ACL should do the last part of the work.
That's not needed here. The code in mlfi_envrcpt() just returns
SMFIS_CONTINUE if the value of the macro is "WHITE", so no further
fiddling with ACLs is neccessary. ;-)
With the help of some folks from comp.mail.sendmail, i finally found
the solution for setting the macro (tweaking sendmails config is
really a pain in the ass... ;-)
Attached you'll find a small patch for milter-greylist.c that makes
mlfi_envrcpt() return SMFIS_CONTINUE if the macro {greylist} contains
one of the values "WHITE", "RELAY", or "OK", and a patch for the
README that contains the rules that must be added to sendmail.cf.
I'd be happy if you would integrate this patch into the current
develeopment version.
Thanks for listening,
GeorgMessage
Re: [milter-greylist] Re: How to whitelist with access.db?
2007-02-28 by Georg Horn
Attachments
- No local attachments were found for this message.