Lisa Muir writes:
« HTML content follows »resending, accidentally sent this offlist a few mins ago....On Wed, Aug 6, 2014 at 1:07 PM, Sam Varshavchik <<URL:mailto:mrsam@courier- mta.com>mr...@courier-mta.com> wrote:Lisa Muir writes: My memory is that with this feature, ALL email that passed through the server went into a single data store, which is probably not very useful for what I want but would be worth reviewing if the feature is still in courier. You are referring to the ARCHIVEDIR setting in the courierd configuration file. There's some documentation there to read.Thanks Sam. Got the documentation in the config file..... probably not what I was looking for but worth finding again.Think I'll work on something based on dnotify to watch the .sent maildir and replicate newly created files into the shadow .sent maildir. Is there anything else I need to modify in the shadow .sent, is there a message index that needs to be updated, or will dropping a message file in there just "do the business"?
If you want to drop a file into the .sent directly you just need to follow the usual convention for adding a file to a maildir: write it to a file in tmp first, then rename it to new (or cur).
Do not open and write to the file in the cur or the new directory, directly.
pgplndwxInNxo.pgp
Description: PGP signature
------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users