For the most part i followed this guide for my installation http://sylvestre.ledru.info/howto/howto_qmail_vpopmail.php
i varied using life with qmail and documentation supplied with applications
i am on slackware 9.1, latest versions of qmail, vpopmail,
qmail-scanner, clamav, and spamd
i get and error from only remote sources trying to send email to
me. this means i can send from myself to myself, and from a
local user at the same domain to myself, and from myself out to
the world.
"X-Qmail-Scanner-1.22:[] cannot create /var/spool/qmailscan/tmp
- Permission denied"
the install options i've used was:
./configure --spooldir /var/spool/qmailscan --qmaildir /var/qmail --bindir /var/qmail/bin --qmail-queue-binary /var/qmail/bin/qmail-queue --admin postmaster --domain mydomain.com --notify sender,admin,recips --local-domains mydomain.com
--silent-viruses auto --debug 1 --unzip 1 --add-dscr-hdrs 1 --archive 0 --redundant no --log-details yes --log-crypto 0 --fix-mime 1 --scanners "clamscan,fast_spamassassin" --install 1 --skip-setuid-test
Perl 5.8.4 has been installed with suidperl.
i tried using the c qmail-scanner-queue in the contrib directory, changing my tcp.smtp to [/home/vpopmail/etc/tcp.smtp]:
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" 192.168.168:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
i have also tried changing it to:
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue" 192.168.168:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue" :allow,QMAILQUEUE="/var/qmail/bin/qmail-queue"
however qmail-scanner still outputs that error...
i've also tried manually creating that directory and chmod 777 it...no luck
any suggestions or help? please let me know
No need to change qmailqeue, the problem is permissions. check if /var/spool/qmailscan has the correct permissions, over here they are: drwxrwx--- 5 qscand qscand 4096 May 1 20:47 qmailscan check underlying directories as well.
You say you have installed suidperl, but you use the suidwrapper. If you use the wrapper, it must be suid, but the .pl shouldn't be. If you don't, the .pl should be suid.
Hope this helps
Niek --
The greatest trick the devil ever pulled was convincing the world he didn't exist. PGP KeyID: 0x65C28B9A | Fingerprint: 7A5301026E58CF3FACE7F2F0D82B854565C28B9A
signature.asc
Description: OpenPGP digital signature