Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2003 10:29:55 -0500
From:      Louis LeBlanc <leblanc+freebsd@keyslapper.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: OT: razor-agent.log vanishing
Message-ID:  <20030209152955.GE71721@keyslapper.org>
In-Reply-To: <3E46727C.5040508@intersonic.se>
References:  <3E465D6A.4030405@intersonic.se> <20030209144225.GA71721@keyslapper.org> <3E466BEB.4010201@intersonic.se> <20030209151033.GC71721@keyslapper.org> <3E46727C.5040508@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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               leblanc@keyslapper.org
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209152955.GE71721>