Page 1 of 1
EFA translation
Posted: 06 Apr 2014 15:23
by carlos248ar
Hello
Great job!
1) There are spanish translation ? Im doing one for myself for reports than could be read by users (amateur translation an put here/etc/MailScanner/reports/es)
2) As an old ESVA user ( from 1xxx to lastone) I find there arent a report that i found so usefull, MTA Statistics (POSTFIX), i copy the php of that report as is called in ESVA (/var/www/html/mailscanner/rep_mtastats.php) but dont work (may be not include in function.php or not instaled the RRDTool)
3) I import black and white lists, working in testing, coming soon in production
Re: EFA translation
Posted: 06 Apr 2014 16:05
by shawniverson
1) Sorry, we only have English at the moment. However, if you are willing to translate (you can download MailScanner and get all the languages), I would be happy to add it to our source branch
2) Can you share this php file with me? I think I know what it needs to start working. Maybe I can add it in EFA?
3)

Re: EFA translation
Posted: 06 Apr 2014 18:09
by carlos248ar
this de code
<?php
/*
MailWatch for MailScanner
Original Copyright (C) 2003 Steve Freegard (
smf@f2s.com)
Modified for ESVA, Copyright (C) 2007 Gal Zilberman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require(".
/mailscanner/functions.php");
authenticate();
html_start("MTA Statistics");
echo "<center>";
echo "<iframe src=\"/cgi-bin/mailgraph.cgi\" height=2200 width=650px scrolling=off frameborder=0>Your browser doesn't appear to support inline frames. you can view this report directly by clicking <a href=\"/cgi-bin/mailgraph.cgi\">here</a></iframe>";
echo "</center>";
html_end();
?>
i add wath is bold and both, with and without that, version dont work
Re: EFA translation
Posted: 06 Apr 2014 18:43
by shawniverson
This is just a page to direct to MailGraph, should already be present under tools...
Re: EFA translation
Posted: 06 Apr 2014 20:03
by carlos248ar
Its working now
Only need to change autentication
comment line "authenticate();"
and add line "session_start();"
<?php
require("./functions.php");
/*authenticate();*/
// Authentication checking
session_start();
require('login.function.php');
html_start("MTA Statistics");
echo "<center>";
echo "<iframe src=\"/cgi-bin/mailgraph.cgi\" height=2200 width=650px scrolling=off frameborder=0>Your browser doesn't appear to support inline frames. you can view this report directly by clicking <a href=\"/cgi-bin/mailgraph.cgi\">here</a></iframe>";
echo "</center>";
html_end();
?>
Re: EFA translation
Posted: 29 Jun 2014 09:56
by Marziano
If someone is interested, i've translated to italian the contents of the folders /etc/MailScanner/reports/en and /var/www/html.
In those folders you can see all the files that generate output messages for the end user. I've not translated the main gui, yet. In my setup, the users are not going there. I make them do all the work from the client, sending marked spam to a dedicated folder and emptying this folder on a regular basis via script.
Re: EFA translation
Posted: 29 Jun 2014 20:52
by shawniverson
Yep, we can add these translations to EFA. Feel free to PM me.
Re: EFA translation
Posted: 06 Sep 2015 06:01
by cyril.lebert
Exist a french version ?
Re: EFA translation
Posted: 28 Jan 2016 07:29
by pawell
Hi there,
im trying to create a german translation.
I copied the /etc/MailScanner/reports/en to /etc/MailScanner/reports/de.
How can i activate the de version?
Re: EFA translation
Posted: 28 Jan 2016 08:40
by DaN
hallo,
/etc/MailScanner/rules/
sig.html.rules:
To: *@DOMAIN /etc/MailScanner/reports/de/inline.sig.in.html
To: default /etc/MailScanner/reports/de/inline.sig.out.html
sig.text.rules:
To: *@DOMAIN /etc/MailScanner/reports/de/inline.sig.in.txt
To: default /etc/MailScanner/reports/de/inline.sig.out.txt
DOMAIN=your domain
Re: EFA translation
Posted: 28 Jan 2016 08:42
by DaN