OT: razor-agent.log vanishing

2003-02-09 Thread Per olof Ljungmark
Dear all,

FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22

Nobody at razor-users or SA-Talk seems to know so I thought I give it a 
try here.

I have a problem understanding how to configure the razor-agent.log. On
two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I experience
same issue: razor-agent.log stops logging for some reason
(probably me). Razor is called from Spamassassin.

Everything else works fine, SA, Razor2 checks, postfix etc. are all
without a problem but razor-agent.log is completely empty even if Razor 
does what it should.

Permissions are checked ok
Paths are checked ok
I have read all the applicable man pages
I ran razor-admin with applicable options
razor-agent.conf seems ok with correct log settings
There are no errors generated anywhere
Razorhome is properly configured

SA is 2.44, but have seen same behaviour with 2.41 and 2.43
Razor 2.22 from 2.20, same thing

I have simply ran out of options here, could somebody offer a clue on 
where to start?

TIA,
Per olof




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: OT: razor-agent.log vanishing

2003-02-09 Thread Louis LeBlanc
On 02/09/03 02:53 PM, Per olof Ljungmark sat at the `puter and typed:
 Dear all,
 
 FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22
 
 Nobody at razor-users or SA-Talk seems to know so I thought I give
 it a try here.
 
 I have a problem understanding how to configure the razor-agent.log.
 On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I
 experience same issue: razor-agent.log stops logging for some reason
 (probably me). Razor is called from Spamassassin.
 
 Everything else works fine, SA, Razor2 checks, postfix etc. are all
 without a problem but razor-agent.log is completely empty even if
 Razor does what it should.
 
 Permissions are checked ok Paths are checked ok I have read all the
 applicable man pages I ran razor-admin with applicable options
 razor-agent.conf seems ok with correct log settings There are no
 errors generated anywhere Razorhome is properly configured
 
 SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor
 2.22 from 2.20, same thing
 
 I have simply ran out of options here, could somebody offer a clue
 on where to start?

I have been trying to resort my mail configuration to include
spamassassin, running from procmail as the recipient to allow per-user
whitelists and blacklists.  So I've been hitting razor around the
perimiter myself.  The logfile location is one I haven't quite been
able to get locked down either, but check ~/.razor/ and see if it
shows up there.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Pohl's law:
  Nothing is so good that somebody, somewhere, will not hate it.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: OT: razor-agent.log vanishing

2003-02-09 Thread Per olof Ljungmark
Louis LeBlanc wrote:

On 02/09/03 02:53 PM, Per olof Ljungmark sat at the `puter and typed:


Dear all,

FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22

Nobody at razor-users or SA-Talk seems to know so I thought I give
it a try here.

I have a problem understanding how to configure the razor-agent.log.
On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I
experience same issue: razor-agent.log stops logging for some reason
(probably me). Razor is called from Spamassassin.

Everything else works fine, SA, Razor2 checks, postfix etc. are all
without a problem but razor-agent.log is completely empty even if
Razor does what it should.

Permissions are checked ok Paths are checked ok I have read all the
applicable man pages I ran razor-admin with applicable options
razor-agent.conf seems ok with correct log settings There are no
errors generated anywhere Razorhome is properly configured

SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor
2.22 from 2.20, same thing

I have simply ran out of options here, could somebody offer a clue
on where to start?



I have been trying to resort my mail configuration to include
spamassassin, running from procmail as the recipient to allow per-user
whitelists and blacklists.  So I've been hitting razor around the
perimiter myself.  The logfile location is one I haven't quite been
able to get locked down either, but check ~/.razor/ and see if it
shows up there.


No, it's not there, in fact it is nowhere. razor-home is in 
/var/spool/filter/.razor/ where everything else *except* the log (which 
is clearly defined in razor-agent.conf) shows up proper. It used to 
work, then vanished, then after running razor-admin it came back only to 
dissappear again, and I'm clueless :-(




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: OT: razor-agent.log vanishing

