David Champion <[EMAIL PROTECTED]> wrote:
> See the Milter.macros options in sendmail.cf. These configure which
> variables are available to a milter at each stage of processing.

OK -- here's my sendmail.cf:

<snip>
# Milter options
#O Milter.LogLevel
O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, 
{cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, 
{auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
<snip>


And I've got a file /etc/clamav/virus-warning:

*** WARNING *** WARNING *** WARNING ***
Clam AntiVirus has detected a virus in an e-mail
to you.  The message has been blocked.
--------------------------------------------------------------
Additional information:
Virus: %v
Daemon Name:    {daemon_name}
If Name:        {if_name}
If Addr:        {if_addr}
J:              {j}
I:              {i}
Auth Type:      {auth_type}
Mail Host:      {mail_host}
Mail Addr:      {mail_addr}


The file's getting read, and a message reflecting the contects of the 
template is being created.  The variables in braces aren't being replaced, 
though...  I tried putting a percent sign (%) in front of the braces, too, 
and that's not working either.

According to 

http://www.milter.org/milter_api/smfi_getsymval.html

The values should be available...


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to