<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>129636</bug_id>
          
          <creation_ts>2006-04-11 14:30 0000</creation_ts>
          <short_desc>amavisd-new-2.4.0 error in amavisd.conf</short_desc>
          <delta_ts>2006-04-12 07:53:46 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dfgweb@dfg.homedns.org</reporter>
          <assigned_to>antivirus@gentoo.org</assigned_to>
          <cc>jaervosz@gentoo.org</cc>
    
    <cc>net-mail@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dfgweb@dfg.homedns.org</who>
            <bug_when>2006-04-11 14:30:21 0000</bug_when>
            <thetext>The new gentoo config file patch have an error in QUARANTINEDIR declaration.

This result in error in logs when email need to be quarantined:
--------- mail.err ----------
Apr 10 12:02:16 serveur amavis[32127]: (32127-16) (!!) TROUBLE in check_mail: quar+notif FAILED: temporarily unable to quarantine: 451 4.5.0 Local delivery(1) to $MYHOME/quarantine failed: Can&apos;t create file $MYHOME/quarantine: No such file
or directory at (eval 55) line 147., id=32127-16 at /usr/sbin/amavisd line 8379.
-----------------------------

Part of the amavisd-new-2.4-amavisd.conf-gentoo.patch file with error:
------ part of patch --------
@@ -679,7 +704,7 @@
 #   or a directory (no trailing slash)
 #   (the default value is undef, meaning no quarantine)
 #
-$QUARANTINEDIR = &apos;/var/virusmails&apos;;
+$QUARANTINEDIR = &apos;$MYHOME/quarantine&apos;;

 #$quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine
-----------------------------

The declaration
$QUARANTINEDIR = &apos;$MYHOME/quarantine&apos;;
must be changed to 
$QUARANTINEDIR = &quot;$MYHOME/quarantine&quot;;

A double quoted string must be used to allow $MYHOME evaluation.
No more error after this change.

David</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-04-11 16:56:29 0000</bug_when>
            <thetext>I&apos;ll fix this right after I&apos;ll get back from work (can&apos;t commit from here), unless someone else beats me to it.

Sorry about this inconvenience.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-04-11 22:36:28 0000</bug_when>
            <thetext>Fixed in CVS. Thanks for the report!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>langthang@gentoo.org</who>
            <bug_when>2006-04-12 07:53:46 0000</bug_when>
            <thetext>*** Bug 129678 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>