Marc Cuypers, on 12/13/2007 5:36 AM, said the following:
Since Postfix doesn't send the IP to Dovecot, there isn't
anything on Dovecot's side you can do. You could try asking about
this in Postfix list.. Someone at least had a patch which allowed
sending local IP to Dovecot
(http://marc.info/?t=119306971600010&r=1&w=2). Maybe it sends remote IP as well.

I wrote that patch. It passes both endpoints (remote & local) through to dovecot. This lets you restrict smtp-auth just like pop3
or imap using the remote IP. In my case, I had played around with
a quick hack for doing per-ip realming (using the local IP) w/ dovecot-sql.

Hi Andrew,

Where can i find the patch?

And more importantly, was it submitted to Wietse for possible integration with the source? I'd be interested in this functionality in the future, but I don't like manually applying patches (I'm not a programmer, yadda yadda)...

--

Best regards,

Charles

Reply via email to