LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2005, 03:56 AM   #1
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Rep: Reputation: 15
Speed up quota report with Procmail running on Ensim


Hi,

I have Ensim Pro 4.0.3-22 running on FC2, I have created many Name Based Sites, with their users and email,FTP, and SSH support for every user.

I set the user quota to 5MB for example, and the problem is that the report for an over quota user that returns to sender takes about 2 to 3 hours.

I have seen mail providers (hotmail and others) which report an overquota user instantly, I think it is Sendmail and/or Procmail issue,
and I need to implememt fast overquota report. any help ?
 
Old 11-13-2005, 09:44 AM   #2
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
who create the report? ensim?
 
Old 11-13-2005, 10:04 AM   #3
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
When user1 sends an email to user2

user1 receive the following email after 2 to 3 hours:

Quote:
The original message was received at Tue, 8 Nov 2005 14:01:35 +0200
from root@localhost

----- The following addresses had permanent fatal errors -----
<user2@domain.com>
(reason: Deferred)

----- Transcript of session follows -----
procmail: Quota exceeded while writing "/var/mail/user2"
<user2@domain.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
Message will be deleted from queue
I think the sender is procmail
 
Old 11-13-2005, 10:46 AM   #4
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
mmm. do u use procmail script to check the users quota? or u need to recheck ur ensim config.
 
Old 11-13-2005, 03:14 PM   #5
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Ensim automatically calculate users quota, i do not use any thing for it,

But need it to report Over quota user instantly, I think procmail keep the message in the queue for the over quot-ed user in hope he frees some space soon. This behaviour is not good for most users, and i need to override it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 11:13 AM
e1000 not running at gigabit speed etothex Linux - Hardware 1 11-09-2004 06:42 AM
spamassassin tags spam while procmail isn't running broxtor Linux - Software 1 10-13-2004 02:57 PM
Procmail Problems using Ensim Pro Sendmail classicspage Linux - Software 0 05-10-2004 08:37 PM
One & One - Ensim yorkshiresteve Linux - Software 0 08-03-2003 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration