[jira] [Commented] (JAMES-2371) Store attachments out of the database

2018-05-28 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492708#comment-16492708
 ] 

mostafa vtp commented on JAMES-2371:


Hi
I reviewed StripAttachment and RecoverAttachment mailets. I can change 
StripAttachment to save attachments in another storage and replace it with a 
specific tag in the email message. But I think RecoverAttachment should run 
when IMAP or POP3 requests are sent to James but it run when James receives 
email. 
How I can write mailet for IMAP and POP3 requests? 
Is it Possible to write code similar to mailet for IMAP and POP3 request?

> Store attachments out of the database
> -
>
> Key: JAMES-2371
> URL: https://issues.apache.org/jira/browse/JAMES-2371
> Project: James Server
>  Issue Type: New Feature
>  Components: MailStore & MailRepository
>Reporter: mostafa vtp
>Priority: Major
>  Labels: storage
>
> I want to store email attachments on file system(directly or by calling a 
> service to do it) and save only text part of the message body in database.
> I know that in general, saving whole message body (including attachments) in 
> database is better But due to certain circumstances, I have to do it. And it 
> may be useful for others with limited storage space on database.
> We can implement it as a configurable feature.
> And if it is not accepted as a new feature, can anyone help me out how to do 
> it?
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-2391) IMAP authentication problem (using Domain Name and LDAP)

2018-05-12 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473128#comment-16473128
 ] 

mostafa vtp commented on JAMES-2391:


thank you.

Yes it was helpful. Excuse me, I respond late.

but I think we must change ReadOnlyUsersLDAPRepository class also.

 

> IMAP authentication problem (using Domain Name and LDAP)
> 
>
> Key: JAMES-2391
> URL: https://issues.apache.org/jira/browse/JAMES-2391
> Project: James Server
>  Issue Type: Test
>Affects Versions: 3.0.1
>Reporter: mostafa vtp
>Priority: Major
>
> We are using LDAP for authentication and it store user name only without 
> domain name. (We don’t want virtual hosting in our Mail server)
> When I want to use mobile apps as email client (such as Outlook and Gmail) in 
> login step James refused to authenticate with email and pass because it send 
> user name with domain (such as [u1@t.t1|mailto:u1@t.t1]) to LDAP for 
> authentication and it is not exist( u1 exist). but if we change the user name 
> for IMAP and SMTP in manual setting in email client apps it works correctly.
> Our clients don't know this thus they can’t log in to their email.
> How can I solve this problem?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (JAMES-2391) IMAP authentication problem (using Domain Name and LDAP)

2018-05-08 Thread mostafa vtp (JIRA)
mostafa vtp created JAMES-2391:
--

 Summary: IMAP authentication problem (using Domain Name and LDAP)
 Key: JAMES-2391
 URL: https://issues.apache.org/jira/browse/JAMES-2391
 Project: James Server
  Issue Type: Test
Affects Versions: 3.0.1
Reporter: mostafa vtp


We are using LDAP for authentication and it store user name only without domain 
name. (We don’t want virtual hosting in our Mail server)

When I want to use mobile apps as email client (such as Outlook and Gmail) in 
login step James refused to authenticate with email and pass because it send 
user name with domain (such as [u1@t.t1|mailto:u1@t.t1]) to LDAP for 
authentication and it is not exist( u1 exist). but if we change the user name 
for IMAP and SMTP in manual setting in email client apps it works correctly.

Our clients don't know this thus they can’t log in to their email.

How can I solve this problem?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Updated] (JAMES-2389) Inbox User Name is case sensitive so wrong inbox generated

