Razor log file in Postfix hold queue

Ed Bruce edwardbruce at sbcglobal.net
Tue Sep 5 14:28:15 IST 2006


Glenn Steen wrote:
> On 01/09/06, Dhawal Doshy <dhawal at netmagicsolutions.com> wrote:
>> Quoting Mike Jakubik <mikej at rogers.com>:
>>
>> > Ed Bruce wrote:
>> >> Mike Jakubik wrote:
>> >>
>> >>> Douglas Ward wrote:
>> >>>
>> >>>> Does anyone know how to make Razor stop putting its log file
>> into the
>> >>>> postfix hold queue?  I have checked every file I can find using
>> >>>> slocate and cannot find the setting.  Any advice would be most
>> >>>> appreciated.  Thanks!
>> >>>>
>> >>> Just create a .razor directory in /var/spool/postfix and you're set.
>> >>>
>> >>>
>> >> I did this, restarted MailScanner and it stills creates a the log
>> in the
>> >> hold directory.
>> >>
>> >
>> > Did you create ".razor" or "razor" ? Also, you can specify the
>> location
>> > with razor_config in your spamssassin config file.
>>
>> Use the following commands to configure razor for SA, replace
>> '/etc/mail/spamassassin/' with your preferred path.
>> # razor-admin -home=/etc/mail/spamassassin/.razor -create
>> # razor-admin -home=/etc/mail/spamassassin/.razor -discover
>> Pause for a while before you give the below command (10-15 seconds)
>> # razor-admin -home=/etc/mail/spamassassin/.razor -register
>>
>> Add to /etc/mail/spamassassin/.razor/razor-agent.conf the following
>> line.
>> razorhome              = /etc/mail/spamassassin/.razor
>>
>> Add to /etc/mail/spamassassin/mailscanner.cf, the following line.
>> razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
>>
>> - dhawal
>
> All nice and so. But Mikes advice actually works too, since one would
> then be creating it in the default place ($HOME/.razor), all provided
> one make sure that the postfix user can write it...:-). Always another
> way.....:-)
Well, I tried Mikes (I used .razor) and I didn't get it to work. I tried
Dhawal's method and it worked. Thanks go to both.


More information about the MailScanner mailing list