|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: clamav
From: Tom Lee (tom_lee01
hotmail.com)
Date: Fri Feb 03 2006 - 18:04:38 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for all suggestions.
there are problems in running clamav.
my main.cf:
content_filter = scan:127.0.0.1:10025
receive_override_options = no_address_mappings
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
the settings in my master.conf
# AV scan filter (used by content_filter)
scan unix - - n - 16 smtp -o
smtp_send_xforward_command=yes
127.0.0.1:10026 inet n - n - 16 smtpd
-o content_filter=
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=check_recipient_access
hash:/etc/postfix/recipient_access,permit_mynetworks,reject
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
what I have in /etc/postfix/recipient_access is:
domainname.com scan:10026
I want my clamsmtpd to scan the emails sending to domainname.com, not to
scan
the emails sending out to domain other than domainname.com.
it doesn't work out.
I got the following error:
Feb 3 16:02:15 email postfix/smtpd[30312]: fatal: parameter
"smtpd_recipient_restrictions": specify at least one working instance of:
check_relay_domains, reject_unauth_destination, reject, defer or
defer_if_permit
Feb 3 16:03:17 email postfix/master[30120]: warning: process
/usr/libexec/postfix/smtpd pid 30327 exit status 1
Feb 3 16:03:17 email postfix/master[30120]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
any suggestions
Tom
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]