Razor log file in Postfix hold queue
Glenn Steen
glenn.steen at gmail.com
Fri Sep 1 22:29:31 IST 2006
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.....:-)
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list