On Wednesday 27 July 2005 08:42 pm, Ken Lyons wrote: > Hi all... > > I use BincIMAP at a small ISP / Hosting company. I would like to > consolidate our emails using syslinks but need bincimap to do a word > replace when reading a file. > > Heres the situation. > > Say [EMAIL PROTECTED] sends 100 emails to his co-workers. Currently each > email would be copied to each users mailbox. We can configure our email > system to put a SYMLINK in each users mailbox to a single copy of the > email. Thus saving (99 * email size in HDD space).
so what happens when the user who has the real email deletes it? it vanishes for all users? or do you have it in a separate place to the side? In that case, how do you check to see that it no longer exists on the system? This is a bad idea. If anything, you should use hardlinks instead of symlinks, but then you have to have all of your mail storage on the same filesystem, which, if you're THIS concerned about the few bytes you'll save by doing this, you probably have your mail store spread out across multiple filesystems. > At this point everything would work fine... BUT our email system is able to > replace the To: xxx header to To: [email protected] so that > pop3/imap servers can insert ONLY that users email (like BCC but actually > visable to the user). (to the users the email was just sent to them, as > they can't see any other addresses. BCC is being cracked down on many many > spam scripts.) > > Is there a HOOK in BincIMAP that could call a 3rd party script when it > opens the email files. Bincimap opens file > /email/domain/user/Maildir/.cur/1234 > calls (datafile as STDIN) | /prog/replace.pl [EMAIL PROTECTED] (prog > + login UID) Bincimap uses the STDOUT as if it were the file it just > opened. no, binc doesn't have that, however, I believe there has been some discussion on the list about such functionality in the past. Please browse the archives for more information. -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] Club an otter http://www.nomorewhales.com/register.php?ref=949
pgpnZnOgPktsY.pgp
Description: PGP signature
