I have several user names that I want to whitelist as authenticated
SMTP users. I am using Postfix as my MTA on a FreeBSD-7.2 system.

This is a snippet from the clamav-milter.conf file:

# Messages from authenticated SMTP users matching this extended POSIX
# regular expression (egrep-like) will not be scanned.
# Note: this is the AUTH login name!
#
# Default: unset (no whitelisting based on SMTP auth)
#SkipAuthenticated ^(tom|dick|henry)$

This is from the maillog file. I have obviously obfuscated some of the
information.

Aug 27 12:21:38 hostname postfix/smtpd[13248]: 43F6922848: 
client=localhost[127.0.0.1], sasl_method=LOGIN, 
sasl_username...@hostname.mydomain.net

Since I have several 'authenticated' users that I want to skip
checking on, would it be possible to put them into a file rather than
list them in the clamav-milter.conf file? If so, what would the
correct syntax be? If not, would this syntax work in the
clamav-milter.conf file?

SkipAuthenticated ^(m...@hostname.mydomain.net \
                    y...@hostname.mydomain.net \
                    ot...@hostname.mydomain.net)$

I assuming that I have enter the SASL user name the same way
that Postfix is displaying it in the maillog.

-- 
Jerry
ges...@yahoo.com

        A man was reading The Canterbury Tales one Saturday morning,
        when his wife asked "What have you got there?"  Replied he,
        "Just my cup and Chaucer."
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to