Hi I would advise against this approach as it tightly binds your implementation to the current schema which may change; it also misses out on the ability to allow James to process the mails through the pipeline. The latter being configurable to do as much or as little as you require.
Ideally you should programatically inject your mail into James spool and let James take care of the rest. If the current SMTP and fetchmail injectors do not meet your needs, you could write your own using their source code as a reference. james-general is for administrative issues. You will get a better response from james-user where, if you describe what you are trying to achieve, you may find other users that have solved your problem. If you want to write your own spool injector, ask questions on james-dev. Cheers -- Steve alex_rosstech wrote: > > > > Hi all! > > I was wondering if it was possible to inject emails into > james' spool from a > program which is external to james? In other words, I want to > write a simple > Java program which pops mail from a server and injects these > into james' > root processor. I don't want to use fetchmail, as configuring > this for many > users is not feasible. > > I guess I could just write the emails to james' spool > directory, but I'm not > sure how to generate the required Repository.FileObjectStore files. > > Any help would be much appreciated! > > Thanks! > -- > View this message in context: > http://www.nabble.com/inject-to-spool-from-outside-james--tf48 74852.html#a13948649 Sent from the James - General mailing list archive at Nabble.com.
