[milters] Archive

Lists Index Date Thread Search

Article: 1227
From: Quentin Campbell
Date: 2006-11-03 05:22:40 -0500
Subject: Re: ...failed to open "/etc/mail/access.db": Permission denied

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

The permissions on /etc/mail/access.db on ALL my gateways has ALWAYS
been:

-rw-r-----  1 root root 49152 Nov  3 05:01 /etc/mail/access.db
-rw-r-----  1 root root 49152 Nov  2 05:01 /etc/mail/access.db-

As a temporary measure I guess I can make the permissions 644 after the
rebuild but need to do this _before_ the milters detect that access.db
has changed.

Quentin 

>-----Original Message-----
>From: Quentin Campbell 
>Sent: 03 November 2006 10:03
>To: 'milters@milter.info'
>Subject: ...failed to open "/etc/mail/access.db": Permission denied
>
>Upgraded three mail gateways to milter-ahead 1.5.123 and added 
>milter-link 0.3.16 to them yesterday. Rest of system (RH AS4) 
>left untouched.
>
>I rebuild various /etc/mail/*.db files at 0500 each morning 
>and noticed the following in the logs of these three hosts. 
>Did not see this previously when I just ran (an earlier 
>version of) milter-ahead on these three machines. 
>
>BUT on eight other mail gateways on which I run milter-link 
>0.3.16 (but without milter-ahead) I have never experienced 
>this problem after rebuilding 'access.db'.
>
>The problem is cleared when the milters are explicitly stopped 
>then started on these three machines. Have not had to do this 
>previously. Have made the obvious checks and all is OK. What 
>am I missing?
>
>...
>Nov  3 05:01:40 cheviot52 milter-link[11192]: reopening 
>"/etc/mail/access.db"
>Nov  3 05:01:40 cheviot52 milter-link[11192]: failed to open 
>"/etc/mail/access.db": Permission denied
>Nov  3 05:01:40 cheviot52 last message repeated 12 times
>Nov  3 05:01:40 cheviot52 milter-ahead[11190]: reopening 
>"/etc/mail/access.db"
>Nov  3 05:01:40 cheviot52 milter-ahead[11190]: failed to open 
>"/etc/mail/access.db": Permission denied
>Nov  3 05:01:40 cheviot52 last message repeated 12 times
>Nov  3 05:01:41 cheviot52 milter-link[11192]: failed to open 
>"/etc/mail/access.db": Permission denied
>Nov  3 05:01:41 cheviot52 last message repeated 12 times
>Nov  3 05:01:41 cheviot52 milter-ahead[11190]: failed to open 
>"/etc/mail/access.db": Permission denied
>Nov  3 05:01:41 cheviot52 last message repeated 12 times
>Nov  3 05:01:41 cheviot52 milter-link[11192]: failed to open 
>"/etc/mail/access.db": Permission denied
>Nov  3 05:01:41 cheviot52 last message repeated 12 times
>Nov  3 05:01:41 cheviot52 milter-ahead[11190]: failed to open 
>"/etc/mail/access.db": Permission denied
>Nov  3 05:01:41 cheviot52 last message repeated 12 times
>Nov  3 05:01:41 cheviot52 sendmail[32145]: kA351Zfg032145: 
>ruleset=check_rcpt, arg1=<xxx@unn.ac.uk>, 
>relay=80.178.176.56.adsl.012.net.il [80.178.176.56], 
>reject=550 5.7.1 <xxx@unn.ac.uk>... Rejected: 80.178.176.56 
>listed at sbl-xbl.spamhaus.org; see 
>http://www.ncl.ac.uk/iss/email/reject.html
>...
>
>Thanks
>
>Quentin


Lists Index Date Thread Search