share report on domains from postfix

Wytze van der Raay wytze at nlnet.nl
Fri May 6 09:54:58 CEST 2005


Hi Krystian,

On Thu, May 05, 2005 at 03:52:19PM +0800, krystian wrote:
> I have a few domains on one serwer. I use Postfix 2.2. For now my report 
> shows generall statistics for serwer like top 10 domains etc. , just 
> default configuration for postfix. But sometimes doesn't show my domains 
> because they have to small send and receive. I'd like to create separate 
> reports for each of my domains, no matter how much mails is sent form 
> domains. Is it possible with lire?

You can change the limit of 10 to any higher number you desire,
e.g. 999999, which will likely include all domains you want to see.

To do so, you need to edit the email_default.xml file and change the
value of the "domain_to_show" parameter for any reports you like.
The system-wide version for this is typically found in a location as
/usr/share/lire/templates/email_default.xml, but instead of modifying
that one (and losing your changes after an upgrade), you can create
your own email_default.xml in ~/.lire/templates, provided that you add
this directory to your lr_templates_path. This will automatically be
the case in the next Lire release (it has been fixed in the CVS tree),
but for now you can do so with the lire interactive configuration utility.
For your convenience I've attached the config.xml file which should result
from that.

Regards,
-- wytze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.xml
Type: text/xml
Size: 469 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20050506/5eede2b5/attachment.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20050506/5eede2b5/attachment.bin 


More information about the Questions mailing list