Re: [AMaViS-user] problem with sample $log_templ

2005-06-27 Thread Gary V
Mark wrote:

 Gary,

 I'm working on 2.3.1-pre3 on a Debian system, but If I recall, this problem

I'm sorry, this should have read 2.3.2-pre3
 ^
 
 occurs for earlier versions (like 2.2.1) also.

 After every mail that is 'Passed', it logs one useless extra line.
 Only mail that is 'Passed'.

 I am using the (long) $log_templ as supplied in amavisd.conf-sample.
 I have not modified the sample.
 This problem does not appear when using the default (nothing configured
 in amavisd.conf), nor does it appear when the 20030616-p10
 compatible template is used.

 The $log_templ example in amavisd.conf-sample wasn't deleting
 a trailing newline. From amavisd-new-2.3.2-pre3 release notes:

I do not recall notifying you of this problem before.

 - updated $log_templ example in amavisd.conf-sample to match the default;
   pointed out by Gary V;

This refers to a different problem where I noted a possible solution:
http://marc.theaimsgroup.com/?l=amavis-userm=111599961820915w=2

 Hmm, that was you :)

 The example was fixed between 2.3.2-pre1 and 2.3.2-pre3,
 perhaps your amavisd.conf wasn't updated.

   Mark

I copied the template from
amavisd.conf-sample version 2.3.2-pre3 into my existing amavisd.conf,
uncommented it, and the problem described occurs. Try it.
I am testing with 2.3.2-pre3.

Gary V



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] problem with sample $log_templ

2005-06-27 Thread Mark Martinec
Gary,

 Maybe the spaces should be removed in the sample:
 #$log_templ = '
 #[?%#D|#|Passed #
 #[? [?%#V|1] |INFECTED (%V)|#

I'll add the following comment before the example:

  # (remove the leading '#' and a space in the following lines to activate)


Mark


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/