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 Allen Quan <al...@egiomm.com> on 2006/08/26 02:08:49 UTC

Delays in Relayed Emails

Hi,

I have a problem with emails being delayed and it happens randomly.

I am using James 2.2.0. James is setup to be open relay for local servers
within my set of IP addresses. Sometimes when I sent emails to yahoo
address, they receive it instantly. Other times there are delays upto 2
hours. This also happens to other companies' email accounts. There has been
times when the delay goes up to 12 hours.

Is this a setting in James? Or are they actually delays from other servers
because they are trying to detect is this is a valid from email? What type
of settings is suggested to avoid these delays?

Thanks,
Allen Quan


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


Re: Delays in Relayed Emails

Posted by Santosh Puranshettiwar <sa...@wirkle.com>.
> Have you checked the block lists for it? 
How do you do that? (or may be I didn't get you well)

 > And does Y! tell you why it has classified your messages as SPAM?
No it doesn't do it explicitly. But once the mail lands in the spam 
folder, one could analyze its complete header to infer that Yahoo has 
flagged the originating IP as SPAM.
Why would Yahoo do that?

Santosh.
Noel J. Bergman wrote:
> Santosh Puranshettiwar wrote:
>
>   
>> I am facing a problem in which all mails sent from the JAMES relay are
>> classified as spam.
>>     
>
> >From what IP?  Have you checked the block lists for it?  And does Y! tell
> you why it has classified your messages as SPAM?
>
> 	--- Noel
>
>
>
> ---------------------------------------------------------------------
> 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: Delays in Relayed Emails

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
Try also the "spam database lookup" function in http://www.dnsstuff.com.

Vincenzo

Norman Maurer wrote:

>Am Montag, den 28.08.2006, 12:02 +0530 schrieb Santosh Puranshettiwar:
>  
>
>>>Have you checked the block lists for it? 
>>>      
>>>
>>How do you do that? (or may be I didn't get you well)
>>    
>>
>
>You can check if the ip is blacklisted by using spambase.org
>
>  
>
>> > And does Y! tell you why it has classified your messages as SPAM?
>>No it doesn't do it explicitly. But once the mail lands in the spam 
>>folder, one could analyze its complete header to infer that Yahoo has 
>>flagged the originating IP as SPAM.
>>Why would Yahoo do that?
>>
>>Santosh.
>>Noel J. Bergman wrote:
>>    
>>
>>>Santosh Puranshettiwar wrote:
>>>
>>>  
>>>      
>>>
>>>>I am facing a problem in which all mails sent from the JAMES relay are
>>>>classified as spam.
>>>>    
>>>>        
>>>>
>>>>>From what IP?  Have you checked the block lists for it?  And does Y! tell
>>>you why it has classified your messages as SPAM?
>>>
>>>	--- Noel
>>>
>>>      
>>>
>
>bye
>Norman
>
>  
>


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


Re: Delays in Relayed Emails

Posted by Norman Maurer <nm...@byteaction.de>.
Am Montag, den 28.08.2006, 12:02 +0530 schrieb Santosh Puranshettiwar:
> > Have you checked the block lists for it? 
> How do you do that? (or may be I didn't get you well)

You can check if the ip is blacklisted by using spambase.org

> 
>  > And does Y! tell you why it has classified your messages as SPAM?
> No it doesn't do it explicitly. But once the mail lands in the spam 
> folder, one could analyze its complete header to infer that Yahoo has 
> flagged the originating IP as SPAM.
> Why would Yahoo do that?
> 
> Santosh.
> Noel J. Bergman wrote:
> > Santosh Puranshettiwar wrote:
> >
> >   
> >> I am facing a problem in which all mails sent from the JAMES relay are
> >> classified as spam.
> >>     
> >
> > >From what IP?  Have you checked the block lists for it?  And does Y! tell
> > you why it has classified your messages as SPAM?
> >
> > 	--- Noel
> >

bye
Norman


RE: Delays in Relayed Emails

Posted by "Noel J. Bergman" <no...@devtech.com>.
Santosh Puranshettiwar wrote:

> I am facing a problem in which all mails sent from the JAMES relay are
> classified as spam.

>From what IP?  Have you checked the block lists for it?  And does Y! tell
you why it has classified your messages as SPAM?

	--- Noel



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


Re: Delays in Relayed Emails

Posted by Santosh Puranshettiwar <sa...@wirkle.com>.
Do they land in the recepient yahoo user's inbox?
I am facing a problem in which all mails sent from the JAMES relay are 
classified as spam.

Noel J. Bergman wrote:
>> Sometimes when I sent emails to yahoo address, they receive it
>> instantly. Other times there are delays upto 2 hours. This also
>> happens to other companies' email accounts. There has been times
>> when the delay goes up to 12 hours.
>>     
>
> Check the mailet log for errors sending the e-mail, which would cause JAMES
> to reschedule the e-mail for later retries.
>
> For example, if a remote system is trying to do greylisting, it could lead
> to delays in delivery.
>
> 	--- Noel
>
>
>
> ---------------------------------------------------------------------
> 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: Changing Subject and Recipient

Posted by Santosh Puranshettiwar <sa...@wirkle.com>.
Normally the mails that get classified as *spam* land into a "Spam" folder.
I am unaware of how this (creating folders) is done in JAMES. But thats 
not an option, you can set a header (something like x-spam: true) based 
on which the client may classify it as spam. Essentially, the recipient 
address SHOULD be kept intact. This is not only neat but will also 
obviate redundant user accounts.

Santosh.
Rudolf Schmidt wrote:
> Hi,
>
> I successfully configured the build in spam filter and was wondering what to
> do with the identified spam mails. 
>
> My idea is to change the subject of the mail to something like "Spam:" and
> additionally I want to change the recipient e.g. from test@mydomain.com to
> test_spam@mydomain.com. After that I would deliver them using the transport
> processor.
>
> So each user gets another mailaccount for the spammails and may check what
> mails where filtered.
>
> What do you thing about that approach? 
> How can I change the subject of a mail? 
> How can I change the recipient the way described?
>
> Thanks,
> Rudolf
>
>
> ---------------------------------------------------------------------
> 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: Changing Subject and Recipient

Posted by Santosh Puranshettiwar <sa...@wirkle.com>.
Normally the mails that get classified as *spam* land into the a "Spam" 
folder.
I unaware of how this (creating folders) is done in JAMES. But if its 
not an option, you can set a hear (something like x-spam: true) based on 
which the client may classify it as spam. Essentially, the recipient 
address SHOULD be kept intact. This is not only neat but will also 
obviate redundant user accounts.

Santosh.
Rudolf Schmidt wrote:
> Hi,
>
> I successfully configured the build in spam filter and was wondering what to
> do with the identified spam mails. 
>
> My idea is to change the subject of the mail to something like "Spam:" and
> additionally I want to change the recipient e.g. from test@mydomain.com to
> test_spam@mydomain.com. After that I would deliver them using the transport
> processor.
>
> So each user gets another mailaccount for the spammails and may check what
> mails where filtered.
>
> What do you thing about that approach? 
> How can I change the subject of a mail? 
> How can I change the recipient the way described?
>
> Thanks,
> Rudolf
>
>
> ---------------------------------------------------------------------
> 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


Changing Subject and Recipient

Posted by Rudolf Schmidt <we...@gmx.de>.
Hi,

I successfully configured the build in spam filter and was wondering what to
do with the identified spam mails. 

My idea is to change the subject of the mail to something like "Spam:" and
additionally I want to change the recipient e.g. from test@mydomain.com to
test_spam@mydomain.com. After that I would deliver them using the transport
processor.

So each user gets another mailaccount for the spammails and may check what
mails where filtered.

What do you thing about that approach? 
How can I change the subject of a mail? 
How can I change the recipient the way described?

Thanks,
Rudolf


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


RE: Delays in Relayed Emails

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I checked the mailet log and found a lot of messages that are
undeliverable.
> Errors messages include:
> Could not connect to SMTP host: [ip address], port: 25;
>   nested exception is:
>        java.net.ConnectException: Connection refused: connect

Perhaps there is a network problem between you and Yahoo!, or some other
reason that prevents you from connecting.

> Exception reading response;
>   nested exception is:
>         java.net.SocketTimeoutException: Read timed out

Seems to be a connection problem.
> RemoteDelivery: Attempting delivery of Mail1156958242605-3570-to-yahoo.com
> to host mx1.mail.yahoo.com. at 67.28.113.73 to addresses
[---------@yahoo.com]

That looks alright.

> Exception delivering message (Mail1156483577430-20551-to-qiaojian.net) -
452
> Invalid sender: [relayed email address]

It would appear from context that the server handling mail for qiaojian.net
didn't like the sender being sent from you.

	--- Noel



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


RE: Delays in Relayed Emails

Posted by Allen Quan <al...@egiomm.com>.
Hi,

>-----Original Message-----
>From: Noel J. Bergman [mailto:noel@devtech.com]
>Sent: Saturday, August 26, 2006 10:08 AM
>To: James Users List
>Subject: RE: Delays in Relayed Emails


>> Sometimes when I sent emails to yahoo address, they receive it
>> instantly. Other times there are delays upto 2 hours. This also
>> happens to other companies' email accounts. There has been times
>> when the delay goes up to 12 hours.

>Check the mailet log for errors sending the e-mail, which would cause JAMES
>to reschedule the e-mail for later retries.

I checked the mailet log and found a lot of messages that are undeliverable.

Errors messages include:
Could not connect to SMTP host: [ip address], port: 25;
  nested exception is:
        java.net.ConnectException: Connection refused: connect

Exception reading response;
  nested exception is:
        java.net.SocketTimeoutException: Read timed out

RemoteDelivery: Attempting delivery of Mail1156958242605-3570-to-yahoo.com
to host mx1.mail.yahoo.com. at 67.28.113.73 to addresses
[---------@yahoo.com]
INFO  James.Mailet: RemoteDelivery: Exception reading response;

I am sure that some of these emails have correct address. The last example
above is to my yahoo account. After around 20 mins my email does get
delivered.

However there are also a lot of emails address that have the wrong address
w/ domains that are no longer valid. Those keep on retrying until it reaches
25 times. Does these retry cause delays to other emails because of a queue
or something?

>For example, if a remote system is trying to do greylisting, it could lead
>to delays in delivery.

In order to prevent delays due to greylisting, can I reduce the delayTimes
to resent the emails in the configuration file? Or is it advised not to
modfiy those times?

>       --- Noel

And also

Exception delivering message (Mail1156483577430-20551-to-qiaojian.net) - 452
Invalid sender: [relayed email address]

Does this mean that the email is invalid because it was relayed?

Thanks,
Allen

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


RE: Delays in Relayed Emails

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Sometimes when I sent emails to yahoo address, they receive it
> instantly. Other times there are delays upto 2 hours. This also
> happens to other companies' email accounts. There has been times
> when the delay goes up to 12 hours.

Check the mailet log for errors sending the e-mail, which would cause JAMES
to reschedule the e-mail for later retries.

For example, if a remote system is trying to do greylisting, it could lead
to delays in delivery.

	--- Noel



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