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).
 
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.
 
This way a script can EDIT the email message before BINC uses it and the client downloads it.
 
We already have this functioning with our custom POP3 server. This could save us over 80% in HDD space as it eliminates redundant files.
 
 
 
 
Ken Lyons
 

Reply via email to