2003-02-09 Thread Matthew Emmerton

 Louis LeBlanc wrote:
  On 02/09/03 02:53 PM, Per olof Ljungmark sat at the `puter and typed:
 
 Dear all,
 
 FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22
 
 Nobody at razor-users or SA-Talk seems to know so I thought I give
 it a try here.
 
 I have a problem understanding how to configure the razor-agent.log.
 On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I
 experience same issue: razor-agent.log stops logging for some reason
 (probably me). Razor is called from Spamassassin.
 
 Everything else works fine, SA, Razor2 checks, postfix etc. are all
 without a problem but razor-agent.log is completely empty even if
 Razor does what it should.
 
 Permissions are checked ok Paths are checked ok I have read all the
 applicable man pages I ran razor-admin with applicable options
 razor-agent.conf seems ok with correct log settings There are no
 errors generated anywhere Razorhome is properly configured
 
 SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor
 2.22 from 2.20, same thing
 
 I have simply ran out of options here, could somebody offer a clue
 on where to start?
 
 
  I have been trying to resort my mail configuration to include
  spamassassin, running from procmail as the recipient to allow per-user
  whitelists and blacklists.  So I've been hitting razor around the
  perimiter myself.  The logfile location is one I haven't quite been
  able to get locked down either, but check ~/.razor/ and see if it
  shows up there.
 
 No, it's not there, in fact it is nowhere. razor-home is in
 /var/spool/filter/.razor/ where everything else *except* the log (which
 is clearly defined in razor-agent.conf) shows up proper. It used to
 work, then vanished, then after running razor-admin it came back only to
 dissappear again, and I'm clueless :-(

On my SA/Razor machine, every user who gets mail has a .razor directory in
their home directory (ie, /home/matt/.razor).  There is no Razor global
log file on my machine.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: OT: razor-agent.log vanishing

2003-02-09 Thread Louis LeBlanc
On 02/09/03 03:55 PM, Per olof Ljungmark sat at the `puter and typed:
  SNIP
  
  
  I have been trying to resort my mail configuration to include
  spamassassin, running from procmail as the recipient to allow per-user
  whitelists and blacklists.  So I've been hitting razor around the
  perimiter myself.  The logfile location is one I haven't quite been
  able to get locked down either, but check ~/.razor/ and see if it
  shows up there.
  
 No, it's not there, in fact it is nowhere. razor-home is in 
 /var/spool/filter/.razor/ where everything else *except* the log (which 
 is clearly defined in razor-agent.conf) shows up proper. It used to 
 work, then vanished, then after running razor-admin it came back only to 
 dissappear again, and I'm clueless :-(

What do you have in razor-agent.conf for the log filename?  It
defaults to 'razor-agent.conf', with no path.  I changed this to
/var/log/razor-agent.log and that's where it shows up now.  Keep in
mind, though, that you will be running on the config of the latest
user you ran razor-admin as.  If you did it as root, look in
/root/.razor/ for the config.  If it's not there, copy the good one
you have from /usr/local/etc/razor/ into it - until you can get it
sorted at least.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Go not to the elves for counsel, for they will say both yes and no.
-- J.R.R. Tolkien

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: OT: razor-agent.log vanishing

2003-02-09 Thread Per olof Ljungmark
Louis LeBlanc wrote:
snip

No, it's not there, in fact it is nowhere. razor-home is in 
/var/spool/filter/.razor/ where everything else *except* the log (which 
is clearly defined in razor-agent.conf) shows up proper. It used to 
work, then vanished, then after running razor-admin it came back only to 
dissappear again, and I'm clueless :-(


What do you have in razor-agent.conf for the log filename?  It
defaults to 'razor-agent.conf', with no path.  I changed this to
/var/log/razor-agent.log and that's where it shows up now.  Keep in
mind, though, that you will be running on the config of the latest
user you ran razor-admin as.  If you did it as root, look in
/root/.razor/ for the config.  If it's not there, copy the good one
you have from /usr/local/etc/razor/ into it - until you can get it
sorted at least.


This is one of two smtp-relay servers we use so there are no local 
users. I have tried both with and without the full path in 
razor-agent.conf but it makes no difference. Using 
/var/log/razor-agent.log would not work because /var/log is not writable 
by the filter user. filter is the user that SA/Razor runs under with 
/var/spool/filter as home.

Even more curious, the other server is OpenBSD and it exhibits identical 
behaviour.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: OT: razor-agent.log vanishing

2003-02-09 Thread Louis LeBlanc
On 02/09/03 04:23 PM, Per olof Ljungmark sat at the `puter and typed:
 Louis LeBlanc wrote:
 snip
 No, it's not there, in fact it is nowhere. razor-home is in 
 /var/spool/filter/.razor/ where everything else *except* the log (which 
 is clearly defined in razor-agent.conf) shows up proper. It used to 
 work, then vanished, then after running razor-admin it came back only to 
 dissappear again, and I'm clueless :-(
  
  
  What do you have in razor-agent.conf for the log filename?  It
  defaults to 'razor-agent.conf', with no path.  I changed this to
  /var/log/razor-agent.log and that's where it shows up now.  Keep in
  mind, though, that you will be running on the config of the latest
  user you ran razor-admin as.  If you did it as root, look in
  /root/.razor/ for the config.  If it's not there, copy the good one
  you have from /usr/local/etc/razor/ into it - until you can get it
  sorted at least.
 
 This is one of two smtp-relay servers we use so there are no local 
 users. I have tried both with and without the full path in 
 razor-agent.conf but it makes no difference. Using 
 /var/log/razor-agent.log would not work because /var/log is not writable 
 by the filter user. filter is the user that SA/Razor runs under with 
 /var/spool/filter as home.
 
 Even more curious, the other server is OpenBSD and it exhibits identical 
 behaviour.

Your setup is far more complex than any mail setup I have worked with.
I'm running a three user system with no relays.  Mail comes in, goes
thru procmail to cyrus, and outgoing mail only gets relayed for the
local users to the ISP relay, which requires authentication.

Even this basic setup has me scratching my head most times.

Good luck
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬

I don't think so, said René Descartes.  Just then, he vanished.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message