2018-05-05 Thread mostafa vtp (JIRA)

 [ 
https://issues.apache.org/jira/browse/JAMES-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mostafa vtp updated JAMES-2389:
---
Description: 
Hi
 When sending an email to a user with no lower case user name, a new Inbox is 
created for that user.
 For example assume:
 I have a user with "test1@t.t1" name for example. When I send mail to 
"*Test1*@t.t1", James accepts it but *creates a new mail box* with "Test1@t.t1" 
name in database(JAMES_MAILBOX table in USER_NAME field) *and "test1@t.t1" user 
can't see the email.*
 It seems user existence check is case insensitive but mailbox creation is case 
sensitive.
 James should not create a new inbox in this situation.

  was:
Hi
 When sending an email to a user with no lower case user name, a new Inbox is 
created for that user.
 For example assume:
 I have a user with "test1@t.t1" name for example. When I send mail to 
"*Test1*@t.t1", James accepts it but *creates a new mail box* with "Test1@t.t1" 
name in database(JAMES_MAILBOX table in USER_NAME field) *and "test1@t.t1" user 
can't see the email.*
 It seems user existance check is case insensitive but mailbox creation is case 
sensitive.
 James should not create a new inbox in this situation.


> Inbox User Name is case sensitive so wrong inbox generated
> --
>
> Key: JAMES-2389
> URL: https://issues.apache.org/jira/browse/JAMES-2389
> Project: James Server
>  Issue Type: Bug
>  Components: data
>Affects Versions: 3.0.1
>Reporter: mostafa vtp
>Priority: Major
>
> Hi
>  When sending an email to a user with no lower case user name, a new Inbox is 
> created for that user.
>  For example assume:
>  I have a user with "test1@t.t1" name for example. When I send mail to 
> "*Test1*@t.t1", James accepts it but *creates a new mail box* with 
> "Test1@t.t1" name in database(JAMES_MAILBOX table in USER_NAME field) *and 
> "test1@t.t1" user can't see the email.*
>  It seems user existence check is case insensitive but mailbox creation is 
> case sensitive.
>  James should not create a new inbox in this situation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (JAMES-2389) Inbox User Name is case sensitive so wrong inbox generated

2018-05-05 Thread mostafa vtp (JIRA)
mostafa vtp created JAMES-2389:
--

 Summary: Inbox User Name is case sensitive so wrong inbox generated
 Key: JAMES-2389
 URL: https://issues.apache.org/jira/browse/JAMES-2389
 Project: James Server
  Issue Type: Bug
  Components: data
Affects Versions: 3.0.1
Reporter: mostafa vtp


Hi
 When sending an email to a user with no lower case user name, a new Inbox is 
created for that user.
 For example assume:
 I have a user with "test1@t.t1" name for example. When I send mail to 
"*Test1*@t.t1", James accepts it but *creates a new mail box* with "Test1@t.t1" 
name in database(JAMES_MAILBOX table in USER_NAME field) *and "test1@t.t1" user 
can't see the email.*
 It seems user existance check is case insensitive but mailbox creation is case 
sensitive.
 James should not create a new inbox in this situation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1832) unable to send and receive email with James - java.io.IOException: The system cannot find the path specified

2018-04-28 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457532#comment-16457532
 ] 

mostafa vtp commented on JAMES-1832:


I did a work around to solve the problem.
since It may be useful for other, I wrote it here:
after install service by "bin/james.bat install", 
1- go to james service properties (find it in "services" program) 
2- In Log On tab click on "This account"
3- Write in it "NT AUTHORITY\NetworkService" 
4- Entert your password in password section.
5- then click OK
the problem must be solved.

> unable to send and receive email with James - java.io.IOException: The system 
> cannot find the path specified
> 
>
> Key: JAMES-1832
> URL: https://issues.apache.org/jira/browse/JAMES-1832
> Project: James Server
>  Issue Type: Bug
>Affects Versions: 3.0.0-beta5
> Environment: Windows operating system
>Reporter: Rijoy Babu T
>Priority: Major
> Attachments: confFiles.zip, jamse-serverLogs.txt, 
> mailetcontainer.log, pop3server.log, smtpserver.log, telnet commands.jpg, 
> wrapperlog.zip
>
>
> I have installed James server on my local machine and configured it with 
> thunderBird email client. 
> After setting up email client I am not able to view emails in inbox. I am not 
> getting any error while sending emails from ThunderBird email client.
> When I observed SMTP and POP3 logs, no errors found, But in wrapper.logs I 
> can see some exceptions.
> I am new to this mail configuration. Not sure If I missed any settings prior 
> to set up email client. 
> Please find the stack trace below for more clarification. Also I am attaching 
> my mailetcontainer.xml file for your reference.
> Caused by: org.apache.james.mailbox.exception.MailboxException: Unable to 
> parse message
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:383)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.transport.mailets.ToSenderFolder.doService(ToSenderFolder.java:125)
> INFO   | jvm 1| 2016/10/07 10:10:41 | ... 199 more
> INFO   | jvm 1| 2016/10/07 10:10:41 | Caused by: java.io.IOException: The 
> system cannot find the path specified
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.WinNTFileSystem.createFileExclusively(Native Method)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.checkAndCreate(File.java:1704)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.createTempFile(File.java:1792)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.createTempFile(File.java:1828)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:260)
> INFO   | jvm 1| 2016/10/07 10:10:41 | ... 200 more
> INFO   | jvm 1| 2016/10/07 10:10:42 | ERROR 10:10:41,974 | 
> james.mailspooler | Exception processing mail while spooling Unable to 
> process mail Mail1475815159834-7f699d91-039e-42f8-b9e7-2e3df8cc9da1 
> (org.apache.camel.CamelExecutionException: Exception occurred during 
> execution on the exchange: Exchange[Message: 
> org.apache.james.core.MailImpl@79c0f4])
> INFO   | jvm 1| 2016/10/07 10:10:42 | javax.mail.MessagingException: 
> Unable to process mail Mail1475815159834-7f699d91-039e-42f8-b9e7-2e3df8cc9da1 
> (org.apache.camel.CamelExecutionException: Exception occurred during 
> execution on the exchange: Exchange[Message: 
> org.apache.james.core.MailImpl@79c0f4])
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.service(CamelMailetProcessor.java:65)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.service(AbstractStateCompositeProcessor.java:98)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.impl.JamesMailSpooler$1.run(JamesMailSpooler.java:166)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.lang.Thread.run(Thread.java:662)
> INFO   | jvm 1| 2016/10/07 10:10:42 | Caused by: 
> org.apache.camel.CamelExecutionException: Exception occurred during execution 
> on the exchange: Exchange[Message: org.apache.james.core.MailImpl@79c0f4]
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java

