Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am experiencing delays when sending mail - When I try to deliver mail to adresses that end with .com everything is fine, but when trying to deliver mail to addresses that end with eg. .si, I get a delay that can be up to couple hours.

I use PHPMailer, with Mail priority set to max, and mail from PHPMailer is handled by sendmail (in my case Exim).

Is there a way to speed up delivery of emails that are delayed...

share|improve this question

migrated from stackoverflow.com May 6 '11 at 13:20

This question came from our site for professional and enthusiast programmers.

    
This belongs on SuperUser.com because it is not a programming question. –  Justin Satyr May 6 '11 at 13:19
    
Please post a chunk of your mail log for one of the delayed messages. Copies of headers would be helpful too. –  voretaq7 May 6 '11 at 14:43

2 Answers 2

I use PHPMailer,

That's not at all relevant to what's happening here - unless your suggesting that sending messages via the same MTA to the same addresses does not result in a delay (which I think is very unlikely).

with Mail priority set to max,

Again - not relevant.

and mail from PHPMailer

...and again.

What matters is how your MTA (Exim) is configured - but you've provided no details.

I get a delay that can be up to couple hours.

Where? How does your MTA connect to the other systems? Do the messages hang around in the local queue? What do the (full) headers on delivered messages show?

share|improve this answer
    
Sory for my late answer! My mail headers look like that: link –  SimonM May 27 '11 at 8:41
    
And my exim configuration: link –  SimonM May 27 '11 at 8:51
    
My mail log example when mail was recived 3 hours after it vas sent: link –  SimonM May 27 '11 at 13:09
    
The mail headers you've provided only show a delay of 50 minutes and a few seconds. This includes a 49 minute gap where the mail sat on xsmtp13.mail2web.com, I presume the config/log you've provided is for vps-1030439-2176.manage.myhosting.com which is upstream of the problem (but xsmtp13.mail2web.com is also running Exim). Speak to whoever manages xsmtp13.mail2web.com –  symcbean May 29 '11 at 11:40
    
Tnx, i'll try that... –  SimonM May 30 '11 at 8:24

If you're able to send email to other domains with no problems and it's just this one DNS suffix or one domain using this suffix, then the problem is most likely with the domain or DNS for that suffix. I'm not saying that your server is not at fault, but it doesn't seem likely.

Start with the basics: Can you resolve the MX record of the remote domain from your server? Can you establish a telnet session to port 25 of the remote server from your server? Can you send a test email via telnet to a recipient at the remote server from your server? What do your email server logs say?

share|improve this answer
    
Sory for my late answer! My mail log example when mail was recived 3 hours after it vas sent: link –  SimonM May 27 '11 at 13:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.