Re: [qmailadmin] [SPAM] Slackware

2011-12-16 Thread Arch. Giulio Nuti

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


--
 Giulio Nuti


Questo messaggio di posta elettronica contiene informazioni di carattere
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte
di ogni altra personain accordo alle direttive del DL 196/03
Nel caso aveste ricevuto questo messaggio di posta elettronica per
errore, siete pregati di segnalarlo immediatamente al mittente e
distruggere quanto ricevuto (compresi file allegati) senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio
costituisce violazione dell'obbligo di non prendere cognizione della
corrispondenza tra gli altri soggetti, salvo più grave illecito, ed
espone il responsabile alle relative conseguenze.

Confidentiality Notice. This electronic mail transmission may contain
legally priviledge and/or confidential information. Do not read this if
you are not the person(s) named.
Any use, distribution, copying or disclosure by any other person is
stricly prohibited (DL 196/03).
If you received this trasmission in error, please notify the sender and
destroy the original transmission and its attachments without reading or
saving in any manner.
---



!DSPAM:4eeb223532714905215841!


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 Arch. Giulio Nuti

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...



--
Arch. Giulio Nuti


Questo messaggio di posta elettronica contiene informazioni di carattere
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte
di ogni altra personain accordo alle direttive del DL 196/03
Nel caso aveste ricevuto questo messaggio di posta elettronica per
errore, siete pregati di segnalarlo immediatamente al mittente e
distruggere quanto ricevuto (compresi file allegati) senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio
costituisce violazione dell'obbligo di non prendere cognizione della
corrispondenza tra gli altri soggetti, salvo più grave illecito, ed
espone il responsabile alle relative conseguenze.

Confidentiality Notice. This electronic mail transmission may contain
legally priviledge and/or confidential information. Do not read this if
you are not the person(s) named.
Any use, distribution, copying or disclosure by any other person is
stricly prohibited (DL 196/03).
If you received this trasmission in error, please notify the sender and
destroy the original transmission and its attachments without reading or
saving in any manner.
---



!DSPAM:4eeb7a2f32711759811709!


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!