[jira] [Commented] (JAMES-2242) Integration test for RemoteDelivery gateway feature

2018-04-25 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16452232#comment-16452232
 ] 

mostafa vtp commented on JAMES-2242:


I incorrectly wrote previous comment here.
excuse me.


> Integration test for RemoteDelivery gateway feature
> ---
>
> Key: JAMES-2242
> URL: https://issues.apache.org/jira/browse/JAMES-2242
> Project: James Server
>  Issue Type: Test
>Reporter: Tellier Benoit
>Priority: Major
>
> Currently, remote delivery feature is not tested.
> We should implement mail integration tests to be sure it works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-2242) Integration test for RemoteDelivery gateway feature

2018-04-25 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16452178#comment-16452178
 ] 

mostafa vtp commented on JAMES-2242:


It should not be changed.
It is equivalent sample in Resend class not Forward class.
The tag name must remain "recipients".

> Integration test for RemoteDelivery gateway feature
> ---
>
> Key: JAMES-2242
> URL: https://issues.apache.org/jira/browse/JAMES-2242
> Project: James Server
>  Issue Type: Test
>Reporter: Tellier Benoit
>Priority: Major
>
> Currently, remote delivery feature is not tested.
> We should implement mail integration tests to be sure it works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Comment Edited] (JAMES-1832) unable to send and receive email with James - java.io.IOException: The system cannot find the path specified

2018-04-25 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451946#comment-16451946
 ] 

mostafa vtp edited comment on JAMES-1832 at 4/25/18 10:46 AM:
--

(my James version is v 3.0.1)
I had the same problem and I ran normally by running "bin/run.bat" or 
"bin/james.bat console" with administrator privileges and I had no error.
thank you.
but I think, running as a service problem should be solved.



was (Author: mostafavtp):
I had the same problem and I ran normally by running "bin/run.bat" or 
"bin/james.bat console" with administrator privileges and I had no error.
thank you.
but I think, running as a service problem should be solved.

