FreeBsd e-mail question

Erik Trulsson ertr1013 at student.uu.se
Wed Oct 3 14:30:39 PDT 2007


On Wed, Oct 03, 2007 at 11:04:58PM +0200, Mel wrote:
> On Wednesday 03 October 2007 22:30:54 Lisa Casey wrote:
> 
> > If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the
> > ownership of the file is the group number of the original jjvc.
> >
> > -rw-rw----   1 1473             mail                     0 Sep 11 19:15
> > .jjvc.pop
> >
> > Is there anyway to have rmuser remover the mail drop file associated with
> > that account also, or am I just going to have to remove these manually?
> 
> rmuser is a shell script. There's 2 ways to solve this problem:
> 1) edit the rm_mail function in /usr/sbin/rmuser to use:
>    ${MAILSPOOL}/.${login}.pop
> 2) Better option is to change the default temp-name in qpopper.config:
>    set temp-name "%s.pop"
>    so that rmuser will detect it automatically.

A third option is to write a wrapper shell script that first calls rmuser
and then removes the remaining mail drop file, and use this script to remove
users instead of calling rmuser directly.

Option 2) above sounds like a better solution though.




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list