cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP Inbound Problem

pierre1900
Champ in-the-making
Champ in-the-making
hello to all,

I'm facing a stange problem.
I activated smtp inbound server on my Alfresco community 5.0.d because I want sent mails to alfresco content (folder). I followed all wiki docs and set up my alfrsco-global.propreties file as expected.

When I test sending mails (using telent) inbound smtp all is fine and at the end of the communication the smtp tels OK.

I see tant email in the folder on which I set up alias aspect. User who send the mail is in email_contriburots group of course.

Whan happens is that when I look into the destination folder I see my mail but with ZERO bytes. I can see the subject that I specified using Telnet but the body is empty. Even if I put in Telnet in DATA command my text.

I'm using IMAP4 to mount points that can be seen in Outlook 2010 and it's working fine. Now when I send the test mail using Telnet (mail which arrives with size of ZERO bytes) all my existing mails, documents in destination folder desapears whan I look in Outlook. In share on Alfresco I can always see all documents it's just in Outlook they deseapears. Now I delete this test mail and in Outlook I can see again the old mails, documents.
Can you drive my how to solve this SMTP problem?

Many thanks
1 REPLY 1

melahn
Champ in-the-making
Champ in-the-making
Pierre,

I have noticed that I also see this behaviour with the absence of a Subject line followed by a blank line in the data.

For example, the following will work:


250 Ok
EHLO gtm-alfresco.com
250-gtm-alfresco.com
250-8BITMIME
250-STARTTLS
250 Ok
MAIL FROM:userone@gtm-alfresco.com
250 Ok
RCPT TO:inbox@gtm-alfresco.com
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject:Test2

this is a test with a blank line after the subject
.
250 Ok


but the following will result in a zero byte file (notice no blank line after Subject):


250 Ok
EHLO gtm-alfresco.com
250-gtm-alfresco.com
250-8BITMIME
250-STARTTLS
250 Ok
MAIL FROM:userone@gtm-alfresco.com
250 Ok
RCPT TO:inbox@gtm-alfresco.com
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject:Test
no blank line
.


The omission of a Subject line entirely will also result in a zero byte file.