Let's see...Here's what we have:<br>
<br>
of course you need<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include_once('cookbook/commentsmailed.php');<br><br>
and then the configuration<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $EnableMailPosts =
1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # To enable
mailposts<br>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $MailPostsTo = &quot;<a href="mailto:XXXXXXXX@mailbox.ext">XXXXXXXX@mailbox.ext</a>&quot;;&nbsp; &nbsp;&nbsp;&nbsp; # Where to send mail<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $MailPostsFrom = &quot;<a href="mailto:XXXXXXXX@mailbox.ext">XXXXXXXX@mailbox.ext</a>&quot;;&nbsp;&nbsp;&nbsp; # Default Sender<br>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $MailPostsDelay =
1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # Wait 1 sec
after initial post<br>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $MailPostsSquelch =
7200;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # Require 2+
hours between mails<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $MailPostsItemFmt = &quot; *
\$FullName . . . \$PostTime by \$Author\n&nbsp;&nbsp;&nbsp;&nbsp;
\$PageUrl&quot;;<br>
<br>
A note about this recipe:<br>
We are considering reverting to the comments.php recipe because every
time a search engine's robot touches a page, it creates or increments
the .comment version of the page and the mailpost reports that a
comment has been posted.<br>
<br>
Too many false positives is no better than no info at all - we aren't
looking at the messages that come in any more.&nbsp; I posted a query
about this a week or two ago but received no replies - do you have any
ideas about how the recipe or our configuration could be modified to
prevent robots from &quot;touching&quot;?<br>
<br><div><span class="gmail_quote">On 11/26/05, <b class="gmail_sendername"><a href="mailto:brian@pongonova.net">brian@pongonova.net</a></b> &lt;<a href="mailto:brian@pongonova.net">brian@pongonova.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Any ideas what vars I need to enable to get the mail part to work?<br>I've defined $MailPostsFrom and $MailPostsTo in my local/config.php
<br>file, but no mail...there's no&nbsp;&nbsp;.mailposts file in my wiki.d dir.<br><br>&nbsp;&nbsp;--Brian<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com
</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>