You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Alex Sviridov <oo...@mail.ru.INVALID> on 2016/09/12 14:24:30 UTC

Apache james: messages are spooled and that's all

Hi all,

I use v3-beta5 version. When I send messages to somebody or when somebody sends message to me I see in logs that messages come to server and successfully spooled. Besides I see all got and sent messages in  /var/store/activemq/blob-transfer/ folder. However, all messages only spooled and don't reach the recipient. What do I miss?
This is my smtpserver.xml
<?xml version="1.0"?>
<smtpservers>
   <smtpserver enabled="true">
     <jmxName>smtpserver</jmxName>
     <bind>0.0.0.0:25</bind>
     <connectionBacklog>200</connectionBacklog>
     <tls socketTLS="false" startTLS="false">
       <keystore>file://conf/keystore</keystore>
       <secret>yoursecret</secret>
       <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
       <algorithm>SunX509</algorithm>
     </tls>
        <connectiontimeout>360</connectiontimeout>
        <connectionLimit>0</connectionLimit>
        <connectionLimitPerIP>0</connectionLimitPerIP>
        <authRequired>true</authRequired>
        <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
        <maxmessagesize>0</maxmessagesize>
        <addressBracketsEnforcement>true</addressBracketsEnforcement>
        <handlerchain>
            <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
            <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>       
        </handlerchain>           
   </smtpserver>
</smtpservers>

Best regards, Alex 

Re[2]: Apache james: messages are spooled and that's all

Posted by Alex Sviridov <oo...@mail.ru.INVALID>.
Hi Matthieu

Thank you for your answer! The problem was in this bug
https://issues.apache.org/jira/browse/JAMES-1640 . I built mime4j-core as described at the bottom comment and it seems to work.

Best regards, Alex




>Вторник, 13 сентября 2016, 9:57 +03:00 от Matthieu Baechler <mb...@linagora.com>:
>
>Hi Alex,
>
>I think the problem is not in your smtp server configuration but in the 
>mailet pipeline.
>
>Could you show us your mailetcontainer.xml file ?
>
>Best regards,
>
>-- 
>Matthieu Baechler
>
>Le 12/09/2016 à 16:24, Alex Sviridov a écrit :
>> Hi all,
>>
>> I use v3-beta5 version. When I send messages to somebody or when somebody sends message to me I see in logs that messages come to server and successfully spooled. Besides I see all got and sent messages in  /var/store/activemq/blob-transfer/ folder. However, all messages only spooled and don't reach the recipient. What do I miss?
>> This is my smtpserver.xml
>> <?xml version="1.0"?>
>> <smtpservers>
>>     <smtpserver enabled="true">
>>       <jmxName>smtpserver</jmxName>
>>       <bind>0.0.0.0:25</bind>
>>       <connectionBacklog>200</connectionBacklog>
>>       <tls socketTLS="false" startTLS="false">
>>         <keystore>file://conf/keystore</keystore>
>>         <secret>yoursecret</secret>
>>         <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
>>         <algorithm>SunX509</algorithm>
>>       </tls>
>>          <connectiontimeout>360</connectiontimeout>
>>          <connectionLimit>0</connectionLimit>
>>          <connectionLimitPerIP>0</connectionLimitPerIP>
>>          <authRequired>true</authRequired>
>>          <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
>>          <maxmessagesize>0</maxmessagesize>
>>          <addressBracketsEnforcement>true</addressBracketsEnforcement>
>>          <handlerchain>
>>              <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
>>              <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
>>          </handlerchain>
>>     </smtpserver>
>> </smtpservers>
>>
>> Best regards, Alex
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:  server-user-unsubscribe@james.apache.org
>For additional commands, e-mail:  server-user-help@james.apache.org
>


-- 
Alex Sviridov

Re: Apache james: messages are spooled and that's all

Posted by Matthieu Baechler <mb...@linagora.com>.
Hi Alex,

I think the problem is not in your smtp server configuration but in the 
mailet pipeline.

Could you show us your mailetcontainer.xml file ?

Best regards,

-- 
Matthieu Baechler

Le 12/09/2016 � 16:24, Alex Sviridov a �crit :
> Hi all,
>
> I use v3-beta5 version. When I send messages to somebody or when somebody sends message to me I see in logs that messages come to server and successfully spooled. Besides I see all got and sent messages in  /var/store/activemq/blob-transfer/ folder. However, all messages only spooled and don't reach the recipient. What do I miss?
> This is my smtpserver.xml
> <?xml version="1.0"?>
> <smtpservers>
>     <smtpserver enabled="true">
>       <jmxName>smtpserver</jmxName>
>       <bind>0.0.0.0:25</bind>
>       <connectionBacklog>200</connectionBacklog>
>       <tls socketTLS="false" startTLS="false">
>         <keystore>file://conf/keystore</keystore>
>         <secret>yoursecret</secret>
>         <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
>         <algorithm>SunX509</algorithm>
>       </tls>
>          <connectiontimeout>360</connectiontimeout>
>          <connectionLimit>0</connectionLimit>
>          <connectionLimitPerIP>0</connectionLimitPerIP>
>          <authRequired>true</authRequired>
>          <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
>          <maxmessagesize>0</maxmessagesize>
>          <addressBracketsEnforcement>true</addressBracketsEnforcement>
>          <handlerchain>
>              <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
>              <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
>          </handlerchain>
>     </smtpserver>
> </smtpservers>
>
> Best regards, Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org