piping the data will give you problems with message size limits and timeouts I think. Add a header to your new messages to prevent refinding them...
And you will probably want to move the messages to a new working directory and delete them as you process them - or work in the archivedir itself - you will have to clean up this folder though or it will eat all your disk. -----Original Message----- From: Carey Jung [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 9:57 AM To: Mitch (WebCob); Thomas von Hassel Cc: Courier Users Subject: RE: [courier-users] filtering outgoing mail > > That's half the solution though - the other part is to grep through the > archive directory and process the messages to determine which ones need to > be forwarded and to who - AND to skip ones that are a reforward of an > original message. A cron job and a bit of script should be able to do that > for you. > Yes, I'm working on that. It looks like greping for something like '[EMAIL PROTECTED]' will get messages sent to or received by someone at '@domain.com'. How do you detect the reforwards? > > How would you go about re-injecting the msg into courier ? > I'm just piping the data file into 'sendmail [EMAIL PROTECTED]'. Carey ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
