Thanks for the fast reply and the program suggestion.
Unfortunately, I now have three questions, of which one is in two parts:
Question 1)
Within the "/etc/p3scan/p3scan.conf" file there is a line that reads
"# username: laitcg#pop.gmail.com:110 host: <url of p3scan machine> port: 8110".
My question is:how does a person find the url of the p3scan machine?
Question 2)
Within the read me file that you sent me (
http://p3scan.sourceforge.net/readme.html)
there appears the following:
P3SCAN_USER=mail (clamav, etc...)
iptables -t nat -I PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110
iptables -t nat -I PREROUTING -p tcp -i eth0 --dport smtp -j REDIRECT --to 8110
iptables -t nat -I PREROUTING -p tcp -i eth0 --dport pop3s -j REDIRECT --to 8110
iptables -t nat -I OUTPUT -p tcp --dport pop3 -m owner --uid-owner $P3SCAN_USER -j ACCEPT
iptables -t nat -I OUTPUT -p tcp --dport pop3 -j REDIRECT --to 8110
My question as it pertains to the above is: Who is the owner and who is the P3SCAN_user?
Question 3)
Within the "/etc/p3scan/p3scan.conf" file there is a paragraph that reads:
"Clam Anti-Virus:
http://www.clamav.net
#
# This program must run as the same user as p3scan is running so that
# it can access the mail files for scanning. Either compile with the
# options --with-user=mail --with-group=mail (if p3scan is using the
# the default user/group of "mail") or change "User" in clamav.conf
# to the user p3scan is running as. If you get a return code other
# than a 0 or 1, see the clamav documentation for the reason.
#"
My question as it pertains to the above is: I installed Clamav years ago, so how do I make it run as user mail?
Again, thanks for pointing me in the correct direction. If you or someone could please, please answer the three questions that I've asked above, I would be most grateful.