Re: moving .pop files to a new location on a live server

Randall Gellens <[email protected]>
Newsgroups gmane.mail.qpopper
Message-ID <[email protected]>
At 8:29 PM +0100 6/11/06, Obantec Support wrote:

>  Hi
>
>  I am having file lock problems. 1 customer has a soft quota of 50MB and hard
>  limit of 100MB and a 27MB mbox file.
>
>  a snip of the logs shows
>
>  Jun 11 12:00:46 proteus2 popper[6328]: martinco at 82.45.254.97
>  (82.45.254.97): -ERR POP timeout from myservers.name.here
>  Jun 11 19:27:25 proteus2 popper[4862]: (v4.0.8) Timeout (120 secs) during nw
>  read from martinco at 82.45.254.97 (82.45.254.97)
>  Jun 11 19:27:25 proteus2 popper[4862]: martinco at 82.45.254.97
>  (82.45.254.97): -ERR POP timeout from myservers.name.here
>  Jun 11 20:06:48 proteus2 popper[7819]: martinco at 82.45.254.97
>  (82.45.254.97): -ERR [IN-USE] /var/mail/.martinco.pop lock busy!  Is another
>  session active? (11)

Hi Mark,


I'm a bit confused.  The 20:06:48 session should have been fine, 
since the 19:27:25 session should have ended after the timeout.  Was 
the popper process for the user still active?  Also, what does the 
spool being locked have to do with quotas?

>  i need to resolve this by using a separate location for the .pop files with
>  no quotas.
>  i have the space on a second drive that is not using quotas.
>
>  i started qpopper from command line with ./popper 111.222.333.444:110 -R
>
>  so how do i migrate to the separate drive. my worry is those processes
>  already running under /var/mail/spool/.username.pop
>
>  do i have to recompile with
>
>  ./configure --enable-standalone --enable-temp-drop-dir=/users/qpopper/mail
>  make clean
>  make
>  make install

You can set the temp-drop-dir using a configuration file; that way 
you don't have to recompile.  You can tell Qpopper to read a 
configuration file by adding the command-line flag for the flavor(s) 
of configuration files you'd like to use.

>  or does qpopper run better under inetd?

Choosing to run from inetd or in daemon mode is independent of using 
other flags and options; you can mix and matcg.

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Never ascribe to malice what can be adequately explained by incompetence.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.