Re: [qmailadmin] [SPAM] Slackware

2011-12-16 Thread Frank Chan

On 16-12-2011 02:49, Arch. Giulio Nuti wrote:

Il 15/12/2011 23:29, Frank Chan ha scritto:

On 15-12-2011 03:04, Arch. Giulio Nuti wrote:
qmail-inject: fatal: qq temporary problem (#4.3.0) 

Hello,
Check the permissions, owner  group of /var/spool/qmailscan/tmp/. 
The owner  group should be qscand and permissions should be at least 
be drwxrwxr-x.


I hope this helps,
Frank



Hi,
these are the actual permission and ownership of that directory.


This is the /var/log/qmail/qmail-smtpd/current

@40004eeb133436c4e59c [/usr/bin/softlimit -m 4000 tcpserver 
-vR -l giulio-vm.cad -c 30 -u 89 -g 89 -x /etc/tcp.smtp.cdb 0 25 
rblsmtpd -r zen.spamhaus.org -r dnsbl.njabl.org -r dnsbl.sorbs.net -r 
bl.spamcop.net qmail-smtpd giulio-vm.cad /home/vpopmail/bin/vchkpw 
/bin/true]
@40004eeb133436c508c4 command-line: exec /usr/bin/softlimit -m 
4000 tcpserver -vR -l giulio-vm.cad -c 30 -u 89 -g 89 -x 
/etc/tcp.smtp.cdb 0 25 rblsmtpd  -r zen.spamhaus.org -r 
dnsbl.njabl.org -r dnsbl.sorbs.net -r bl.spamcop.net   qmail-smtpd  
giulio-vm.cad /home/vpopmail/bin/vchkpw /bin/true 21

@40004eeb133436d7739c tcpserver: status: 0/30

This is the /var/log/qmail/qmail-send/current

/var/log/qmail/qmail-send# tail current
@40004eeb1328352aaa14 new msg 531425
@40004eeb1328352ac954 info msg 531425: bytes 10181 from #@[] qp 
2314 uid 167
@40004eeb1328352b697c starting delivery 3: msg 531425 to local 
giulio-vm.cad-postmas...@giulio-vm.cad

@40004eeb1328352b8ca4 status: local 1/10 remote 0/120
@40004eeb132837c43ccc delivery 3: success: did_0+0+1/
@40004eeb132837c5466c status: local 0/10 remote 0/120
@40004eeb132837c588d4 end msg 531425
@40004eeb133435065d1c status: qmail-todo stop processing asap
@40004eeb1334350670a4 status: exiting
@40004eeb1334363a7c04 status: local 0/10 remote 0/120


qmailscanner temporarily stores filea in these locations whilw being 
scanned so you need to check and may change the permissions and 
ownership of these directories:


drwxrwxr-x qscand qscand /var/spool/qmailscan
drwxrwxr-x qscand qscand /var/spool/qmailscan/tmp/
drwxrwxr-x qscand qscand /var/spool/qmailscan/working/tmp
drwxrwxr-x qscand qscand /var/spool/qmailscan/working.new

I hope this helps,
Frank




!DSPAM:4eeb55c032711662585299!


Re: [qmailadmin] [SPAM] Slackware

2011-12-16 Thread Frank Chan

On 16-12-2011 09:04, Arch. Giulio Nuti wrote:

Il 16/12/2011 15:29, Frank Chan ha scritto:


drwxrwxr-x qscand qscand /var/spool/qmailscan
drwxrwxr-x qscand qscand /var/spool/qmailscan/tmp/
drwxrwxr-x qscand qscand /var/spool/qmailscan/working/tmp
drwxrwxr-x qscand qscand /var/spool/qmailscan/working.new

I hope this helps,
Frank


It is Ok!
What about tcp.smtp ?

root@giulio-vm:/etc# cat tcp.smtp
127.:allow,RELAYCLIENT=

Shouldn't it be something like

127.:allow,RELAYCLIENT=,RBLSMTPD=,QMAILQUEUE=/var/qmail/bin/qmail-queue 




What about suidperl?

In the slackware install I used /var/qmail/bin/qmail-queue and not 
the /var/qmail/bin/qmail-queue.pl...




I recommend using Source Forge qmail scanner FAQ for information on this:

http://qmail-scanner.sourceforge.net/FAQ.php

Also this Slackware with qmail scanner:

http://www.slackwarelinux.info/2010/11/qmail-scanner-208-installation-guide.html

I hope this helps,
Frank

!DSPAM:4eeb82ea32714357215532!



Re: [qmailadmin] [SPAM] Slackware

2011-12-15 Thread Frank Chan

On 15-12-2011 03:04, Arch. Giulio Nuti wrote:
qmail-inject: fatal: qq temporary problem (#4.3.0) 

Hello,
Check the permissions, owner  group of /var/spool/qmailscan/tmp/. The 
owner  group should be qscand and permissions should be at least be 
drwxrwxr-x.


I hope this helps,
Frank


!DSPAM:4eea74f232719934413133!


Re: [qmailadmin] [SPAM] Slackware

2011-12-14 Thread Frank Chan

On 14-12-2011 07:30, Arch. Giulio Nuti wrote:

Il 12/12/2011 10:38, Thibault Richard ha scritto:

Hello,

And if you feel comfortable with Slackware, you can try adapting this 
recent

qmailrocks guide for Debian
http://qmailrocks.thibs.com/

Regards

Thibault



Hi,
I tried to install this flavour of qmail.
It is great.

The only problem, I often had even with slack, is a problem about 
clamdscan: corrupt or unknown clamd scanner error or 
memory/resource/perms problem - exit status 512/2


In general it was, on slackware, a problem with softlimit, so I tried 
to modify /var/qmail/supervise/qmail-smtpd/run

adding a line with

SLMT=/usr/bin/softlimit -m 4000

and then

CMD= $SLMT $CMD .

Unfortunately the problem remains...

What do You think about it?
Some Hint?

Thanks


Hello,
This is because that qmail-scanner-queue.pl need the correct permissions 
in /var/qmail/bin. The owner should be qscand and group should also be 
qscand. Also you need enable the sticky bit in permission by doing 
chmod 6744 qmail-scanner-queue.pl in /var/qmail/bin.


I hope this helps,
Frank



!DSPAM:4ee8feb532712132823630!