Hey all, I currently use spam assassin and it works great except for sometimes it likes to filter orders from our shopping cart that the clients get. (yes they all requested the spam filtering ^_~) The filtering we do is log the spam to the spam.log file and then send it to a mailbox called spam in their home dir. So to get around the loss of mail we set up a cronjob to e-mail them their spam.log file and then have them tell us if they want a message from or if they want the log file cleared. While great for the user, it's kind of a pain for us. So I have come up with another system that involves adding a link at the top of the e-mail we send to clear out their log and spam inbox (using a cgi script and just prefixing the log e-mail we send so this part was easy) and also having a link preceding each spam.log entry that calls a script to e-mail them the coresponding e-mail that the log entry references. I want to do this by prefixing each spam.log entry with the html code to link to the cgi script and by assigning each message a id# (1 - 99999999 that loops when you get to the max). Here is where I run into problems. Is there anyway to append each entry with the code that I specify and the id#? Also is there any way to wrap each spam message including the headers in specific tags to easily identify it in the spam mailbox? like: #------- id# ------# spammessage #\------ id# -----/# Thanks for any help! Zac
Goodwin |
- [SAtalk] SA in Mailshield by Lyris Zac Goodwin
- [SAtalk] SA in Mailshield by Lyris Mark Jenks