[Pymilter] Discovering MTA interface port

Todd Lyons tlyons at ivenue.com
Fri Jul 13 11:01:27 EDT 2012


On Fri, Jul 13, 2012 at 7:01 AM, Stuart D Gathman <stuart at bmsi.com> wrote:
> It turns out that at least one problem could be neatly solved if only an
> {if_port} macro were available in the connect callback.  It is only 2 or
> Rather than delay the rejection until MAIL FROM, I would rather skip
> banned IP checking altogether for connections on port 587 - which only
> allows authenticated connections.  But milters don't seem to have any
> way to get that information.
>
> Does anyone have any ideas besides patching sendmail?  I went to

Grepping the m4 directories doesn't result in anything that looks useful.

> sendmail.org, but couldn't figure out where to send feature requests
> (probably by design for such a popular product).

I'd send it directly to Claus:
http://www.oreillynet.com/pub/au/1930

...Todd
-- 
The total budget at all receivers for solving senders' problems is $0.
 If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine



More information about the Pymilter mailing list