There is a need to pass IP od client to mta. I'm using this for
implementing geo-ip scan for smtp authenticated users at mta level (also
that would be nice functionality for assp maybe). I'm using modification to
hello passed to mta:

@@ -19703,9 +19703,11 @@
             $l .= "\r\n";
         }
         if ($myHelo == 1 || ! $localhostname) {
-            $l = $fhelo = "$this->{lastcmd} $myName";
+           $l = $fhelo = "$this->{lastcmd} $this->{ip}.
smtp-proxy.mydomain.com";
             $l .= "\r\n";
         }

it would be nice if assp had possibility to define myHelo (hello to mta) as
string with substitutions of "literal" strings (instead of 3 possible
options that are given now)

myHelo:
possible literal substituntions:
SENDERHELO - the Helo of the sender
FQDN - fully qualified domain name of the host assp is running on
IP - IP of the sender (client connected to assp)

example usage:
myHelo = IP-SENDERHELO-smtpproxy.FQDN

mta could with some code get original IP, sender HELO etc...
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to