On Feb 27, 2006, at 04:12 , Joachim Schoenberg wrote:

Hello Dale,

Am Samstag, 25. Februar 2006 02:20 schrieb Dale Walsh:

Amavis-stats looks at the amavisd-new log entries and pulls the
domain name form it.

If you have multi domains and log via syslog you would have entries
like the following (I use mutliple instances of amavisd-new).

[...]

The first three field are the date and time, the fourth field is the
domain name, if all the domain names fields are all the same then you
are not logging additional servers via syslog so you will need to
make other adjustments either by running multiple instances of
amavisd-new (easy to do) or log the other servers via syslog (also
easy to do).

Now I see what amavis-stats is looking for and what my problem is.
I have a relay server here which checks all incoming mail and uses
the postfix transport table to send the mails to the approriate
internal servers then.
So for Amavis all mail seems to be "local"
("agent-j" is my relay server):

Feb 27 00:16:42 agent-j amavis[32475]: (32475-15) Passed CLEAN, [217.110.105.70]
        <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id: HPFAXOpQeHNS, Hits: -2.356, 1519 ms

Feb 27 00:18:04 agent-j amavis[32517]: (32517-13) Passed CLEAN, [87.123.7.149]
        <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id: 0nkZ+yIfDAGQ, Hits: -2.373, 756 ms

So for my setup amavis-stats can not do what I expected.

This is incorrect thinking, it certainly can do what you want but requires a little work form you.

Have the other server(s) log mail via syslog to this server and you will have exactly what you want.

Thank you for the help

Joe

-- Dale



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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/

Reply via email to