Re: Save mails into custom DB

2013-11-13 Thread Merve Temizer
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

Re: Save mails into custom DB

2013-11-13 Thread Merve Temizer
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

Re: Save mails into custom DB

2013-11-13 Thread Wietse Venema
Merve Temizer: 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} The

Re: Save mails into custom DB

2013-11-13 Thread Merve Temizer
There is no mime message parameter below, does it mean i can not get mime message as a parameter through pipe? ${client_address} This macro expands to the remote client net- work address. This feature is available as of Postfix 2.2. ${client_helo} This macro expands to the remote client HELO

Re: Save mails into custom DB

2013-11-13 Thread Merve Temizer
Should i do something like this: javapipe unix - n n - - pipe user=pstfx flags=DRhuX argv=java /path/to/my/jar -args ${mailbox} and in java code go to the mailbox directory and do whatever i want with the mail in that directory? Is this the way, did i understand it? Thanks very much for

Re: Save mails into custom DB

2013-11-13 Thread Robert Sander
Am 13.11.2013 17:52, schrieb Merve Temizer: Should i do something like this: javapipe unix - n n - - pipe user=pstfx flags=DRhuX argv=java /path/to/my/jar -args ${mailbox} and in java code go to the mailbox directory and do whatever i want with the mail in that directory? No, the

Re: Save mails into custom DB

2013-10-20 Thread Wijatmoko U. Prayitno
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).. -- WUP

Re: Save mails into custom DB

2013-10-20 Thread Stan Hoeppner
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

Re: Save mails into custom DB

2013-10-20 Thread Tim Prepscius
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

Re: Save mails into custom DB

2013-10-20 Thread Merve Temizer
Thank Prepscius. Can i understand you as i do not need to writa a mail delivvery agent. It seems to me like to deveoplop a mta 20 Eki 2013 16:36 tarihinde Tim Prepscius timprepsc...@gmail.com yazdı: search for my name on this mailing list I'm doing about the same thing.. It turns out you can

Save mails into custom DB

2013-10-19 Thread Merve Temizer
Hi, i have a question. What is the most appropriate way to save mails into a database that i built before. I mean, i have a custom structured database and i need to save mails into that database. Some time ago i was using James server and wrote a bunch of Java code, Also i had a chance to use JPA