[EMAIL PROTECTED] wrote:
On Wed, 21 Feb 2007, Nigel Horne wrote:
; Michael Schaap wrote:
; > My guess is that {rcpt_addr} is used instead of argv[0] because of whitelist
; > checking.
;
; No, it was changed because users wanted it to be changed.

Of course, with that code, users have the option of configuring sendmail
not to pass rcpt_addr to the milter in which case it will just use
argv[0].
It would be nice if that were documented, or even better, an option to clamav-milter instead of having to change sendmail milter parameters.

The rcpt_addr macro is the address part of the triple following ruleset 0
parsing. It's only an unqualified username in the OP's case because
presumably the server is doing local delivery.
That is correct.
This still results in a loss of information, though, especially on a server handling multiple domains. And at least in my case, adding the default domain does not always result in an equivalent (or even working!) address.

– Michael
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to