As Mark M. previously pointed out, you have have amavisd-new utilize banks based on ports with different domain names to which you would assign a different content filter for each domain and you'll draw statistics based on those domains.

-- Dale

On Dec 16, 2005, at 15:32 , Ramdas Phutane wrote:

On 12/17/05, Dale Walsh <[EMAIL PROTECTED]> wrote:
You really don't want this going to the list.

first:

<VirtualHost x.x.x.x*80>
DocumentRoot /usr/local/share/amavis-stats
ServerName amavis-stats.my-server.com
     ErrorLog logs/amavis-stats-error_log
     CustomLog logs/amavis-stats-access_log common
        DirectoryIndex index.htm index.html index.php index.php3
Alias "/amavis-stats" "/usr/local/share/amavis-stats/"
<Directory /usr/local/share/amavis-stats/>
     Options FollowSymLinks
     AllowOverride None
     order allow,deny
     allow from all
     <IfModule mod_expires.c>
         ExpiresByType image/png M60
     </IfModule>
</Directory>


What were you thinking????


Remove it, then add.

Include /usr/local/share/amavis-stats/amavis-stats.alias.conf


The file that amavisd-new logs too???  is it '/var/log/maillog'


If it is, change it in the amavisd.conf file to be
/var/log/amavis.log
and also change the log level to 1


Now change the amavis-stats.conf file to point to this file.


If you can't understand why it is advantageous to make this change
for the log file you can leave it alone but the change is highly
recommended.

-- Dale


Thanx again .

I have done the changes to Apache conf and to the Amavisd-new log level also.
My Amavisd-new logs to /var/log/maillog which is readable by everyone.
I do see the stats of my AntiSpam server but I don't get any stats for
the domains I have in the amavis-stats.conf file.

Any more suggestions

Thanx & Regards
Phutane




-------------------------------------------------------
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