Re: [Mimedefang] helo callback

2014-11-18 Thread Dale Moore
> Check the Sendmail source.  It seems to me that the version I checked
> (8.14.5) lets the HELO go by successfully even if the milter says not to.

Yep.  8.14.9 still has the bug that I see first referenced back in 2004.
The routine in sendmail/srvrstmp.c where I suspect the bug resides 
is a small 2800 lines long.

I'll be happy to see what I can accomplish.

Dale Moore


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] helo callback

2014-11-07 Thread Kevin A. McGrail

On 11/7/2014 2:00 PM, David F. Skoll wrote:

Check the Sendmail source.  It seems to me that the version I checked
(8.14.5) lets the HELO go by successfully even if the milter says not to.
Accurate last time I checked.  Which reminds me that I have a sendmail 
patch to discuss...


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] helo callback

2014-11-07 Thread David F. Skoll
On Fri, 7 Nov 2014 13:06:29 -0500
"Dale Moore"  wrote:

> Client: Helo naughtywords
> Mimedefang filter_helo: return('REJECT', 'I do not like
> naughtywords'); Server: 220 somehost.cs.cmu.edu Hello
> someclient.cs.cmu.edu [128.2.x.x], pleased to meet you

> Client: Mail From:
> Mimedefang filter_sender: return('CONTINUE');
> Server: 554 5.7.1 I do not like naughtywords

[...]

> Explanations appreciated.

Check the Sendmail source.  It seems to me that the version I checked
(8.14.5) lets the HELO go by successfully even if the milter says not to.

Regards,

David.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] helo callback

2014-11-07 Thread Dale Moore
Perhaps someone can explain this behavior..
Below is what happens in chronological order.

Client: connect to server (sendmail 8.14.9)
Mimedefang filter_relay: return('CONTINUE');
Server: 220 somehost.cs.cmu.edu ESMTP Sendmail 8.14.9/8.14.9; Fri, 7 Nov 2014 
12:56

Client: Helo naughtywords
Mimedefang filter_helo: return('REJECT', 'I do not like naughtywords');
Server: 220 somehost.cs.cmu.edu Hello someclient.cs.cmu.edu [128.2.x.x], 
pleased to meet you

Client: Mail From:
Mimedefang filter_sender: return('CONTINUE');
Server: 554 5.7.1 I do not like naughtywords

Note how the mimedefang filter_helo does not affect the SMTP response 
immediately,
but is instead delayed until after the sender has been specified.
I would have instead expected it to happen immediately.

Details: Sendmail 8.14.9 Solaris 10 (and linux has same behaivor)
Sendmail is not configured with delay_checks.
Mimedefang version 2.75 .

Explanations appreciated.
Dale Moore



___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang