On 30 Mar 1999, Russell Nelson wrote:

> Matt Simerson writes:
>  > 
>  > I just installed the qmail-popbull patches on a qmail 1.03 install and am
>  > getting duplicate messags, one for every time a user checks their email.
>  > I checked into it and the .timestamp file for their account isn't updting.
>  > I have since worked around the problems like this "rm `ls
>  > /usr/home/*/.timestamp`.
> 
> I'd rather you fixed the problem rather than working around it. 

Me too!  But last night (my first time using it) when a half dozen
I-check-my-email-every-minute users called to inform me they were getting
lots of copies of the same message I had to do something. I did determine
that the .timestamp file is not having getting it's 

> I'm
> curious what the matter could be.  It's working here for me.

I don't doubt that it's working for you, but there's something different
between us. I'll do whatever you need to help out but I'm not a
programmer. Well, I used to write in basic and know some Perl and
Applescript but that would hardly entitle me to even amatuer programmer
status.

As I read the popbull patch, it appears that this is where you check the
date on the the .timestamp file:

  + if (stat(".timestamp", &st) == -1) ts_date = 0;
  + else ts_date = st.st_mtime;
  + fd = open_trunc(".timestamp");
  + close (fd); 

Now, for some reason or another, it's not actually modifying the date when
I check my mail via a POP session. I thought maybe it could be because the
$HOME directories are NFS mounted so I enabled pop3d on the NFS server and
tried it there but I get the same result. 

Here's my config:

 BSDI 4.0.1
 Qmail 1.3 with rbl-diffs and popbull-diffs.
 rblsmtpd 0.70
 ucspi-tcp 0.80

I invoke qmail with the following commands:

exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start ./Maildir/ splogger qmail

/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -uXXXX -gXXX 0 smtp \
  /usr/local/bin/rblsmtpd -b -t2 -r dul.maps.vix.com \
  /usr/local/bin/rblsmtpd -b -t2 /var/qmail/bin/qmail-smtpd &

/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup \
  dns.michweb.net /bin/checkpassword /var/qmail/bin/qmail-popbull
  /var/spool/bulletins /var/qmail/bin/qmail-pop3d Maildir &

TIA,
Matt

``````````````````````````````````````````````````````````````````
  Matt Simerson                    http://users.michweb.net/~matt
  MichWeb Inc. - President         http://www.michweb.net   
  The Art Farm - Technical Wizard  http://www.theartfarm.com
  
  Better to dare Mighty Things and fail, than to live in     __o
    a gray twilight where there is neither victory or      _-\<,_
    defeat. -- attributed to Theodore Roosevelt     ......(_)/ (_)
``````````````````````````````````````````````````````````````````

Reply via email to