Re: FreeBsd e-mail question

2007-10-05 Thread Mike Makonnen
On Fri, Oct 05, 2007 at 02:33:23AM +1000, Ian Smith wrote: > > Looks like that's exactly right. Copying the maintainer and suggesting > the no-brain patch, pardon the broken tabs from pasting, against the > head / stable versions (checked) .. I should sendPR I guess .. time! > > Cheers, Ian > >

Re: FreeBsd e-mail question

2007-10-04 Thread Ian Smith
On Thu, 4 Oct 2007, Erik Trulsson wrote: > On Thu, Oct 04, 2007 at 04:56:35PM +1000, Ian Smith wrote: > > On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey <[EMAIL PROTECTED]> wrote: > > > > > The problem comes in when a customer cancels his account. We remove > > users by > > > rmuser userna

Re: FreeBsd e-mail question

2007-10-04 Thread Erik Trulsson
On Thu, Oct 04, 2007 at 04:56:35PM +1000, Ian Smith wrote: > On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey <[EMAIL PROTECTED]> wrote: > > > The problem comes in when a customer cancels his account. We remove users > by > > rmuser username. That command removes the user from the password file,

Re: FreeBsd e-mail question

2007-10-03 Thread Ian Smith
On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey <[EMAIL PROTECTED]> wrote: > The problem comes in when a customer cancels his account. We remove users by > rmuser username. That command removes the user from the password file, > removes his home directory and removes the mailspool. What it doesn

Re: FreeBsd e-mail question

2007-10-03 Thread jellico.com, Inc.
Hi, 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

Re: FreeBsd e-mail question

2007-10-03 Thread Derek Ragona
At 03:30 PM 10/3/2007, Lisa Casey wrote: Hi, I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be asking this on the Qpopper list, but hopefully someone here knows an answer). We have all of our mailboxes in mbox format in /var/mail. When a customer pops his mail for the f

Re: FreeBsd e-mail question

2007-10-03 Thread Erik Trulsson
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 mai

Re: FreeBsd e-mail question

2007-10-03 Thread Roland Smith
On Wed, Oct 03, 2007 at 04:30:54PM -0400, Lisa Casey wrote: > > The problem comes in when a customer cancels his account. We remove users > by rmuser username. That command removes the user from the password file, > removes his home directory and removes the mailspool. What it doesn't do is > t

Re: FreeBsd e-mail question

2007-10-03 Thread Steve Bertrand
> 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? It really depends on what version of rmuser you have. In /usr/sbin/rmuser, do you have something similar to this code snippet?: if [ -f

Re: FreeBsd e-mail question

2007-10-03 Thread Mel
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 any

FreeBsd e-mail question

2007-10-03 Thread Lisa Casey
Hi, I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be asking this on the Qpopper list, but hopefully someone here knows an answer). We have all of our mailboxes in mbox format in /var/mail. When a customer pops his mail for the first time it creates a file .username.pop