#1  
Old 1st October 2005, 00:26
cstone cstone is offline
Junior Member
 
Join Date: Sep 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Question purpose of mailsize.rc

What's the purpose of the mailsize.rc file? I have postfix successfully delivering messages for hosted domains, but for each message admispconfig@localhost gets an email with the size of the message. I see this is because of the .mailsize.rc file that gets put in each new user's home directory. And I see that appears to be done by ispconfig since the 'template' files for this are in /root/ispconfig/isp/conf.

Why is that and how can it be prevented? (don't really want an email for each received email on the system telling me the size of the message....)


Thx

Chris
Reply With Quote
Sponsored Links
  #2  
Old 1st October 2005, 01:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

The purpose is to measure the size of incoming mails for the traffic statistics in ISPConfig. The mails to admispconfig contain the size in bytes of each incoming email.
If you don't want this to happen, then comment out the .mailsize.rc line in /root/ispconfig/isp/conf/procmailrc.master:

Code:
{MAILDIR_COMMENT}MAILDIR=$HOME/Maildir/
{MAILDIR_COMMENT}DEFAULT=$MAILDIR
{QUOTA}
#INCLUDERC={PMDIR}/.mailsize.rc
INCLUDERC={PMDIR}/.quota.rc
{ANTIVIRUS_COMMENT}INCLUDERC={PMDIR}/.antivirus.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.local-rules.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.html-trap.rc
{SPAMASSASSIN_COMMENT}INCLUDERC={PMDIR}/.spamassassin.rc
{AUTORESPONDER_COMMENT}INCLUDERC={PMDIR}/.autoresponder.rc
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st October 2005, 02:36
cstone cstone is offline
Junior Member
 
Join Date: Sep 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, understand the purpose then, but I have admispconfig aliased to me in the /etc/aliases file - guess I need to remove that then, right? And then where would the messages go to - presumably for the traffic counting purposes??


Thanks..

Chris
Reply With Quote
  #4  
Old 1st October 2005, 03:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by cstone
Ok, understand the purpose then, but I have admispconfig aliased to me in the /etc/aliases file - guess I need to remove that then, right? And then where would the messages go to - presumably for the traffic counting purposes??


Thanks..

Chris
Yes, you have to remove the alias.
The messages go to /home/admispconfig/mailstats.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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


All times are GMT +2. The time now is 08:37.


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