I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
On Sat, Mar 21, 2009, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
We use amavisd-new with clamav.
Is there some standard way of adding AV to Postfix?
This is well documented at http://www.postfix.org/
Bill
On Sat, Mar 21, 2009 at 1:40 PM, Bill Campbell centos@celestial.com wrote:
On Sat, Mar 21, 2009, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
We use amavisd-new with clamav.
Is there some standard way of adding AV to Postfix?
This is well documented at http://www.postfix.org/
Bill
INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
"The most foolish mistake we could possibly make would be to allow the subject races to possess arms. History shows that all conquerors who have allowed the subject races to carry arms have prepared their own downfall by so doing. Indeed, I would go so far as to say that the supply of arms to the underdogs is a sine qua non for the overthrow of any sovereignty." -- Adolf Hitler (H.R. Trevor-Roper, Hitler's Table Talks 1941-1944) _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Bill,
I think the only ClamAV link on the Postfix site ultimately resolves to here:
Are these instructions you are referring to?
I can try those instrutions, but I had been scared off by the authors initial disclaimer:
"Dear Reader, this howto hasn't been updated since 2006 and has some parts which are missing. You may end up installing a non-working postfix but I believe it can help you to guide through the installation steps if you know what you are doing:)"
Or perhaps there was another link from postfix.org?
Hi
Have you tried this how to: http://www.opensourcehowto.org/how-to/postfix/postfix--clamav--mailscanner-- dovecot--ilohamail.html
Just skip the setup stuff for postfix and change the dowload link for clamav to http://crash.fce.vutbr.cz/crash-hat/centos/5/clamav/
Or this how to: http://www.howtoforge.com/virtual_users_postfix_courier_mailscanner_clamav_c entos
Per
On 3/21/09 6:58 PM, "Xn Nooby" xnooby@gmail.com wrote:
On Sat, Mar 21, 2009 at 1:40 PM, Bill Campbell centos@celestial.com wrote:
On Sat, Mar 21, 2009, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
We use amavisd-new with clamav.
Is there some standard way of adding AV to Postfix?
This is well documented at http://www.postfix.org/
Bill
INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
"The most foolish mistake we could possibly make would be to allow the subject races to possess arms. History shows that all conquerors who have allowed the subject races to carry arms have prepared their own downfall by so doing. Indeed, I would go so far as to say that the supply of arms to the underdogs is a sine qua non for the overthrow of any sovereignty." -- Adolf Hitler (H.R. Trevor-Roper, Hitler's Table Talks 1941-1944) _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Bill,
I think the only ClamAV link on the Postfix site ultimately resolves to here:
Are these instructions you are referring to?
I can try those instrutions, but I had been scared off by the authors initial disclaimer:
"Dear Reader, this howto hasn't been updated since 2006 and has some parts which are missing. You may end up installing a non-working postfix but I believe it can help you to guide through the installation steps if you know what you are doing:)"
Or perhaps there was another link from postfix.org? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
the crash-hat ftp server for clamav has been older version & behind the times for a long time now.
better to roll you own clamav or get it from sourceforge via dag and dries etc
- rh
I was able to get everything working after getting the appropriate RPM's from "EPEL". I'm new to RH/Centos, so I did not know about that site. I tweaked the config based on what I found here:
http://fedorasolved.org/server-solutions/postfix-mail-server
I know this was not really a Centos question, but thanks for you guys helping me anyway.
thanks!
On Sat, 2009-03-21 at 13:37 -0400, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
---- clearly the best way is to add a wrapper program like amavisd-new or MailScanner which handles spamassassin and which ever combination of anti-virus programs you use.
The postfix list and primary author, Wietse will tell you flat out not to use MailScanner (there's something personal between Wietse and Julian, the author of MailScanner) but I found amavisd-new to be a PITA and just love MailScanner myself and have never had issues with integrating MailScanner into Postfix mail queue.
rpmforge has clamav/clamdb packages. MailScanner is available from http://www.mailscanner.info
Craig
On Sat, Mar 21, 2009 at 2:06 PM, Craig White craigwhite@azapple.com wrote:
On Sat, 2009-03-21 at 13:37 -0400, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
clearly the best way is to add a wrapper program like amavisd-new or MailScanner which handles spamassassin and which ever combination of anti-virus programs you use.
The postfix list and primary author, Wietse will tell you flat out not to use MailScanner (there's something personal between Wietse and Julian, the author of MailScanner) but I found amavisd-new to be a PITA and just love MailScanner myself and have never had issues with integrating MailScanner into Postfix mail queue.
rpmforge has clamav/clamdb packages. MailScanner is available from http://www.mailscanner.info
Craig
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Craig,
In one of my failed attempts before I posted, I had gotten those RPMs from rpmforge, perhaps I was on the right track. I was following these instructions:
http://www.linuxmail.info/how-to-install-clam-antivirus-centos-5
I will install install ClamAV from those RPM's, make a backup using CloneZilla, then I will only have to get either MailScanner or Amavis to work.
thanks!
On Sat, 2009-03-21 at 14:13 -0400, Xn Nooby wrote:
On Sat, Mar 21, 2009 at 2:06 PM, Craig White craigwhite@azapple.com wrote:
On Sat, 2009-03-21 at 13:37 -0400, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
clearly the best way is to add a wrapper program like amavisd-new or MailScanner which handles spamassassin and which ever combination of anti-virus programs you use.
The postfix list and primary author, Wietse will tell you flat out not to use MailScanner (there's something personal between Wietse and Julian, the author of MailScanner) but I found amavisd-new to be a PITA and just love MailScanner myself and have never had issues with integrating MailScanner into Postfix mail queue.
rpmforge has clamav/clamdb packages. MailScanner is available from http://www.mailscanner.info
Hi Craig,
In one of my failed attempts before I posted, I had gotten those RPMs from rpmforge, perhaps I was on the right track. I was following these instructions:
http://www.linuxmail.info/how-to-install-clam-antivirus-centos-5
I will install install ClamAV from those RPM's, make a backup using CloneZilla, then I will only have to get either MailScanner or Amavis to work.
thanks!
---- looks ok - MailScanner and Amavisd have their own documentation and I would recommend that you install yum-priorities package when using 3rd party repos like rpmforge with CentOS
MailScanner handles the clamav virus definition updates for you...don't know about amavisd-new
Craig
On Sat, Mar 21, 2009 at 2:06 PM, Craig White craigwhite@azapple.com wrote:
On Sat, 2009-03-21 at 13:37 -0400, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
clearly the best way is to add a wrapper program like amavisd-new or MailScanner which handles spamassassin and which ever combination of anti-virus programs you use.
The postfix list and primary author, Wietse will tell you flat out not to use MailScanner (there's something personal between Wietse and Julian, the author of MailScanner) but I found amavisd-new to be a PITA and just love MailScanner myself and have never had issues with integrating MailScanner into Postfix mail queue.
rpmforge has clamav/clamdb packages. MailScanner is available from http://www.mailscanner.info
Craig
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Now rpmforge.net is now redirecting me to rpmrepo.org, which has an invalid security certificate. Something I should be concerned about? I don't think it did that yesterday.
Xn Nooby wrote:
Now rpmforge.net is now redirecting me to rpmrepo.org, which has an invalid security certificate. Something I should be concerned about?
The redirect is okay, the invalid security certficate isn't, but will be fixed (someone just needs to install the new certificate).
I don't think it did that yesterday.
The redirect has been there for a longer time, the SSL certificate has run out, the new one hasn't been installed yet. Sorry for the inconvenience.
But: rpmforge packages themselves are signed with the rpmforge gpg key (and the rpms aren't stored at rpmrepo.org).
Ralph
Craig White wrote:
On Sat, 2009-03-21 at 13:37 -0400, Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
clearly the best way is to add a wrapper program like amavisd-new or MailScanner which handles spamassassin and which ever combination of anti-virus programs you use.
The postfix list and primary author, Wietse will tell you flat out not to use MailScanner (there's something personal between Wietse and Julian, the author of MailScanner) but I found amavisd-new to be a PITA and just love MailScanner myself and have never had issues with integrating MailScanner into Postfix mail queue.
rpmforge has clamav/clamdb packages. MailScanner is available from http://www.mailscanner.info
I've always liked MimeDefang best because of it's well-designed multiplexer that permits quick operations to continue without making an extra process wait for the slow jobs. It was designed to work with sendmail and the rpmforge package works along with clamav requiring at most a change in group ownership on clamd's socket. However, I thought someone said that postfix's milter emulation is now complete enough to work with MimeDefang too.
Is there some standard way of adding AV to Postfix?
clearly the best way is to add a wrapper program like amavisd-new or MailScanner which handles spamassassin and which ever combination of anti-virus programs you use.
The postfix list and primary author, Wietse will tell you flat out not to use MailScanner (there's something personal between Wietse and Julian, the author of MailScanner) but I found amavisd-new to be a PITA and just love MailScanner myself and have never had issues with integrating MailScanner into Postfix mail queue.
rpmforge has clamav/clamdb packages. MailScanner is available from http://www.mailscanner.info
Craig
agreed. mailscanner is ok.
Xn Nooby wrote:
I sent this email to the Rehdat list, but I thought the Centos users might be more inclined to have the command-line solution I am looking for, so I thought I would post it here too:
I would like to add anti-virus to my email server. Currently I have Postfix, Dovecot, PHP, and Squirrelmail installed. The users only use Squirrelmail to access mail. I am looking for command-line instructions, since I have limited access to the server itself (I am using SSH). ClamAV seems to be most common linux AV package, so I assume I should be using that.
I'm not sure if I should be using Amavisd or MailScanner, or neither. I believe I need one of them to act as the glue that connects Postfix to ClamAV. Apparently none of these packages (Amavisd/MailScanner/ClamAV) are part of RHEL5, so I have to get the RPMS from somewhere else.
Is there some standard way of adding AV to Postfix?
ClamAV with Amavisd for Postfix is documented on the Wiki: