On Saturday 26 June 2004 08:22 am, Stephen Gran wrote:
> The postinstall script adds an entry for clamav: root to /etc/aliases,
> and then since at least sendmail needs it, it runs newaliases afterwards.
> Apparently on your system, at least, newaliases is wrapper that calls
> /var/qmail/bin/qmail-newu.  I am trying to dicover how to avoid that,
> while still having it do the right thing for other MTA's.  qmail is not
> officially supported by Debian, but so many people use it that I would
> like to make life easy for them with the same packages.

just check for qmail installed on the system via the package system (is that 
possible?) and if so, echo '&root' > /var/qmail/alias/.qmail-clamav ... that 
is.. if the clamav user doesn't have an actual home directory, that it owns, 
otherwise qmail won't look at ~alias.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
        kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to