here is the solution:
1. Edit /etc/services and add the line:
smtp-backdoor 825/tcp #Backdoor port for QMail for avscan to work
Create a custom template to do this:
# touch /etc/e-smith/templates-custom/etc/services/20smtp-backdoor
# echo "smtp-backdoor 825/tcp # BackDoor port for QMail to make AVScan possible" > /etc/e-smith/templates-custom/etc/services/20smtp-backdoor
# /sbin/e-smith/expand-template /etc/services
*Note: The #echo ... line is one long line
2. Edit /var/service/smtpfront-qmail/run:
Change:
exec /usr/bin/env - \
/usr/local/bin/envuidgid qmaild \
/usr/local/bin/tcpserver\
-U \
-R \
-x /etc/tcprules/tcp.smtp.cdb \
-l 0 \
0 smtp \
/usr/local/bin/envdir ./env \
/usr/bin/smtpfront-qmail
to:
exec /usr/bin/env - \
/usr/local/bin/envuidgid qmaild \
/usr/local/bin/tcpserver\
-U \
-R \
-x /etc/tcprules/tcp.smtp.cdb \
-l 0 \
0 smtp-backdoor \
/usr/local/bin/envdir ./env \
/usr/bin/smtpfront-qmail
3. Restart smtpfront-qmail and avgate
4. You may have to create a link in /etc/rc7.d to start avgate at reboot