[milters] Archive

Lists Index Date Thread Search

Article: 1049
From: Jim Galley
Date: 2006-07-18 16:50:49 -0400
Subject: Re: milter-gris and Popauth.db

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

anthony:
>> Kassign macro
>
> Did you already have something in your sendmail.cf called "assign"?
>
didn't see anything. There is a kaccess entry in
sendmail-cf/feature/access_db.m4, however.

# Access list database (for spam stomping)
Kaccess ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE -T`'_ATMPF_
MAIL_SETTINGS_DIR`access',
           defn(`_ARG_'), `LDAP', `ldap -T`'_ATMPF_ -1 -v
sendmailMTAMapValue -k
(&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=access)(sendmailMTAKey=%0))',
           defn(`_NARG_'), `', `_ARG_', `_NARG_')
>> # Allow relaying if the connected host has recently POP3 authenticated.
>> R$*            $: < $&{client_addr} >            Get client IP address.
>> R< $* >         $(popip $1 $)                Check full address.
>> R$+ < MATCH >        $: $(assign {popauth_info} $@ $1 @
>> $&{client_addr} $)
>
> This should not pose an issue.
>
>> R$* < MATCH >        $#OK
>
> Could I see a sample dump of the popip.db?
>
>     $ makemap -u popip >popip.dump
>
69.000.000.0   1153244190
24.000.000.0   1153171198
127.0.0.1       1153251567

(ip numbers intentionally changed for privacy reasons)

Lists Index Date Thread Search