Am 16.11.2011 02:31, schrieb Philip Prindeville:
> On 11/15/11 2:46 PM, David F. Skoll wrote:
>>
>> The point of the ./configure script is to search all those weird and
>> wonderful
>> paths at build time.
>
> Well, right. But the build target isn't always the same as the run-target.
> Especially for RPM-based builds.
Correct. So it's reasonable to default to "not installed".
>> [...] putting explicit
>> $Features{...} assignments in your filter so you know exactly what you're
>> getting.
>
> Yes, there's that... except that I don't like to modify scripts themselves in
> /usr/bin... since that's a "program" and not "configuration data".
You shouldn't. The assignments should go into the filter script. I had
the same situation with CentOS and put this in mimedefang-filter:
#***********************************************************************
# Configure Virus Scanners
#***********************************************************************
$ClamdSock = "/var/run/clamav/clamd.sock";
$Features{'Virus:CLAMD'} = '/usr/sbin/clamd';
$Features{'Virus:CLAMAV'} = '/usr/bin/clamscan';
Works great.
HTH
Tilman
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
_______________________________________________
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 [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang