Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th January 2011, 18:46
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Lightbulb Solution For Traffic Count Mail In/Out (Courrier/Dovecot + Postfix) + Ftp Traffic

This packages on squeeze and debian have a solution to get traffic information.
Indepent you using courrier or dovecot.

This have a couple of daemons looking the syslog can get all traffic info on realtime. The work now is discovery how its works and adapt it for ispconfig3.
I belive need create a little bit of adtional tables and change a couple of mysql queries.

http://packages.debian.org/search?keywords=mysqmail

Im easy backported the packages and used it on past part of DTC project.

Adtional will be gain a FTP Trafic information, IMAP Trafic great benefits.

Have way to build packages for redhat/debian easy. just need change the names and codes and release a special fork for ispconfig3.
Reply With Quote
Sponsored Links
  #2  
Old 20th January 2011, 18:52
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Lightbulb Modularity / Custom Queries

mysqmail is a fantastic group of packages. but is not modular now only works with DTC. have a potentially to works on anyting but need a possibility to change the queries using a conf like. like you can do on dovecot/postfix maping.

Anyone have any opinion about it? Im personaly tested it on past and works great.
Reply With Quote
  #3  
Old 20th January 2011, 18:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
Default

If it is available as package for all supported Linux distributions (Debian, Centos, Ubuntu, OpenSuSE, Fedora) then we can consider to add it to ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 20th January 2011, 20:09
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Lightbulb More Information

This packages is ready for Debian/Ubuntu.

Centos, OpenSuSE and Fedora is RPM based distros i see buildrpm inside the sources. I talk with thomas. and see on site.

Ports for FreeBSD is avaliable too. Gentoo and OSX with small patches.

sbox-dtc is a interest package too.

But remember need make some parametric queries on sources to make this more portable and configurable beetween DTC and ISPCONFIG. I see the sources this dont be appers complicated.
Reply With Quote
  #5  
Old 21st January 2011, 13:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
Default

But maybe it is not nescessary to adapt this package to ispconfig as ispconfig counts most other traffic stats of its own already and we try to avoid any additional external dependency. Do you know from which source or how the package gets the size of incoming messages from dovecot? It might be better to add a few lines of code to the exsiting ispconfig system instead of adding a new external dependency, as no code from DTC can be added to ispconfig due to incompatible open source licenses.

I've checked the mysqlmail page and there is no dovecot support listed:

http://www.gplhost.com/software-mysqmail_3package.html

are you sure that there is a dovecot module available?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 21st January 2011, 14:05
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Lightbulb

This page is relative outdated:

Packages is on debian/ubuntu repositories and avaliable for centos/redhat via yum.

http://packages.debian.org/sid/mysqmail-dovecot-logger
http://packages.debian.org/sid/mysqmail-postfix-logger
http://packages.debian.org/sid/mysqmail-courier-logger
http://packages.debian.org/sid/mysqm...re-ftpd-logger

Is more easy adapt the packages for universal working build query by config. like dovecot and postfix query. Then this daemons can be used by any solution to count mail/ftp trafic not only just for DTC or ISPCONFIG.

I talk with Thomas Goirand about this idea and say yes think it is interessant.

Contact Thomas: thomas [ at ] goirand [ dot ] fr, or join the #dtc-dev channel on IRCnet (thomas nick is zigo).

http://packages.debian.org/search?ke...le&section=all

About licence: You talk about BSD license x GPL is incompatible right?

I get all sources packages using apt-get source mysqmail SID source repository.

Last edited by moglia; 21st January 2011 at 14:08.
Reply With Quote
  #7  
Old 21st January 2011, 15:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
Default

I will check out the packages.

Quote:
About licence: You talk about BSD license x GPL is incompatible right?
Yes. If we would add GPL code to ispconfig, then the ispconfig project would gets infected by gpl and becomes gpl licensed. But it is the goal of the ispconfig project to use a liberal license like BSD for this project.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 28th January 2011, 21:15
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Exclamation Possible Change Licence.

Quote:
Originally Posted by till View Post
I will check out the packages.



Yes. If we would add GPL code to ispconfig, then the ispconfig project would gets infected by gpl and becomes gpl licensed. But it is the goal of the ispconfig project to use a liberal license like BSD for this project.
Menssage from Developer:
"I don't mind re licensing it as BSD license. It's easy to do so, because
I've been the only author so far."
Thomas
Reply With Quote
The Following User Says Thank You to moglia For This Useful Post:
till (29th January 2011)
  #9  
Old 29th January 2011, 17:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,614 Times in 4,425 Posts
 
Default

That is a really great option indeed if he would consider that in case that we could use them. I will check out the packages to see how they fit into ispconfigs traffic accounting system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
courrier, dovecot, postfix, traffic counter, trafic

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Could not send and receive piseth Installation/Configuration 16 17th July 2010 19:27
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 22:06
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 21:43
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 22:12


All times are GMT +2. The time now is 09:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.