Hi Paul The issue your facing is similar to one that I'd like to look at solving with James. Basically, I want a local SMTP server which can modify the sender "identity" (From, Reply-To) based on a set of Rules. This means that I no longer will have to select different identities for different recipients manually, I can base this on a set of rules.
I've already done a little hack of the RemoteDelivery mailet to this end. My KMail client had a bug which caused it to always use the default identity for the SMTP FROM header. This meant that all of my mailing list messages always went to moderation, since they appeared to be from an "unsubscribed" address. A simple change which mapped particular recipients to a particular SMTP FROM address worked a treat. As for "popping up a dialog", I'd hesitate to try to put this into James itself. I would think the server should always run without manual intervention. Probably a better plan would be: 1) Set up rules which deal with common cases automatically. 2) When the rules don't match the email, send to a location (say a MailRepository) for further processing. 3) Have a separate app which monitors the MailRepository, pops up a window for input, and resubmits the mail for processing once a response is made. If this is just bleeding obvious, sorry about that. ciao Daz ----- Original Message ----- From: "Paul Sidnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 28, 2001 1:20 PM Subject: Idea: using James for encrypting/certifying mails > My problem: > > 1. I want to easily/swiftly sign my outgoing mails with PGP/GPG > 2. Mail tool plugins for this are bad except for Outlook [Express] > 3. I'll never use Outlook [Express] on a machine I value :-) > > My Plan: > > Put an SMTP proxy on my local machine. As outbound mails pass through, it pops up a dialog box asking me what action to take; either: > > a) just send it. > b) certify it - it then asks for my password. > c) encrypt it, getting my pwd and using the recipient to identify which key to use. > > It is of course slightly more horrid than this since it will have to decode the mime structure and just encrypt/certify the top level text part, but hey, that's what the JavaMail api is for... > (I've got a really nasty prototype that isolates the actual message from an ESMTP transaction by pattern matching on the \n\r\n\r<message>\n\r.\n\r and i've just realised that it's doomed to fail) > > My Questions: > > Is James a good platform for this? > > I've been hunting for a good Java SMTP server with the ability to plug in transformation components and James is the best I've come across although it has "a few" more features than I need. A modified version of the remote delivery Mailet seems like the place to start. > > Is this a mad idea? > Anything I've overlooked? > Might anyone else want this capability? > > Thanks > > -- > Paul Sidnell > Electric Pocket > http://electricpocket.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
