To give acess make sure the IUSR_xxx account on your server has permissions to access the .DLL and also the MailEnable holding and queue directories.
Below is a copy of my HTML spam notification template, very basic, but works.
<html>
<head>
<title>Spam Notification</title>
</head>
<body>
<h2>Spam E-Mail Notification </h2>
<hr />
<p><font face="Verdana" size="4">
postmaster@%RECIPDOMAIN% has detected possible spam.</font></p>
<p><font size="1" face="Verdana">A Message from <font color="#FF0000"> <b>%SMTPFROM%</b> (<b>"%MAILFROM%"</b>)</font>
is being held as it is suspected of SPAM.<br />
The message was to <font color="#FF0000"> <b>%SMTPTO%</b> (<b>"%MAILTO%"</b>).
</font><br />
It's subject line was <font color="#FF0000"> <b>"%SUBJECT%"</b>.</font><br />
</font><font face="Verdana"><font size="1">The spam phrase detected was <font color="#FF0000"> <b>"%SPAMMATCHES%"</b>.
</font></font><br />
<font size="1">The message was received at</font><font color="#FF0000"><font size="1">
</font> <b>
<font size="1">%NOW%</font></b></font><font size="1"></font></font></font></p>
<p><font face="Verdana" size="2">Your Message is Being held pending further instructions. Your message will
remain available for <b>3 days</b> after which it will be automatically deleted...</font></p>
<p><font face="Verdana" size="2"><b>Please read the following points carefully:<br />
<br />
Note: Using the features below will open a new e-mail message, properly
addressed and ready to send...<br />
DO NOT CHANGE ANYTHING IN THE "SUBJECT" LINE OR THE "TO" LINE...Simply click on
send...</b></font></p>
<ul>
<li><font face="Verdana" size="2">To <b>RELEASE</b> the held e-mail,
please click <a href="http://www.publicplanet.com/releaseemail.asp?ID=%MESSAGEID%">here</a>.
</font></li>
<li><font face="Verdana" size="2">To <b>RELEASE AND WHITELIST</b> <u><b>all further e-mails</b></u> from <b>%SMTPFROM%</b>,(future emails will NOT be blocked) click <a href="http://www.publicplanet.com/releaseemail.asp?ID=RELWHITE%MESSAGEID%">here</a>.</font></li>
<li><font face="Verdana" size="2">To <b>DELETE AND BLOCK</b> <u><b>all further e-mails</b></u> from <b>%SMTPFROM%</b>
please click
<a href="http://www.publicplanet.com/releaseemail.asp?ID=DELBLACK%MESSAGEID%">here</a>. (WARNING! You will not receive any more notifications once this email address is Blacklisted!). </font></li>
</ul>
<p><font face="Verdana" size="2">Thank You,</font></p>
<p><font face="Verdana" size="2">Your PostMaster<br />
postmaster@%RECIPDOMAIN%</font></p>
<hr />
<p align="left"><font size="1" face="Arial"> <u>Additional Information about
the suspect message<br />
</u>%FILENAME%
<span class="spnMessageText" id="msg1">
<br />
%SPAMMATCHES%<br />
</span> </font><span class="spnMessageText">
<font face="Arial" size="1">%DIRECTION%<br />
</font></span><font face="Arial" size="1"><span class="spnMessageText" id="msg">
Sender:%SENDERDOMAIN%<br />
</span></font><font size="1"><span class="spnMessageText">
<font face="Arial">Recipient: </font>
</span><font face="Arial"><span class="spnMessageText" id="msg">
%RECIPDOMAIN%<br />
</span></font><span class="spnMessageText">
<font face="Arial">PRA: </font></span>
<font face="Arial"><span class="spnMessageText" id="msg"> %PRADOMAIN%<br />
</span></font></font>
<span class="spnMessageText" id="msg0">
<font face="Arial" size="1">
%PRAADDRESS% - Primary Responsible
Address<br />
%SPFRESULT% - ME SPF Return Code<br />
%SPFHEADER% - ME SPF email header text</font></span></p>
</body>
</html>
|