[pmwiki-users] Bug: Multiple emails from wiki engine about recent changes

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Mon Aug 28 11:33:14 CDT 2006

On Mon, 28 Aug 2006, Patrick R. Michaud wrote:

> Can you send a copy of your .notifylist file from wiki.d/ ?  I'm 
> thinking it must have been corrupted somehow and that's causing the 
> extra mail sends.

I'm still using '.mailposts' I think.

> > My guess is that the code that checks if an email has already been sent 
> > isn't working as it should.
> I tested that code pretty thoroughly, so I'm not sure what it would
> be.  Perhaps there's a race condition that is messing up the file
> when two people post at the same time.

Maybe there is some confusion here... I'm not using 'notify', but rather 
'mailposts'. However, I looked in my wiki.d/, and here's what I found:

[chr at aussie wiki.d]$ pwd

[chr at aussie wiki.d]$ ls -lad .*
drwxrwsr-x   2 apache chr  16384 28 aug 18.13 .
drwxrwsr-x  12 lyx    wiki  4096 30 jun 02.05 ..
-rw-rw-r--   1 apache chr      0 28 aug 18.23 .flock
-rw-rw-r--   1 apache chr     31 19 maj  2005 .htaccess
-rw-rw-r--   1 apache chr      0 28 aug 18.13 .lastmod
-rw-rw-rw-   1 apache chr  49826 28 aug 18.13 .linkindex
-rw-rw-r--   1 apache chr    460 28 aug 18.13 .mailposts

[chr at aussie wiki.d]$ cat .mailposts
1156730323 #lastmailed

The version of PmWiki I am using is 2.1.beta22. If you think it helps, I 
can upgrade (I should do that anyway, but it'd be nice to fix the bug 
first). The reason I haven't upgraded is due to a rather strange (but 
unrelated) reason. From that computer I can't access pmwiki.org 
properly...  For instance, trying to retrieve the lastest pmwiki.tgz via 
'wget' results in this:

[chr at aussie ~]$ wget http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.tgz
--18:27:10--  http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.tgz
           => `pmwiki-latest.tgz'
Resolving www.pmwiki.org... failed: No such file or directory.

The really strange thing is that 'ping' and 'host' work:

[chr at aussie ~]$ host www.pmwiki.org; ping www.pmwiki.org
www.pmwiki.org is an alias for pmwiki.org.
pmwiki.org has address
pmwiki.org mail is handled by 0 pmwiki.org.
PING pmwiki.org ( 56(84) bytes of data.
64 bytes from pmichaud.com ( icmp_seq=0 ttl=51 time=122 ms
64 bytes from pmichaud.com ( icmp_seq=1 ttl=51 time=121 ms

--- pmwiki.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 121.381/121.761/122.142/0.516 ms, pipe 2


Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

More information about the pmwiki-users mailing list