Mailmgr is a Sendmail Analisys Report Generator.

The html reports contain the following informations:
	Username
	messages sent
	messages received	
	bytes sent
	bytes received
	Messages from with date, time and bytes per user
	Messages to with date, time and bytes per user


Available languages:
	English              (by Pedro Lineu Orso <orso@onda.com.br>)
	Brazilian_Portuguese (by Pedro Lineu Orso <orso@onda.com.br>)
        Spanish              (by Rodrigo Bustos L. <rbustos@cyberufo.cl>)
        Hungarian            (by Sandor Domonkos <domonkos@vbgpaks.sulinet.hu>)
	German		     (by Jackson <jackson@verrat-ich.net>)	
        Italian              (by Alessandro Bruciamonti alessandro@sys-net.it)

Translations
        copy the /include/English.h to *your language*.h and translate
	If you translate to another language, please send to orso@onda.com.br 
	to implement and share with the users.
	The translator name must be in there.

Source code
	http://web.onda.com.br/orso/index.html

Install
	./configure [--prefix=/usr/local/bin]
                    [--enable-language=English]

		Where: prefix 	       -> where to install the mailmgr routine
		       enable-language -> choose the language from Available languages above

	make install


Running
	Before running change the /usr/local/etc/mailmgr.conf file as you need.


mailmgr.conf

# mailmgr.conf
#
# TAG:	logfile file
#       Input sendmail maillog file
# TAG:	temporary_dir
#       Temporary directory to work files
# TAG:	output_dir file
#       Output dir under httpd tree to save the reports.
# TAG:	sendmail_cw file
#       Where is your sendmail.cw file with the list of all the possible names.
# TAG:  lastlog n
#       How many reports files must be keept in reports directory.
#       The oldest report file will be automatically removed.
#       0 - no limit.
# TAG:  overwrite_report yes|no
#       yes - if report date already exist then will be overwrited.
#       no - if report date already exist then will be renamed to filename.n, filename.n+1
#
#logfile /var/log/maillog
#temporary_dir /tmp
#output_dir /home/httpd/html/mailmgr
#sendmail_cw /etc/sendmail.cw
#lastlog 0
#overwrite_report no
 

# TAG:	title "text"
#       Reports title.
#
#title "MAILMGR - Sendmail Manager"
 

# TAG:	title_font_face font_name
# TAG:	header_font_face font_name
# TAG:	text_font_face font_name
# TAG:	logo_font_face font_name
# 	Especify the font face for the html report
#
#title_font_face "Times New Roman"
#header_font_face "Times New Roman"
#text_font_face "Times New Roman"
#logo_font_face "Times New Roman"


# TAG:	title_font_size
# TAG:	headder_font_size
# TAG:	text_font_size
# TAG:	logo_font_size
# 	Especify the font size for the html fields
#
#title_font_size +1
#header_font_size -1
#text_font_size 0
#logo_font_size +2


# TAG:	header_color
# TAG:	header_bgcolor
# TAG:	background_color
# TAG:	text_color
# TAG:	text_bgcolor
# TAG:	title_color
# TAG:	logo_text_color
# TAG:	relay_color
# 	Especify colors for the html fields
#
#header_color black
#header_bgcolor blanchedalmond
#background_color white
#text_color darkblue
#text_bgcolor beige
#title_color green
#logo_text_color black
#relay_color red


# TAG:	logo_image
# TAG:	logo_text
# TAG:	logo_image_size
#	Html logo.
#
#logo_image none
#logo_text ""
#image_size 80 45


# TAG:	background_image
#	Html page background image
#
#background_image none

# TAG:  date_format ddmmyy|mmddyy|yymmdd
#       Date format for the reports.
#
#date_format mmddyy

# TAG:  use_comma no|yes
#       Use comma instead point in reports.
#       Eg.: use_comma yes => 23,450,110
#            use_comma no  => 23.450.110
#
#use_comma no
