[milters] Archive

Lists Index Date Thread Search

Article: 1831
From: Ben Spencer
Date: 2008-02-01 07:08:20 -0500
Subject: access.db check issues? (milter-gris)

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

Ran into an interesting situation yesterday. I attempted to whitelist
someone from milter-gris. Before adding it, I checked the logs and grabbed
the details I wanted. I updated the access file and rebuilt the database.
Then had another test email come in. Doesn't appear the changes I made to
the access file were actually implemented.
Logs from after the access.db modification:
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: 35482
m0VKVcqI010950: address='bounced-oum-355261951-16239@mail.southwest.com'
localleft='bounced-oum-355261951-16239' localright=''
domain='mail.southwest.com' auth='(NULL)'
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: map="access"
key=63:"milter-gris-from:bounced-oum-355261951-16239@mail.southwest.com"
value=""
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: map="access"
key=35:"milter-gris-from:mail.southwest.com" value=""
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: map="access"
key=30:"milter-gris-from:southwest.com" value=""
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: map="access"
key=20:"milter-gris-from:com" value=""
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: map="access"
key=17:"milter-gris-from:" value="" rc=-2
2008 Jan 31 14:31:38 mailgl [mail.debug] milter-gris[28496]: 35482
m0VKVcqI010950: enter smfAccessPattern(95873d0,
"bounced-oum-355261951-16239@mail.southwest.com", "(NULL)...", 0)

Access file line:
-bash-3.00$ grep "milter-gris-from:mail.southwest.com" /etc/mail/access
milter-gris-from:mail.southwest.com             OK

Access file was updated:
-bash-3.00$ ls -l /etc/mail/access*
-rw-r--r--  1 root root  11275 Jan 31 14:05 /etc/mail/access
-rw-r--r--  1 root smmsp 12288 Jan 31 14:05 /etc/mail/access.db

Versions:
libsnert 1.66.949
milter-gris 0.21.115

Thoughts?

---
Benji Spencer
System Administrator
Ph: 312-329-2288



-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s



Lists Index Date Thread Search