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 have a strange phenomenon that I have the following message in my rejectlog:

2012-04-13 14:19:17 1SIfTB-0007y2-5S H=(mail.myhost.com) [0.0.0.0] F=<from@myhost.com> temporarily rejected after DATA
Envelope-from: <from@myhost.com>
Envelope-to: <to@otherhost.com>
P Received: from [0.0.0.0] (helo=mail.myhost.com)
    by mail.myhost.com with esmtp (Exim 4.34)
    id 1SIfTB-0007y2-5S
    for to@otherhost.com; Fri, 13 Apr 2012 14:19:17 +0200
* Return-Path: <from@myhost.com>
I Message-ID: <1334319557.4f8819c528afe@www.mywebhost.com>
  Date: Fri, 13 Apr 2012 14:19:17 +0200
  Subject: My Subject
F From: from@otherhost2.com
T To: to@otherhost.com
  MIME-Version: 1.0
  Content-Type: multipart/alternative;
 boundary="_=_swift_v4_13343195574f8819c529888_=_"

(Please note that myhost.com, otherhost.com, mywebhost.com and otherhost2.com are fictitious in order to maintain privacy)

The client (SwiftMailer) spits out the following error message:

Expected response code 250 but got code "451", with message "451 Temporary local problem - please try later"

The weird thing is, that exim only reports the error message above in its rejectlog - there is no sign of the mail in mainlog, paniclog, mail.log, syslog or any other logfile.

Any clues?

It's an Exim 4.34 and works fine besides these strange rejects...

share|improve this question
    
Well, more information is required for this. Did it only happen once? If no, does it always happen with ONE specific message or ONE specific host? For now it looks like a temporary problem, like dns resolving, crashed database-server, crashed spamd, network-problems. –  Masta79 Apr 17 '12 at 23:57
    
It happens randomly when sending out newsletters with SwiftMailer (at least this is where I recognized the error). Recipient addresses doesn't seem to have any pattern, it also happened with local recipients. When sending out 500 mails, there are ~5-10 who don't get sent. Randomly, not 10 in a row. When trying to re-send minutes later, it works fine, so yes it's a temporary problem (like the error message suggests), but nevertheless I'd like to find the cause of this.. :/ –  Shocker Apr 18 '12 at 9:06
    
Check your smtp_accept_max_per_connection setting, if Swiftmailer is sending out all messages in a single connection, you might hit some system default(100?). Also, set log_selector = +all maybe you've suppressed some log messages. It might also be a problem with your acl_smtp_data which might temp-reject mails under certain conditions. –  Masta79 Apr 18 '12 at 9:25
    
Swiftmailer is set to send out 10 per connection (AntiFloodPlugin) and throttles to 100 Mails per Minute (ThrottlerPlugin). In Exim smtp_accept_max is set to 200, smtp_accept_max_per_connection is 1000. Thanks for the tip with log_selector, I set it to +all and will check the log next time a newsletter goes out...hopefully it'll reveal more. –  Shocker Apr 19 '12 at 7:33

1 Answer 1

It's probably greylisting or similar by the other server: it's decided to give you a 451 temporary failure to see if your server is actually trying to deliver mail (in which case the retry later will be allowed through). Plenty of spam systems will not retry these failures.

share|improve this answer
    
Can't be...1) if it's greylisting, there should be also an entry in mainlog, containing the corresponding server who greylisted the message and 2) we also had the problem with recipients lying on the very same webserver (which has no greylisting)...it has to be something before the message goes out...there doesn't seems to be any communication with outside servers, the message just gets rejected –  Shocker Apr 16 '12 at 9:41

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.