> unable to send and receive email with James - java.io.IOException: The system 
> cannot find the path specified
> 
>
> Key: JAMES-1832
> URL: https://issues.apache.org/jira/browse/JAMES-1832
> Project: James Server
>  Issue Type: Bug
>Affects Versions: 3.0.0-beta5
> Environment: Windows operating system
>Reporter: Rijoy Babu T
>Priority: Major
> Attachments: confFiles.zip, jamse-serverLogs.txt, 
> mailetcontainer.log, pop3server.log, smtpserver.log, telnet commands.jpg, 
> wrapperlog.zip
>
>
> I have installed James server on my local machine and configured it with 
> thunderBird email client. 
> After setting up email client I am not able to view emails in inbox. I am not 
> getting any error while sending emails from ThunderBird email client.
> When I observed SMTP and POP3 logs, no errors found, But in wrapper.logs I 
> can see some exceptions.
> I am new to this mail configuration. Not sure If I missed any settings prior 
> to set up email client. 
> Please find the stack trace below for more clarification. Also I am attaching 
> my mailetcontainer.xml file for your reference.
> Caused by: org.apache.james.mailbox.exception.MailboxException: Unable to 
> parse message
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:383)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.transport.mailets.ToSenderFolder.doService(ToSenderFolder.java:125)
> INFO   | jvm 1| 2016/10/07 10:10:41 | ... 199 more
> INFO   | jvm 1| 2016/10/07 10:10:41 | Caused by: java.io.IOException: The 
> system cannot find the path specified
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.WinNTFileSystem.createFileExclusively(Native Method)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.checkAndCreate(File.java:1704)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.createTempFile(File.java:1792)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.createTempFile(File.java:1828)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:260)
> INFO   | jvm 1| 2016/10/07 10:10:41 | ... 200 more
> INFO   | jvm 1| 2016/10/07 10:10:42 | ERROR 10:10:41,974 | 
> james.mailspooler | Exception processing mail while spooling Unable to 
> process mail Mail1475815159834-7f699d91-039e-42f8-b9e7-2e3df8cc9da1 
> (org.apache.camel.CamelExecutionException: Exception occurred during 
> execution on the exchange: Exchange[Message: 
> org.apache.james.core.MailImpl@79c0f4])
> INFO   | jvm 1| 2016/10/07 10:10:42 | javax.mail.MessagingException: 
> Unable to process mail Mail1475815159834-7f699d91-039e-42f8-b9e7-2e3df8cc9da1 
> (org.apache.camel.CamelExecutionException: Exception occurred during 
> execution on the exchange: Exchange[Message: 
> org.apache.james.core.MailImpl@79c0f4])
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.service(CamelMailetProcessor.java:65)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.service(AbstractStateCompositeProcessor.java:98)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.impl.JamesMailSpooler$1.run(JamesMailSpooler.java:166)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.lang.Thread.run(Thread.java:662)
> INFO   | jvm 1| 2016/10/07 10:10:42 | Caused by: 
> org.apache.camel.CamelExecutionException: Exception occurred during execution 
> on the exchange: Exchange[Message: org.apache.james.co

[jira] [Commented] (JAMES-1832) unable to send and receive email with James - java.io.IOException: The system cannot find the path specified

2018-04-25 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451946#comment-16451946
 ] 

mostafa vtp commented on JAMES-1832:


I had the same problem and I ran normally by running "bin/run.bat" or 
"bin/james.bat console" with administrator privileges and I had no error.
thank you.
but I think, running as a service problem should be solved.

> unable to send and receive email with James - java.io.IOException: The system 
> cannot find the path specified
> 
>
> Key: JAMES-1832
> URL: https://issues.apache.org/jira/browse/JAMES-1832
> Project: James Server
>  Issue Type: Bug
>Affects Versions: 3.0.0-beta5
> Environment: Windows operating system
>Reporter: Rijoy Babu T
>Priority: Major
> Attachments: confFiles.zip, jamse-serverLogs.txt, 
> mailetcontainer.log, pop3server.log, smtpserver.log, telnet commands.jpg, 
> wrapperlog.zip
>
>
> I have installed James server on my local machine and configured it with 
> thunderBird email client. 
> After setting up email client I am not able to view emails in inbox. I am not 
> getting any error while sending emails from ThunderBird email client.
> When I observed SMTP and POP3 logs, no errors found, But in wrapper.logs I 
> can see some exceptions.
> I am new to this mail configuration. Not sure If I missed any settings prior 
> to set up email client. 
> Please find the stack trace below for more clarification. Also I am attaching 
> my mailetcontainer.xml file for your reference.
> Caused by: org.apache.james.mailbox.exception.MailboxException: Unable to 
> parse message
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:383)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.transport.mailets.ToSenderFolder.doService(ToSenderFolder.java:125)
> INFO   | jvm 1| 2016/10/07 10:10:41 | ... 199 more
> INFO   | jvm 1| 2016/10/07 10:10:41 | Caused by: java.io.IOException: The 
> system cannot find the path specified
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.WinNTFileSystem.createFileExclusively(Native Method)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.checkAndCreate(File.java:1704)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.createTempFile(File.java:1792)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> java.io.File.createTempFile(File.java:1828)
> INFO   | jvm 1| 2016/10/07 10:10:41 | at 
> org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:260)
> INFO   | jvm 1| 2016/10/07 10:10:41 | ... 200 more
> INFO   | jvm 1| 2016/10/07 10:10:42 | ERROR 10:10:41,974 | 
> james.mailspooler | Exception processing mail while spooling Unable to 
> process mail Mail1475815159834-7f699d91-039e-42f8-b9e7-2e3df8cc9da1 
> (org.apache.camel.CamelExecutionException: Exception occurred during 
> execution on the exchange: Exchange[Message: 
> org.apache.james.core.MailImpl@79c0f4])
> INFO   | jvm 1| 2016/10/07 10:10:42 | javax.mail.MessagingException: 
> Unable to process mail Mail1475815159834-7f699d91-039e-42f8-b9e7-2e3df8cc9da1 
> (org.apache.camel.CamelExecutionException: Exception occurred during 
> execution on the exchange: Exchange[Message: 
> org.apache.james.core.MailImpl@79c0f4])
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.service(CamelMailetProcessor.java:65)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.service(AbstractStateCompositeProcessor.java:98)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.james.mailetcontainer.impl.JamesMailSpooler$1.run(JamesMailSpooler.java:166)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> java.lang.Thread.run(Thread.java:662)
> INFO   | jvm 1| 2016/10/07 10:10:42 | Caused by: 
> org.apache.camel.CamelExecutionException: Exception occurred during execution 
> on the exchange: Exchange[Message: org.apache.james.core.MailImpl@79c0f4]
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1287)
> INFO   | jvm 1| 2016/10/07 10:10:42 | at 
> org.apache.camel.util.ExchangeHelper.extractResultBody(ExchangeHelper.java:618)
> INFO   | jvm 1| 2016/10/0

