|
From: Marcos R. <we...@al...> - 2006-02-15 11:41:20
|
to solve this... you need:
1.- a partition where no quotas has been defined for pop users (perhaps
your /tmp dir is in a different partition).. be sure that this partition
has enough space available
2.- you need to add this line to your config file for qpopper (more about
the file in 3.- how to find it or create it) :
set temp-dir = path
where path could be /tmp or any other dir in a partition where your users
don't have quota.
NOTE: be sure that not all files are removed from /tmp if the machine
reboots... any decent system should check... and not eraese files that had
been created in the last N hours!!!!... (if not, in case of a reboot while
somebody was trying to get his/her mail.. that mail could be lost)
3.- via ssh or using webmin/others/command shell do:
locate popper.con
see if you have qpopper.conf (or even in.qpopper.conf ... very unusual)
if you do... congrats... add the line from indicated in 2. and then
restarat qpopper (or xinetd if qpopper is called from xinetd).
4.- if you don't have any file named qpopper.conf if in the shell (via
ssh) you can do:
cat > /etc/qpopper.conf (enter)
(add the line on 2.- and then enter)
(control + D)
or, from webmin... create /etc/qpopper from the file manager, or even
using webmin/other/command shell doing:
echo "(put the line described on 2.- with no parenthesis)" >/etc/qpopper.conf
(all in one line.. just in case my mail program "cuts" this line)
and then
5.- ad the switch
-f /etc/qpopper.conf
to the qpopper start up program (if started from xinetd.. very easy from
webmin... go to networking/Extended Internet Services and there selec
qpopper... and add the switch to the qpopper program where you see "server
program" ... and then restart xinetd
if qpopper is started as a stand alone server.. mmmm... you need either to
change the start up from webmin/system/bootup and shutdown.... or... if
you are shure that qpopper is not using any other switch... you can move
qpopper to something like real-qpopper and then create a simple shell
script for qpopper... something like
which qpopper (suposse it says: /usr/local/sbin/qpopper)
cd /usr/local/sbin
cp -a qpopper real-qpopper
diff qpopper real-qpopper (verify that exists and are the same)
echo "/usr/local/sbin/real-qpopper -f /etc/qpopper.conf" > qpopper
restart qpopper
That should do it!
good luck
Marcos
On Tue, 14 Feb 2006, Unknown Questions wrote:
> Hi
>
> i'm trying to clean up a server with lots of domains run under Virtulamin
>
> i wanted to make the mailbox users stop storing their stuff on the server
> after they had downloaded it to their home / office PC
>
> i'm running Debian Linux 3.0
> with Webmin 1.250
> and Virtualmin version 2.60
>
> i'm trying to impose a limit of 25 Mb per user mailbox
> and have set these limits in the domain / mailuser in Virtulamin
>
> Home directory quota = 25000 kB
> Mail file quota = 25000 kB
>
> this seems to work fine in stopping extra e-mails going into the mailbox if
> the mailbox is just under 25mb full (they just sit in the mailqueue)
>
> but the problem i'm getting is that users are unable to collect their e-mails
> with outlook express etc due to this error message
>
>>>>
> There was a problem logging onto your mail server. Your Password was
> rejected. Account: 'TEST', Server: 'IP Number',
> Protocol: POP3, Server Response: '-ERR [SYS/TEMP] Unable to copy mail spool
> file, quota exceeded (122)', Port: 110, Secure(SSL): No, Server Error:
> 0x800CCC90, Error Number: 0x800CCC92
> <<<
>
> the users mailbox is set up by Virtualmin to
> /var/spool/mail/domain.tld.username
> and some users have these boxes as well - depending i think on if they have
> used Webmail
> /home/domain.tld/homes/username/mail/virus-mail
> /home/domain.tld/homes/username/mail/spam-mail
> /home/domain.tld/homes/username/mail/mail-trash
> /home/domain.tld/homes/username/mail/sent-mail
> /home/domain.tld/homes/username/mail/saved-drafts
> /home/domain.tld/homes/username/mail/Sent
> /home/domain.tld/homes/username/mail/Trash
> /home/domain.tld/homes/username/mail/Drafts
>
> it has been suggested to me that
> "The way qpopper (the mail retrieval program) works is that it copies the
> entire mailbox when someone pops logs in. So the user needs a quota of double
> the size of their mailbox for this to work.
>
> E.g. if the users mailbox is 25 meg in size, he will need a quota of 50 meg
> to be able to log on and check his email. The stupid thing is the users
> mailbox can grow about 25 meg, but this will prevent him from pop logging in.
>
> I don't know if there is a "fix" for this."
> or if i'm completely missing a simple setting / point / idea / brain cell
>
> any help / guidance gratefully received
>
> Regards
>
> Martyn
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> -
> Forwarded by the Webmin mailing list at web...@li...
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
|