My apologies for not following up on this one earlier. I promised Erik
yesterday that I'd try to identify a couple situations where I
experienced messages bouncing with no indication in the log.
This is one of them.
In this case, the original message went to [EMAIL PROTECTED] (my old
hosted server, still active), which is set to forward messages to
shubes.homeip.net (my new qmail toaster). I had the luxury of being able
to look at the messages on shubes.net, as they were stored there in
addition to being forwarded. I noticed that all of these rejected
messages had SPF information in the header, so I guessed that SPF was
dropping them. I modified tcp.smtp rules to set SPFBEHAVIOR="1" for
connections from the old server, and the rejections stopped. I
concludethat SPF was rejecting the messages.
I think that SPF was failing due to the forwarding situation. It
appeared to me that the SPF data in the message was not matching up
properly, so the messages were rightfully being rejected. I don't know
if the hosted server (shubes.net) was forwarding improperly somehow or
not (I don't know how forwarding is supposed to work with SPF), but I
imagine that was the case. I expect that once I get the shubes.net
domain assigned to my qmail server (eliminating the forwarding server),
I can turn SPF back on without a problem.
While the toaster was apparently operating properly, the lack of any
meaningful message was quite annoying:
.) toaster should be a little more specific in the bounced message
indicating *why* (SPF in this case) the message bounced.
.) there should be an SMTP log message indicating that the message was
rejected.
CHKUSER does a very nice job with rejection messages. Can we get SPF
rejections (and all rejections) to do the same?
My C coding is a bit rusty, but if my observation is correct and nobody
else can do it, I can take a stab at it. J/E/N, please let me know what
we can/should do about this. Anyone else is more than welcome to chime
in too.
Eric "Shubes" wrote:
I still have a problem with some emails being rejected with
"<<< 554 mail server permanently rejected message (#5.3.0)" error, and I
can't figure out where they're being rejected.
<the returned email>
To: <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Subject: Returned mail: response error
Content-Type: multipart/report; report-type=delivery-status;
boundary="[EMAIL PROTECTED]"
[EMAIL PROTECTED]
The original message was received at Tue, 23 May 2006 22:47:22 -0700
----- The following addresses had permanent fatal errors -----
<[EMAIL PROTECTED]>
----- Transcript of session follows -----
... while talking to shubes.homeip.net
>>> DATA
<<< 554 mail server permanently rejected message (#5.3.0)
[EMAIL PROTECTED]
Content-Type: message/delivery-status
Reporting-MTA: DNS; mail3.contraxx.biz
Arrival-Date: Tue, 23 May 2006 22:47:20 -0700
Original-Recipient: RFC822; <[EMAIL PROTECTED]>
Final-Recipient: RFC822; <[EMAIL PROTECTED]>
Action: failed
Remote-MTA: DNS; shubes.homeip.net
Last-Attempt-Date: Tue, 23 May 2006 22:47:22 -0700
[EMAIL PROTECTED]
Content-Type: message/rfc822
Return-Path: <[EMAIL PROTECTED]>
</the returned email>
<the smtp log>
2006-05-23 22:47:26.416375500 tcpserver: status: 1/100
2006-05-23 22:47:26.416394500 tcpserver: pid 27293 from 162.42.218.91
2006-05-23 22:47:26.416403500 tcpserver: ok 27293
doris.shubes:192.168.55.55:25 :162.42.218.91::3740
2006-05-23 22:47:26.917826500 CHKUSER accepted sender: from
<[EMAIL PROTECTED]::> remote <mail3.contraxx.biz:unknown:162.42.218.91>
rcpt <> : sender accepted
2006-05-23 22:47:26.947738500 CHKUSER accepted rcpt: from
<[EMAIL PROTECTED]::> remote <mail3.contraxx.biz:unknown:162.42.218.91>
rcpt <[EMAIL PROTECTED]> : found existing recipient
2006-05-23 22:47:28.742239500 simscan:[27293]:CLEAN
(0.00/5.00):1.7643s:Re_ OT_ Eagle project seeking computer
donations:162.42.218.91:[EMAIL PROTECTED]:[EMAIL PROTECTED]
2006-05-23 22:47:28.791417500 tcpserver: end 27293 status 0
2006-05-23 22:47:28.791441500 tcpserver: status: 0/100
</the smtp log>
I looked at all other /var/log/qmail logs, and can't find any indication
of where it's being rejected. The smtp log shows no indicatation of
rejection. It appears to have passed chkuser, simscan, clamav, and
spamassassin. Where else could this rejection be coming from? I'm
undoubtedly missing something. Anyone want to clue me in?
TIA
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]