Re: [Mimedefang] HOME=/var/spool/MIMEDefang

2006-11-15 Thread Kris Deugau

Yizhar Hurwitz wrote:

My bayes and awl databased are stored at:
/home/defang/.spamassassin

In /etc/mail/sa-mimedefang.cf I have:

auto_whitelist_path /home/defang/.spamassassin/auto-whitelist
bayes_path /home/defang/.spamassassin/bayes

BTW - On most of the servers, /var/spool/MIMEDefang is a ram drive.

So my question is - should I use the new suggested 
/etc/init.d/mimedefang file "as is",


or change it to:

HOME=/home/defang (or /home/defang/.spamassassin)
export HOME


You can *probably* use it as-is, without trouble from SA itself.

However, any *other* helper that SA may call, or that you call from MD, 
will, unless explicitly told, use /var/spool/MIMEDefang for $HOME.  On 
the whole, this is probably a good thing.


(Unless I've completely misunderstood what sort of cascading effects 
this might have.)


I simply don't understand what is the exact effect of this settings - is 
it used for temporary lock files and such,


or is it also used for storing SA databases such as bayes and awl?


*If* no $HOME is clearly defined, and there are no explicit paths set 
for SA's various databases, then SA will use it.  Lockfiles and other 
bits relating to the Bayes and AWL files (but not the actual database 
files themselves) will be stored in the same directory as the database 
files.


However, other helper programs and calls (Razor is or was particularly 
bad for this) will tend to spew miscellaneous data in some truly *odd* 
places if $HOME isn't well-defined.  (I have one server that accumulates 
razor.log files all over the place.  I suspect part of the problem may 
just be an outdated copy of Razor, but upgrading isn't really worth the 
effort at this point.)


-kgd
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] HOME=/var/spool/MIMEDefang

2006-11-14 Thread Yizhar Hurwitz

HI.


I have several MD 2.57 installations, which I plan to upgrade to MD 2.58.

All installs are on redhat systems (RHEL4, FC4, FC5, FC6).


I would like to better understand the exact meaning of the new 2 lines 
in the suggested /etc/init.d/mimedefang file:


HOME=/var/spool/MIMEDefang

export HOME


I know about the problem with spamassassin on redhat discussed in this 
group (the errors in /var/log/maillog),


and I have also experienced it myself on some of these servers.


My bayes and awl databased are stored at:

/home/defang/.spamassassin


In /etc/mail/sa-mimedefang.cf I have:

auto_whitelist_path /home/defang/.spamassassin/auto-whitelist
bayes_path /home/defang/.spamassassin/bayes


BTW - On most of the servers, /var/spool/MIMEDefang is a ram drive.


So my question is - should I use the new suggested 
/etc/init.d/mimedefang file "as is",


or change it to:

HOME=/home/defang (or /home/defang/.spamassassin)

export HOME


I simply don't understand what is the exact effect of this settings - is 
it used for temporary lock files and such,


or is it also used for storing SA databases such as bayes and awl?


Thanks

Yizhar Hurwitz



___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang