Queue problem

Maxime Gaudreault mgaudreault at reference.qc.ca
Wed Mar 5 20:48:09 GMT 2008


postfix is not chrooted

Maxime Gaudreault
Technicien
                                                  
Référence Systèmes inc.
Tél. : 418.650.0997
Téléc. : 418.650.9668
Courriel : mgaudreault at reference.qc.ca
Site Internet : http://www.reference.qc.ca/



-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Denis Beauchemin
Sent: March 5, 2008 2:47 PM
To: MailScanner discussion
Subject: Re: Queue problem

Maxime Gaudreault a écrit :
> It doesn't work even with rwxrwxrwx for /etc/razor
>
> Maxime Gaudreault
> Technicien
>                                                   
> Référence Systèmes inc.
> Tél. : 418.650.0997
> Téléc. : 418.650.9668
> Courriel : mgaudreault at reference.qc.ca
> Site Internet : http://www.reference.qc.ca/
>
>
>
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Scott Silva
> Sent: March 5, 2008 1:11 PM
> To: mailscanner at lists.mailscanner.info
> Subject: Re: Queue problem
>
> on 3-5-2008 8:26 AM Maxime Gaudreault spake the following:
>   
>> I reinstalled razor2 v2.84 using razor-admin -create and razor-admin 
>> -register
>>
>> 11:19:46 [1345] dbg: razor2: razor2 is available, version 2.84
>> 11:19:54 [1345] dbg: rules: compiled full tests
>> 11:19:54 [1345] dbg: info: entering helper-app run mode
>> 11:20:04 [1345] dbg: info: leaving helper-app run mode
>> 11:20:04 [1345] dbg: razor2: razor2 check timed out after 10 seconds
>>
>> razor-agent.log:
>>
>> Mar 05 11:19:54.378480 check[1345]: [ 2] [bootup] Logging initiated 
>> LogDebugLevel=5 to file:/var/log/razor-agent.log Mar 05 
>> 11:19:54.378768 check[1345]: [ 5] computed razorhome=, 
>> conf=/etc/razor/razor-agent.conf, ident=identity Mar 05 
>> 11:19:54.379383 check[1345]: [ 5] read_file: 1 items read from 
>> /etc/razor/servers.discovery.lst Mar 05 11:19:54.379648 check[1345]: [ 
>> 5] read_file: 4 items read from /etc/razor/servers.nomination.lst Mar 
>> 05 11:19:54.379929 check[1345]: [ 5] read_file: 5 items read from /etc/razor/servers.catalogue.lst Mar 05 11:19:54.381043 check[1345]: [ 5] 151679 seconds before closest server discovery Mar 05 11:19:54.381314 check[1345]: [ 5] no razorhome, not caching server info to disk Mar 05 11:19:54.383995 check[1345]: [ 5] Connecting to c303.cloudmark.com ...
>> Mar 05 11:19:57.454347 check[1345]: [ 4] c303.cloudmark.com >> 36 
>> server greeting: sn=C&srl=5426&a=1&a=cg&ep4=7542-10^M
>> Mar 05 11:19:57.454748 check[1345]: [ 4] c303.cloudmark.com << 25 Mar 
>> 05 11:19:57.454976 check[1345]: [ 4] c303.cloudmark.com << 14 Mar 05 
>> 11:19:57.542496 check[1345]: [ 4] c303.cloudmark.com >> 264 Mar 05 
>> 11:19:57.543777 check[1345]: [ 5] Updated to new server state srl 5426 
>> for server c303.cloudmark.com Mar 05 11:19:57.544120 check[1345]: [ 5] 
>> no razorhome, not caching server info to disk Mar 05 11:19:57.544201 check[1345]: [ 5] srl was updated, forcing discovery ...
>> Mar 05 11:19:57.544352 check[1345]: [ 5] 167265 seconds before closest 
>> server discovery Mar 05 11:19:57.544427 check[1345]: [ 5] forcing 
>> discovery Mar 05 11:19:57.544681 check[1345]: [ 5] disconnecting from 
>> server c303.cloudmark.com Mar 05 11:19:57.544857 check[1345]: [ 4] 
>> c303.cloudmark.com << 5 Mar 05 11:19:57.545013 check[1345]: [ 5] Connecting to discovery.razor.cloudmark.com ...
>> Mar 05 11:19:57.581489 check[1345]: [ 4] discovery.razor.cloudmark.com 
>>     
>>>> 35 server greeting: sn=D&srl=551&a=1&a=cg&ep4=7542-10^M
>>>>         
>> Mar 05 11:19:57.581731 check[1345]: [ 4] discovery.razor.cloudmark.com 
>> << 12 Mar 05 11:19:57.632396 check[1345]: [ 4] 
>> discovery.razor.cloudmark.com >> 111 Mar 05 11:19:57.632831 
>> check[1345]: [ 4] discovery.razor.cloudmark.com << 12 Mar 05 
>> 11:19:57.647953 check[1345]: [ 4] discovery.razor.cloudmark.com >> 91 
>> Mar 05 11:19:57.648340 check[1345]: [ 5] disconnecting from server 
>> discovery.razor.cloudmark.com Mar 05 11:19:57.648496 check[1345]: [ 4] 
>> discovery.razor.cloudmark.com << 5 Mar 05 11:19:57.648631 check[1345]: 
>> [ 5] no razorhome, not caching server info to disk Mar 05 11:19:57.648957 check[1345]: [ 5] mail 1.0 e8 got no sig Mar 05 11:19:57.649071 check[1345]: [ 5] Connecting to c303.cloudmark.com ...
>>
>> It still says no razorhome but look at /etc/razor/razor-agent.conf:
>>
>> debuglevel             = 5
>> identity               = identity
>> ignorelist             = 0
>> listfile_catalogue     = /etc/razor/servers.catalogue.lst
>> listfile_discovery     = /etc/razor/servers.discovery.lst
>> listfile_nomination    = /etc/razor/servers.nomination.lst
>> logfile                = /var/log/razor-agent.log
>> logic_method           = 4
>> min_cf                 = ac
>> razordiscovery         = discovery.razor.cloudmark.com
>> razorhome              = /etc/razor
>> rediscovery_wait       = 172800
>> report_headers         = 1
>> turn_off_discovery     = 0
>> use_engines            = 4,8
>> whitelist              = razor-whitelist
>>
>>
>>
>> Maxime Gaudreault
>> Technicien
>>                                                   
>>     
> OK. Maybe the /etc/razor directory doesn't have write access by whatever user calls razor. But it seems strange that razor can't write its cache, but can write to the logfile.
>
> --
> MailScanner is like deodorant...
> You hope everybody uses it, and
> you notice quickly if they don't!!!!
>
>   
Maxime,

If your postfix is chrooted it may not even see /etc/razor...

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x62252 F: 819.821.8045


-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list