I gave up on this idea and I'm trying to use fetchmail instead. Still have the problem of getting spam to both servers and the problem of efficiently routing spam periodically to a spam account.
Currently, I use redirect in horde Webmail IMP to get the spam from say foo into the spam email account. I have to open spam in Horde to redirect it, forwarding isn't an option as the headers will change. One way to get the spam to two places is to have two virtual mailboxes connected to the spam user where each mailbox is a copy of the other. The idea is to copy the spam once and have fetchmail from each gateway that has spamcannibal installed access one of the two virtual mail boxes. Can procmail trigger copying? Note that the mailboxes have to be virtual or they have to be subfolders and fetchmail has to be able to target a virtual mailbox or a subfolder. Another problem is that I want to be able to let spam sit in someone's spam folder for say a week before it automatically redirects to the spam account. My thought is fetchmail on the mailhub itself, but how to target the spam folder instead of the INBOX? The subfolders problem hits at two points in the transfer chain, once getting spam to the spam account and again trying to fetch the mail to spamcannibal on the two gateways. The best I can do right now is to manually use Horde IMP to redirect mail to the spam account on the mailhub. I then have the primary mail gateway use fetchmail to pick it up. Note that I'm not sure how to test if spamcannibal is processing the spam correctly or not. The downside of my current approach is that I'm using an actual Linux account, spam, to collect spam. The idea here is that the spam account is like a special trash can that actually empties into spamcannibal. So I need to know the following: 1) How does one target a subfolder with fetchmail? 2) How does one automatically copy the spam to a subfolders with procmail? _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
