here in below code, what should i write after d or something else to get all mimemessage and parameter, and how can i handle that parameter, how will it come, as a java object???
javapipe unix - n n - - pipe user=pstfx flags=DRhuX argv=echo 'merveee' -d ${recipient} 2013/11/13 Merve Temizer <mervet2...@gmail.com> > > hi, > i am going to copy your solution > > but i need to know how can i pass all mime message to my java main method > in jar. > > thanks > > > 2013/10/20 Tim Prepscius <timprepsc...@gmail.com> > >> search for my name on this mailing list >> >> I'm doing about the same thing.. >> It turns out you can probably use most of the java code you wrote for >> james. >> >> Unfortunately pipe will not be enough to catch the outgoing mail. >> You will need to write a filter. But a first cut can be a bash script >> which calls your java and returns OK. >> >> >> If you feel like posting your final solutions, I'd be interested. I >> haven't had the time to hook up the outgoing mail. Nor have I hooked >> up the password authentication. Probably will do next weekend. >> >> feel free to look/copy from: >> https://github.com/timprepscius/mailiverse >> >> the relevant existing code is probably: >> >> >> https://github.com/timprepscius/mailiverse/blob/master/install/setup-postfix.remote >> and >> https://github.com/timprepscius/mailiverse/tree/master/deploy/postfix-user >> >> -tim >> >> >> >> >> >> On 10/20/13, Stan Hoeppner <s...@hardwarefreak.com> wrote: >> > On 10/20/2013 3:28 AM, Wijatmoko U. Prayitno wrote: >> >> On Sun, 20 Oct 2013 06:50:07 +0300 >> >> Merve Temizer <mervet2...@gmail.com> wrote: >> >> >> >>> What is the most appropriate way to save mails into a >> >>> database that i built before. I mean, i have a custom >> >> >> >> Use dbmail (www.dbmail.org).. >> > >> > dbmail isn't appropriate here despite the fact it uses a database for >> > storing messages. It uses its own non-configurable database format >> AFAIK. >> > >> > The OP will likely need to write a custom mail delivery agent that >> > accepts the msg from Postfix via pipe(8) and then speaks SQL to the >> > database engine in order to populate the fields. >> > >> > -- >> > Stan >> > >> > >> > >> > >