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 BJ <bj...@free-man.com> on 2010/11/02 13:59:29 UTC
Re: looking for code and or config for outgoing mails
james-2.3.2
here is the log from the maillet.
01/11/10 00:10:32 INFO James.Mailet: RemoteDelivery: Attempting
delivery of Mail1288379423507-1407282-to-hotmail.com to host
mx4.hotmail.com. at 65.55.37.72 for addresses [gargkapil@hotmail.com]
01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Exception
delivering message (Mail1288379423507-1407282-to-hotmail.com) - [EOF]
01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Temporary
exception delivering mail (Mail1288379423507-1407282-to-hotmail.com:
01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Storing message
Mail1288379423507-1407282-to-hotmail.com into outgoing after 14 retries
=========================
BJ Freeman
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
Eric Charles sent the following on 10/23/2010 8:34 AM:
> Hi,
>
> Not sure to understand.
> Your james server receives back some rejected mails ?
> Which version of james are we talking about : 2.3.x or 3.0 snapshot ?
>
> Tks,
>
> Eric
>
>
> On 22/10/2010 20:05, BJ wrote:
>> I get a lot of rejection from mail servers from bogus emails that are
>> being returned by James, as rejected, for one reason or another.
>> the receiving Mail server give a code 554 and such.
>> is there any code or config that allows me to stop those from
>> attempting being resent?
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: looking for code and or config for outgoing mails
Posted by BJ <bj...@free-man.com>.
thanks Eric
FYI the ones that give the 554 have a spam guard that consider my server
a spam server.
I verified this with the servers that give this error.
There is a spammer that sends attachments that I reject.
the return address is bogus but the servers receiving the reject message
from my server gives a 554.
so I will expand the return to use a different config for the return codes.
=========================
BJ Freeman
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
Eric Charles sent the following on 11/5/2010 2:51 AM:
> Hi,
>
> SMTP 554 code is "Transaction failed". A priori, James will retry to
> send the mail to the remote host according to the policy defined in
> RemoteDelivery conf.
> After x retries, it will abondon.
>
> This is needed because you never know why the transaction failed.
> It may be a temporary issue of the remote server.
>
> Depending on you need, you can ajust the retransmission policy in
> config.xml
>
> Tks,
>
> Eric
>
>
> PS: The configuration resides in config.xml
>
> <mailet match="All" class="RemoteDelivery">
> <outgoing> file://var/mail/outgoing/ </outgoing>
> <!-- alternative database repository example below -->
> <!--
> <outgoing> db://maildb/spool/outgoing </outgoing>
> -->
>
> <!-- Delivery Schedule based upon RFC 2821, 4.5.4.1 -->
> <!-- 5 day retry period, with 4 attempts in the first
> hour, two more within the first 6 hours, and then
> every 6 hours for the rest of the period. -->
> <delayTime> 5 minutes </delayTime>
> <delayTime> 10 minutes </delayTime>
> <delayTime> 45 minutes </delayTime>
> <delayTime> 2 hours </delayTime>
> <delayTime> 3 hours </delayTime>
> <delayTime> 6 hours </delayTime>
> <maxRetries> 25 </maxRetries>
>
>
>
>
> On 3/11/2010 00:16, BJ wrote:
>> this is the response that means they have blocked my mailserver.
>>
>> 02/11/10 08:04:33 INFO James.Mailet: RemoteDelivery: Attempting
>> delivery of Mail1288706658968-1438168-!590782-to-dhl.com to host
>> mx1.dhl.iphmx.com. at 68.232.135.100 for addresses
>> [manager.id2413@dhl.com]
>> 02/11/10 08:04:34 INFO James.Mailet: RemoteDelivery: Could not connect
>> to SMTP host: 68.232.135.100, port: 25, response: 554
>>
>>
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>> BJ sent the following on 11/2/2010 5:59 AM:
>>
>>
>>> james-2.3.2
>>>
>>> here is the log from the maillet.
>>> 01/11/10 00:10:32 INFO James.Mailet: RemoteDelivery: Attempting delivery
>>> of Mail1288379423507-1407282-to-hotmail.com to host mx4.hotmail.com. at
>>> 65.55.37.72 for addresses [gargkapil@hotmail.com]
>>> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Exception
>>> delivering message (Mail1288379423507-1407282-to-hotmail.com) - [EOF]
>>> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Temporary exception
>>> delivering mail (Mail1288379423507-1407282-to-hotmail.com:
>>> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Storing message
>>> Mail1288379423507-1407282-to-hotmail.com into outgoing after 14 retries
>>>
>>>
>>>
>>> =========================
>>> BJ Freeman
>>> Strategic Power Office with Supplier Automation
>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat Y! messenger: bjfr33man
>>>
>>> Eric Charles sent the following on 10/23/2010 8:34 AM:
>>>
>>>> Hi,
>>>>
>>>> Not sure to understand.
>>>> Your james server receives back some rejected mails ?
>>>> Which version of james are we talking about : 2.3.x or 3.0 snapshot ?
>>>>
>>>> Tks,
>>>>
>>>> Eric
>>>>
>>>>
>>>> On 22/10/2010 20:05, BJ wrote:
>>>>> I get a lot of rejection from mail servers from bogus emails that are
>>>>> being returned by James, as rejected, for one reason or another.
>>>>> the receiving Mail server give a code 554 and such.
>>>>> is there any code or config that allows me to stop those from
>>>>> attempting being resent?
>>>>>
>>>>>
>>>>> =========================
>>>>> BJ Freeman
>>>>> Strategic Power Office with Supplier Automation
>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>>> Systems Integrator-- Glad to Assist
>>>>>
>>>>> Chat Y! messenger: bjfr33man
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: looking for code and or config for outgoing mails
Posted by Eric Charles <er...@apache.org>.
Hi,
SMTP 554 code is "Transaction failed". A priori, James will retry to
send the mail to the remote host according to the policy defined in
RemoteDelivery conf.
After x retries, it will abondon.
This is needed because you never know why the transaction failed.
It may be a temporary issue of the remote server.
Depending on you need, you can ajust the retransmission policy in config.xml
Tks,
Eric
PS: The configuration resides in config.xml
<mailet match="All" class="RemoteDelivery">
<outgoing> file://var/mail/outgoing/ </outgoing>
<!-- alternative database repository example below -->
<!--
<outgoing> db://maildb/spool/outgoing </outgoing>
-->
<!-- Delivery Schedule based upon RFC 2821, 4.5.4.1 -->
<!-- 5 day retry period, with 4 attempts in the first
hour, two more within the first 6 hours, and then
every 6 hours for the rest of the period. -->
<delayTime> 5 minutes </delayTime>
<delayTime> 10 minutes </delayTime>
<delayTime> 45 minutes </delayTime>
<delayTime> 2 hours </delayTime>
<delayTime> 3 hours </delayTime>
<delayTime> 6 hours </delayTime>
<maxRetries> 25 </maxRetries>
On 3/11/2010 00:16, BJ wrote:
> this is the response that means they have blocked my mailserver.
>
> 02/11/10 08:04:33 INFO James.Mailet: RemoteDelivery: Attempting
> delivery of Mail1288706658968-1438168-!590782-to-dhl.com to host
> mx1.dhl.iphmx.com. at 68.232.135.100 for addresses
> [manager.id2413@dhl.com]
> 02/11/10 08:04:34 INFO James.Mailet: RemoteDelivery: Could not
> connect to SMTP host: 68.232.135.100, port: 25, response: 554
>
>
>
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat Y! messenger: bjfr33man
> BJ sent the following on 11/2/2010 5:59 AM:
>
>
>> james-2.3.2
>>
>> here is the log from the maillet.
>> 01/11/10 00:10:32 INFO James.Mailet: RemoteDelivery: Attempting delivery
>> of Mail1288379423507-1407282-to-hotmail.com to host mx4.hotmail.com. at
>> 65.55.37.72 for addresses [gargkapil@hotmail.com]
>> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Exception
>> delivering message (Mail1288379423507-1407282-to-hotmail.com) - [EOF]
>> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Temporary exception
>> delivering mail (Mail1288379423507-1407282-to-hotmail.com:
>> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Storing message
>> Mail1288379423507-1407282-to-hotmail.com into outgoing after 14 retries
>>
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>>
>> Eric Charles sent the following on 10/23/2010 8:34 AM:
>>
>>> Hi,
>>>
>>> Not sure to understand.
>>> Your james server receives back some rejected mails ?
>>> Which version of james are we talking about : 2.3.x or 3.0 snapshot ?
>>>
>>> Tks,
>>>
>>> Eric
>>>
>>>
>>> On 22/10/2010 20:05, BJ wrote:
>>>> I get a lot of rejection from mail servers from bogus emails that are
>>>> being returned by James, as rejected, for one reason or another.
>>>> the receiving Mail server give a code 554 and such.
>>>> is there any code or config that allows me to stop those from
>>>> attempting being resent?
>>>>
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> Strategic Power Office with Supplier Automation
>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat Y! messenger: bjfr33man
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: looking for code and or config for outgoing mails
Posted by BJ <bj...@free-man.com>.
this is the response that means they have blocked my mailserver.
02/11/10 08:04:33 INFO James.Mailet: RemoteDelivery: Attempting
delivery of Mail1288706658968-1438168-!590782-to-dhl.com to host
mx1.dhl.iphmx.com. at 68.232.135.100 for addresses [manager.id2413@dhl.com]
02/11/10 08:04:34 INFO James.Mailet: RemoteDelivery: Could not connect
to SMTP host: 68.232.135.100, port: 25, response: 554
=========================
BJ Freeman
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
BJ sent the following on 11/2/2010 5:59 AM:
> james-2.3.2
>
> here is the log from the maillet.
> 01/11/10 00:10:32 INFO James.Mailet: RemoteDelivery: Attempting delivery
> of Mail1288379423507-1407282-to-hotmail.com to host mx4.hotmail.com. at
> 65.55.37.72 for addresses [gargkapil@hotmail.com]
> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Exception
> delivering message (Mail1288379423507-1407282-to-hotmail.com) - [EOF]
> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1288379423507-1407282-to-hotmail.com:
> 01/11/10 00:10:33 INFO James.Mailet: RemoteDelivery: Storing message
> Mail1288379423507-1407282-to-hotmail.com into outgoing after 14 retries
>
>
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat Y! messenger: bjfr33man
>
> Eric Charles sent the following on 10/23/2010 8:34 AM:
>
>> Hi,
>>
>> Not sure to understand.
>> Your james server receives back some rejected mails ?
>> Which version of james are we talking about : 2.3.x or 3.0 snapshot ?
>>
>> Tks,
>>
>> Eric
>>
>>
>> On 22/10/2010 20:05, BJ wrote:
>>> I get a lot of rejection from mail servers from bogus emails that are
>>> being returned by James, as rejected, for one reason or another.
>>> the receiving Mail server give a code 554 and such.
>>> is there any code or config that allows me to stop those from
>>> attempting being resent?
>>>
>>>
>>> =========================
>>> BJ Freeman
>>> Strategic Power Office with Supplier Automation
>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat Y! messenger: bjfr33man
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org