Avast Pro 4.1.418 on Win XP Pro
Winmail Mail Server 3.8
Apache Server 2.0.50
Since I host my own domain and email - I set up the avast mail scanner to intervene ... avast was listening on ports 25 and 110 , then after scanning it forwards to the actual mail server I hid on ports 40025 and 40110. Since my server receives mail from anyone sending it to me I have to bind the mail scanner to my network IP not to 127.0.0.1
Everything worked perfectly. Only one problem. From my log files I can see that avast does not pass off the originating IP address to the mail server. My mail server receives from avast, MY IP address as the originating IP address -- therefore all mail is considered to be from me and can be relayed. I can compare the two log files (avast and the server log) and I can get the originating IP from the avast log file, so I can see exactly what happened to allow the relay.
Now I do realize that avast pro wasn't designed to be used in exactly this type of situation.
I solved my problem by removing avast from the mail server side and putting it between my email client (The Bat!) and my server like it was intended to be used. But I'm curious if anyone else has any experience with this, I read the entire avast.ini thread but no help, thought there might be a switch or setting that could effect this?