ManagerJay
IS-IT--Management
Recently, in an effort to block certain types of attachments that seem to be endlessly being sent to my office, I installed qmail-scanner-1.23 with netqmail-1.05.
During the installation, I realized that I did not have suidperl installed, so as opposed to recompiling perl with the correct options, I used the qmail-scanner-queue.c file in the contrib directory. Not a big deal, followed the instructions at the top of the file.
During testing, qmail-scanner delivered the four test e-mails properly marked.
In order to implement scanning on all incoming mail, I changed my /etc/tcp.smtp file to read
:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/ \ qmail-scanner-queue.pl"
Following this change, I used qmailctl cdb to reload the database.
When an e-mail is sent from an outside source, the e-mail is delivered without any problems. However, even when an attachment is included with the e-mail (i.e. exe) the e-mail is not quarantined and the recipient receives the e-mail as it was sent. Nothing is noted in the qmail-scanner log files either.
I am using perl-5.8.2 and permissions on the file are 755. qmail-scanner-queue.pl has permissions of 0755 and qmail-scanner-queue has permissions of 4755. Both are owned by qscand:qscand.
I'm sure this is something obvious that I am missing, but I can not find it. Any help would be greatly appreciated.
Thanks in advance.
Jay
During the installation, I realized that I did not have suidperl installed, so as opposed to recompiling perl with the correct options, I used the qmail-scanner-queue.c file in the contrib directory. Not a big deal, followed the instructions at the top of the file.
During testing, qmail-scanner delivered the four test e-mails properly marked.
In order to implement scanning on all incoming mail, I changed my /etc/tcp.smtp file to read
:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/ \ qmail-scanner-queue.pl"
Following this change, I used qmailctl cdb to reload the database.
When an e-mail is sent from an outside source, the e-mail is delivered without any problems. However, even when an attachment is included with the e-mail (i.e. exe) the e-mail is not quarantined and the recipient receives the e-mail as it was sent. Nothing is noted in the qmail-scanner log files either.
I am using perl-5.8.2 and permissions on the file are 755. qmail-scanner-queue.pl has permissions of 0755 and qmail-scanner-queue has permissions of 4755. Both are owned by qscand:qscand.
I'm sure this is something obvious that I am missing, but I can not find it. Any help would be greatly appreciated.
Thanks in advance.
Jay