From: Klaus S. <Klaus.Steinberger@Physik.Uni-Muenchen.DE> - 2001-03-27 08:06:18
|
Hello, I've tried to install the CVS version of amavis-perl with libmilter support. I found out the following problems: 1. A documentation problem: In the current version of amavis-perl with libmilter support, it is necessary to start not only amavisd, but also amavis-milter, but this is not mentioned in the documentation. A patch to the documentation is appended. 2. amavisd does not get SENDER and Recipients of the mail The scan process works well, but amavisd does not see sender and recipients, and so can not warn the sender of the mail. The reason for this problem is, that in amavis/mta/libmilter_args the following two lines will be added: $SENDER=shift(@ARGV); @RECIPS=@ARGV; # put all the rest of the arguments as recipients But with libmilter amavisd never gets SENDER/RECIPS from the commandline. There is working code to receive both from the socket before the two lines mentioned above. So the already received names will be overwritten by empty strings. A patch to libmilter_args is also appended. Some more comments: The current version with two daemon programs seems to be a little overkill. I think there is already a project for libmilter access directly from perl out there. This should be integrated, so that it is possible to connect directly from sendmail to the amavisd socket. For the short run, at least amavis-milter should be daemonized to avoid nohup and friends. Sincerely, Klaus -- Klaus Steinberger Beschleunigerlabor der TU und LMU Muenchen Phone: (+49 89)289 14287 Hochschulgelaende, D-85748 Garching, Germany FAX: (+49 89)289 14280 EMail: Klaus.Steinberger@Physik.Uni-Muenchen.DE URL: http://www.physik.uni-muenchen.de/~k2/ In a world without fences and walls, who needs Windows and Gates? |