Hi,
My first attempt to describe the mailflow through esmith 6.5 when clam-av is installed.
Please do point out mistakes.
This is the default qmail picture:
http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gife-smith/sme has modified this:
smtpfront-qmail in stead of qmail-smtpd (see announcement of esmith 5.5)
see also
http://untroubled.org/mailfront/smtpfront can be used to block executables and do rbns lookups against spam.
So mail comes in with smtpfront-qmail.
Smtpfront-qmail would send mail to qmail-queue when clam-ng is not installed.
When clam-ng is installed however, mail is delivered to /usr/bin/qmail-queue.amavis (a perl script)
actually:
/var/system/smtpfront-qmail/peers/192.168.160 says:
+QMAILQUEUE=/usr/bin/qmail-queue.amavis
perhaps /usr/bin/qmail-filter is also involved somehow?
qmail-queue.amavis unpacks mail into /var/spool/amavis-ng
(see /etc/amavis-ng/amavis.conf)
I do not know if there is a queue on disk in between here. Because what happens if mail comes in faster than it can be unpacked?
The unpacked mail is scanned and if no virus or problem is found it is send on.
I presume it is send by /usr/sbin/sendmail (a link to /var/qmail/sendmail)
to the real qmail-queue.
Then the email is back into the standard qmail system. qmail-queue will put email in /var/qmail/queue/....
It gets picked up there and if local will be put by qmail-local into
/home/e-smith/files/user/jantje/Maildir
mail to be send on is handled by qmail-remote.
hc