Thomas, Leo Baltus writes: > > I think it is already in de clamd protocol, as i understand it from the > > man clamd page: > > STREAM Scan stream - on this command clamd will return "PORT > > number" you should connect to and send data to scan.
Thanks, I forgot about it. It doesn't sound appealing, having to transfer all uncompressed mail parts to another host, so I doubt it is worth implementing. It is more efficient to just transfer the original message over SMTP, moving the entire amavisd along with clamd to another host. > If it is not implemented in amavisd at the moment, would it be > possible to move the whole amavisd including all scanners to an > extra machine? Any hint or howto welcome! Yes, certainly, it takes SMTP on the inside, and feeds SMTP on the outside, so it can be on any host, just like moving a MTA. > I'd like to move this from the real mail server to some other > hardware since I want to use the scanners from different servers not > having to worry about various scanner installs. Certainly. Adjust $inet_socket_bind, @inet_acl, $forward_method and $notify_method, and on the Postfix side let content_filter feed to a remote host, and allow smtpd on port 10025 to accept filtered mail back from that host. amavisd.conf-default: ## MTA INTERFACE - INPUT # $inet_socket_bind = '127.0.0.1'; # @inet_acl = qw( 127.0.0.1 [::1] ); ## MTA INTERFACE - OUTPUT ## MAIL FORWARDING # $forward_method = 'smtp:[127.0.0.1]:10025'; ## NOTIFICATIONS (DSN, admin, recip) # $notify_method = 'smtp:[127.0.0.1]:10025'; 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/