[jira] [Commented] (JAMES-2371) Store attachments out of the database

2018-04-16 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439081#comment-16439081
 ] 

mostafa vtp commented on JAMES-2371:


Thank you very much

> Store attachments out of the database
> -
>
> Key: JAMES-2371
> URL: https://issues.apache.org/jira/browse/JAMES-2371
> Project: James Server
>  Issue Type: New Feature
>  Components: MailStore & MailRepository
>Reporter: mostafa vtp
>Priority: Major
>  Labels: storage
>
> I want to store email attachments on file system(directly or by calling a 
> service to do it) and save only text part of the message body in database.
> I know that in general, saving whole message body (including attachments) in 
> database is better But due to certain circumstances, I have to do it. And it 
> may be useful for others with limited storage space on database.
> We can implement it as a configurable feature.
> And if it is not accepted as a new feature, can anyone help me out how to do 
> it?
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-2371) Store attachments out of the database

2018-04-11 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16433774#comment-16433774
 ] 

mostafa vtp commented on JAMES-2371:


Is there any software design (and architecture) documentation for Apache James 
to help us understand project relations, class relations, used technology 
stack, programming approach and …?

 

> Store attachments out of the database
> -
>
> Key: JAMES-2371
> URL: https://issues.apache.org/jira/browse/JAMES-2371
> Project: James Server
>  Issue Type: New Feature
>  Components: MailStore & MailRepository
>Reporter: mostafa vtp
>Priority: Major
>  Labels: storage
>
> I want to store email attachments on file system(directly or by calling a 
> service to do it) and save only text part of the message body in database.
> I know that in general, saving whole message body (including attachments) in 
> database is better But due to certain circumstances, I have to do it. And it 
> may be useful for others with limited storage space on database.
> We can implement it as a configurable feature.
> And if it is not accepted as a new feature, can anyone help me out how to do 
> it?
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-2371) Store attachments out of the database

2018-04-09 Thread mostafa vtp (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431778#comment-16431778
 ] 

mostafa vtp commented on JAMES-2371:


Thank you for your quick and accurate response.

I will investigate it.

 

> Store attachments out of the database
> -
>
> Key: JAMES-2371
> URL: https://issues.apache.org/jira/browse/JAMES-2371
> Project: James Server
>  Issue Type: New Feature
>  Components: MailStore & MailRepository
>Reporter: mostafa vtp
>Priority: Major
>  Labels: storage
>
> I want to store email attachments on file system(directly or by calling a 
> service to do it) and save only text part of the message body in database.
> I know that in general, saving whole message body (including attachments) in 
> database is better But due to certain circumstances, I have to do it. And it 
> may be useful for others with limited storage space on database.
> We can implement it as a configurable feature.
> And if it is not accepted as a new feature, can anyone help me out how to do 
> it?
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (JAMES-2371) Store attachments out of the database

2018-04-09 Thread mostafa vtp (JIRA)
mostafa vtp created JAMES-2371:
--

 Summary: Store attachments out of the database
 Key: JAMES-2371
 URL: https://issues.apache.org/jira/browse/JAMES-2371
 Project: James Server
  Issue Type: New Feature
  Components: MailStore & MailRepository
Reporter: mostafa vtp


I want to store email attachments on file system(directly or by calling a 
service to do it) and save only text part of the message body in database.
I know that in general, saving whole message body (including attachments) in 
database is better But due to certain circumstances, I have to do it. And it 
may be useful for others with limited storage space on database.
We can implement it as a configurable feature.
And if it is not accepted as a new feature, can anyone help me out how to do it?

Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org