AVG Linux E-mail Server User Manual page 17

For linux e-mail server
Table of Contents

Advertisement

17
AVG Linux Email Server / User Manual
# No Qmail-Scanner at all for mail from 127.0.0.1
127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qm
ail-queue"
# Use Qmail-Scanner without SpamAssassin on any mail from the local
network
# [it triggers SpamAssassin via the presence of the RELAYCLIENT var]
10.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmai
l-scanner-
queue.pl"
#
# Use Qmail-Scanner with SpamAssassin on any mail from the rest of the
world
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
The above example means that all SMTP e-mails will be scanned, but each in a
different manner according to the address classification. E-mail from the LAN
(the 10. prefixed network) will be scanned by the AVG for Linux E-mail
Server whereas e-mail from the Internet will be scanned for viruses (and also
tagged by SpamAssassin if present). This control philosophy provides you
with a lot of versatility – virus scanning can be only performed for example on
mail coming from your Exchange server and not on mail from your Unix
servers.
Note: You must increase the amount of memory your system allows qmail-
smtpd to run with because it is now running the entire Perl language
interpreter and also the AVG for Linux E-mail Server. Typical installations of
qmail are provided with the system rc/startup scripts (e.g.
/etc/rc.d/init.d/qmail or /service/smtp/run). These scripts limit the
amount of RAM the qmail-smtpd daemon can use (via ulimit or softlimit
shell commands). You must increase the limit to approximately 5-11MB (the
exact range depends on your system parameters and load).
If you want to enable AVG for Linux E-mail Server to scan all mail sent by
local shell users, the qmailqueue must be defined in /etc/profile file.
If the "$DEBUG=1" (the default) variable is set within qmail-scanner-
queue.pl script, then every transaction will be logged to the
/var/spool/qmailscan/qmail-queue.log file. Regardless of debugging,
errors (and attachment info if enabled) should also be recorded in the qmail
logs (probably via syslog). Note that the /var/spool/qmailscan/qmail-
queue.log log file will grow in time unless you manage its regular cleanup
(either manual or scheduled for example via the cron utility).
www.grisoft.com
Copyright (c) 1992-2006 GRISOFT, s.r.o. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Linux E-mail Server and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Anti-virus 7.1

Table of Contents