[courier-users] Re: Maximum of 20 nested SPF queries exceeded.

This is a discussion on [courier-users] Re: Maximum of 20 nested SPF queries exceeded. within the Courier-Imap forums, part of the Mail Servers and Related category; Okay. I changed the source, recompiled and ran some tests using telnet on another server. It's my opinion the ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-21-2007
jjh@megalomanic.net
 
Posts: n/a
Default [courier-users] Re: Maximum of 20 nested SPF queries exceeded.

Okay.

I changed the source, recompiled and ran some tests using telnet on another
server. It's my opinion the return value for "Maximum of 20 nested SPF
queries exceeded." in ./rfc1035/spf.c should be changed from SPF_FAIL to
SPF_UNKNOWN as this would match the /* comments */ above that code.


Before change (using telnet) Courier gives up completely:

helo malexmedia.net
mail from:<courier-mta-test@malexmedia.net>

517 SPF fail courier-mta-test@malexmedia.net: Maximum of 20 nested SPF
queries exceeded.


After change (in mail headers) Courier still gives up, but does not fail
the SPF:

Received-SPF: unknown (Maximum of 20 nested SPF queries exceeded.)
SPF=MAILFROM;
sender=courier-mta-test@malexmedia.net;
remoteip=::ffff:127.0.0.1;
remotehost=localhost;
helo=hi;
receiver=server;

I should also note that I tested this using courier-0.53.3.

Jim


On Mon, 20 Aug 2007 19:25:38 -0400, Sam Varshavchik <mrsam@courier-mta.com>
wrote:
> jjh@megalomanic.net writes:
>
>> I downloaded the Debian sources to confirm I had the same source. What
>> catches my attention is that the comments of this particular block of

> code
>> indicate that SPF_UNKNOWN should be returned however the code is

> actually
>> returning SPF_FAIL which agrees with what I am seeing in the logs. I'm

> not
>> sure that this is a bug or if it is just commented incorrectly. Which
>> should it be?

>
> You might be right, and the status result for this error condition should
> probably be changed. Feel free to change it, and see what happens.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0