The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailscanner MRTG

Discussion in 'E-mail Discussions' started by efeito, Oct 5, 2003.

  1. efeito

    efeito Well-Known Member
    PartnerNOC

    Joined:
    Jul 24, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    .pt
    I downloaded mailscanner from cpanel, and installed it.

    Now, i want to install some script to see the "stats" of virus, spam, etc. And i found mailscanner-mrtg but the cpanel mailscanner installation is a lot different, and i cant put that script working good. As anyone in here already do that?

    Thanks!


    Links:
    http://mailscannermrtg.sourceforge.net

    cPanel.net Support Ticket Number:
     
  2. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    After downloading the mrtg packages from gpan elsewhere on the forum, I was able to integrate mailscanner-mrtg with little fuss, however, mailscanner-mrtg seems sendmail-based, and cpanel uses exim, so not all features work for me right now, I haven't had the time to look into the details yet.

    cPanel.net Support Ticket Number:
     
  3. efeito

    efeito Well-Known Member
    PartnerNOC

    Joined:
    Jul 24, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    .pt
    can you tell me the link or send me the files? If you have any update, please tell me. Thanks!!

    cPanel.net Support Ticket Number:
     
  4. efeito

    efeito Well-Known Member
    PartnerNOC

    Joined:
    Jul 24, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    .pt
    does anyone get this working?

    What do you use to see that email stats? About viruses found, email refused, etc etc.

    Thanks
     
  5. underzen

    underzen Member

    Joined:
    Jan 14, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I got this working on my cpanel WHM 8.5.1 cPanel 8.5.3-S3 with mailscanner/clamAV installed from cpanel. I had this working on an old server I had that installed mailscanner using Mahmoud's install method http://www.cpanelplus.com/staticpages/index.php?page=2003073009541160 .

    This wasn't that hard at all to do. You just need to change some of the config files to point to the correct directories.

    I will post up in a little bit if you want on how I got it to work. Its pretty simple. I followed these instructions and just modified some of the config files and the mailscanner-mrtg program a little to get it to work.

    Let me know if you need them.
     
  6. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    If you can post a how to for getting the stats to work, that would be great.
    Thanks
     
  7. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    I'm looking into this same issue myself - just installed mailscanner + clamav and now looking into monitoring tools and came across mailscanner-mrtg (http://mailscannermrtg.sourceforge.net/)

    From reading the previous posts above and reading the mailscanner-mrtg README, it looks like the challenge is to correctly change these settings in the mailscanner-mrtg install.pl file prior to running it.

    PHP:
    %options= (
            
    "perl" => "auto",
            
    "prefix" => "/usr",
            
    "sbin" => "sbin",
            
    "mrtgcfg" => "/etc/mrtg",
            
    "msconf" => "/etc/MailScanner",
            
    "doc" => "share/doc",
            
    "www" => "/var/www/html",
            
    "lib" => "lib",
            
    "unattended" => "n",
            
    "uptime" => "auto",
            
    "usesnmp" => "auto",
            
    "snmpwalk" => "auto",
            
    "snmp" => "auto",
            
    "mrtg" => "auto",
            
    "editor" => "auto",
            
    "install" => "y",
            
    "cron" => "d",
            
    "crontab" => "/var/spool/cron",
            
    "wwwconf" => "/etc/httpd/conf",
            
    "man" => "share/man"
            
    );

    Am I right? If so, and someone has already worked out what the correct/best settings should be for mailscanner-mrtg (for the mailscanner+clamav package installed from level1.cpanel.net) then please post here - thanks!
     
    #7 spaceman, Feb 6, 2004
    Last edited: Feb 6, 2004
  8. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    My main problem with the stats seem to be the proper regular expressions for exim(as mailscanner-mrtg was made for sendmail) Is that just my imagination?
     
  9. webrats

    webrats Active Member

    Joined:
    Feb 7, 2002
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1

    anyone got this working
     
  10. vahan

    vahan Active Member

    Joined:
    Dec 10, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    it'd be great if someone who has been able to setup this could post some kind of mini-how-to.
     
  11. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    258
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I am also interested in this issue, however I have been looking a lot in the Net and have found nothing done...

    I wonder if we all could hire someone to do this...
    and share the knowledge with the rest...

     
  12. zappz

    zappz Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    This HOW-TO works;

    http://forum.ev1servers.net/showthread.php?s=&threadid=30641

    You will need to read the whole thread prior to trying it though as the thread starter has not included all the issues in the original posting.

    I've had this setup running for several months with no issues.

    Regards,

    Zappz
     
  13. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    258
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    Call me stubborn but I think what that most people would need/like are graphics like this:
    http://mailwatch.sourceforge.net/images/mail_by_date_rpt.png
    http://mailwatch.sourceforge.net/images/top_viruses_rpt.png
    http://mailwatch.sourceforge.net/

    and the capacity of include strings like this in their homepages:

    MAILS PROCESSED: 10000
    SPAM DETECTED: 123 (30%)
    VIRUS DETECTED: 123 (30%)
    TOP TEN VIRUS DETECTED: virus 1 (%)
    virus 1 (%)
    virus 1 (%)
    virus 1 (%)
    virus 1 (%)

    and the possibility to have such reports by domain, when requested on demand by a web form...

    I would like to know if anyone would like to join me in the idea of creating a new application project for this.

    This would require the search of a developer (we could hire some of the developers of the actual existant projects) and do some fund-raising or search for sponsors, what do you think....??


     
Loading...

Share This Page