> ...have found that that would be very usable to have the ability to resend > the message that came from host X to host Y, based on config specified > in amavisd.conf. > > As there was no such ability in amavisd-new we have developed a patch > for amavisd, that enables such feature very easily while giving the > ability to keep old behaviour untouched. > > Now the question is, would it be possible to incorporate this patch to > amavisd official release, so anybody could use it, and also it would be > easier to maintain amavisd after using that patch (right now if we want to > upgrade, we have to apply this patch afer prebuild stage of FreeBSD port on > each machine)?
I can see what the patch does, but what is the underlying problem it is trying to solve? I see two issues there: - any sending host can let his HELO command show any string he wants, so any decision based on such information must not have any important consequence; load balancing and logging could perhaps be a valid reason, but more than that certainy not; - if there are not too many different relay destinations (like [10.10.3.13]:10025 in your example), the same effect can be achieved by Postfix check_helo_access, which can map HELO names to FILTER settings, where each distinct FILTER can route mail to a dedicated TCP port of amavisd, where policy banks can take care of each individual forwarding destination. Letting Net::Server listen on a couple of TCP ports (a dozen or two) should not represent any additional burden. See Example 3 at: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex Mark ------------------------------------------------------------------------- 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/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
