Hi Norman, Perfect thanks, that'll get me going.
Regards Carl -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Norman Maurer Sent: Monday, September 06, 2010 5:34 PM To: James Users List Subject: Re: Bandwidth Usage Ok that would be easy.. Just write a Mailet and store the data somewhere per domain. Something like that; public class YourMailet extends GenericMailet { /** * @see org.apache.mailet.GenericMailet#service(Mail) */ public void service(Mail mail) { try { int size = mail.getSize(); MailAddress recip = mail.getRecipient(); // store data .... } catch (MessagingException e) { log(e.getMessage()); } } } Bye, Norman 2010/9/6 Carl Vorster <[email protected]>: > Hi Norman, > > Yes, you can say that, something like adding the total size(KB/MB) of > incoming/outgoing mail together for a domain per month... > > Hope I'm making sense. > > Thanks > Carl > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Norman Maurer > Sent: Monday, September 06, 2010 1:16 PM > To: James Users List > Subject: Re: Bandwidth Usage > > Hi Carl, > > ok so its not bandwith.. Its the amount of mail send and received per > domain right ? > > Bye, > Norman > > > 2010/9/6 Carl Vorster <[email protected]>: >> Hi Norman, >> >> I need to track bandwidth usage i.e. incoming and outgoing mail. >> The business wants to bill clients for the amount of bandwidth used. >> >> >> Thanks >> Carl >> >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] > On >> Behalf Of Norman Maurer >> Sent: Monday, September 06, 2010 12:49 PM >> To: James Users List >> Subject: Re: Bandwidth Usage >> >> Hi Carl, >> >> are you really want to track bandwith or storage ? >> >> Bye, >> Norman >> >> >> 2010/9/6 Carl Vorster <[email protected]>: >>> Hi, >>> >>> I need to track bandwidth usage per domain/user. >>> >>> What would be the best approach to tackle this? >>> >>> >>> Thanks in advance. >>> >>> Carl >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
