--- Gary V <[EMAIL PROTECTED]> wrote:

> Peter wrote:
> 
> > I put $DO_SYSLOG = 1 and now I see a lot more logging including the
> > subject editing stuff.  However, at the same time I added
> 
> > $sa_spam_modifies_subj = 1;
> > $sa_spam_subject_tag = '*** SPAM *** ';
> 
> > to my config file so I'm not sure what made the difference although
> for
> > sure those two lines did not create all the extra SQL logging I'm now
> > seeing.  Just to be sure I went back and took the two lines out again.
> 
> You are right, these two $sa_spam lines have nothing to do with the
> amount of SQL log detail.
> 
> > Anyway, I noticed that my log messages were showing the tag without
> the
> > whitespace so it appears to be strictly a matter of the DO_SYSLOG
> > variable.
> 
> If you are referring to the trailing space after '***SPAM*** '
> I expect because you have the text ***SPAM*** in your
> policy.spam_subject_tag and policy.spam_subject_tag2 that, as I just
> found out, the trailing space is trimmed off when using MySQL version
> 4.1 or older.

Only for policy.spam_subject_tag2.  Yes, I'm using MySQL 4.1.24.

> I think the fix would be to put these two fields back to
> NULL in that particular policy and then amavisd-new would use the
> string in $sa_spam_subject_tag instead (with the trailing space
> intact).

That's what I'm going to do.

The difference in logging verbosity between a logfile and syslogd must be
due to the way amavisd interacts with the system's syslog.  I happen to be
using OpenBSD 3.8.  Everything is chrooted but I have compensated for that
(syslogd -a /var/amavisd/dev/log).

Side question: Let's say a few SQL-defined users DO NOT want their mail
passed (D_PASS).  How do I accomodate them?  Also, I am unclear on what a
'local' user is.

--
Peter




        

        
                
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to