FINAL UPDATE:

, possibly three smileys are not enough to express how much embarrassed (and idiot) I am felling. I didn't finish to read the last Marquiz post. I think that after a complete day reading HOWTO's, I was a little tired for read a bit more

.
I hope my eval of Avast4Linux take me to the same of Avast4Windows. I am using Home edition in my Home computer and evaluating to buy Pro and suggest to my boss to buy it for Windows workstations and maybe Avast4Linux for mail scanning.
Regards,
Valdo
--------------
pls, try to connect directly to the avastrelay from terminal using telnet (telnet 127.0.0.1 10025) and then try to send e-mail from the terminal. If you'll see 'scanned message has been relayed' string in the avastrelay log file, the message has been processed and the avastrelay is ok.
I have installed Postfix 2.1.5 on Redhat 9.0 and avast for Linux 1.0.8 with demo license and I followed the HOWTO-Postfix doc. when I send an email using postfix this message appear in maillog
Mar 2 14:55:53 fw postfix/qmgr[8412]: 05D268E8B6: from=<dummy@mydomain.com>, size=388, nrcpt=1 (queue active)
Mar 2 14:55:53 fw postfix/smtp[8517]: 05D268E8B6: to=<dummy@externaldomain.com>, relay=127.0.0.1[127.0.0.1], delay=2163, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 Message processing failed: Permission denied (in reply to DATA command))
As you suggested, I have tried to connect directly to avastrelay using telnet and this is the log of session:
[root@fw root]# telnet 127.0.0.1 10025
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 smtp.mydomain.com SMTP avastrelay v1.0.8 - Service ready
mail from:<dummy@mydomain.com>
250 Ok
rcpt to:<dummy@externaldomain.com>
250 Ok
data
451 Message processing failed: Permission denied
Connection closed by foreign host.
This is the master.cf lines modified after read the HOWTO:
#======================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
#======================================================
#smtp inet n - n - - smtpd
smtp inet n - n - - smtpd -o content_filter=smtp:[127.0.0.1]:10025
10026 inet n - - - - smtpd -o myhostname=localhost
UPDATED: I have tried telnet 127.0.0.1 10026 and it works fine. so the problem is in avastrelay, a missing or wrong parameter? I don't know.
and this is the avastrelay start command line as shown in the HOWTO doc.
avastrelay -i localhost:10025 -I localhost:10026 -a /var/run/avast4mailscanner.sock -l /var/log/avast4/avastrelay -u avrelay
UPDATED: due to "permission denied" message, I have added the -r parameter to avastrelay, but it doesn't work.
I've lookep up in avastd log and avastrelay log and there is no error message, only normal startup messages.
What can be wrong?
TIA
Valdo