==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9110

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

Unnilennium <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|rbl-recheck.sh - a script   |NFR: rbl-recheck.sh - a
                   |to find recent emails from  |script to find recent
                   |servers now listed in RBL   |emails from servers now
                   |                            |listed in RBL

--- Comment #10 from Unnilennium <[email protected]> ---
Micheal, 

1/ how do you run it usually ? cron ? How do you type the command (which
argument you chose)


2/I tried to run it today and got the following message :

find: les chemins doivent précéder l'expression
Usage: find [-H] [-L] [-P] [CHEMIN...] [EXPRESSION]

(sorry for the French) seems like the fix is
find . -name \*.xml

or

find . -name "*.xml"

so I suggest :

on line 89 

find /home/e-smith/files/users/$USER -not -path "*/$MOVETO/*" -daystart -name
"*$(config get SystemName):*" -ctime -$DAYS -print0 | \


3/ for my understanding what will happen to the following messages if not dry
run and does it means, Becaus for me OK means it is safe, but declined means it
is not. However all theses mails come from trustable source to me :


# sh rbl-recheck.sh -v --dry-run -s -u tests --days 1
RBLList:        psbl.surriel.com
DAYS:           1
FOLDER TO SCAN: /home/e-smith/files/users/tests
SUMMARY:        TRUE
VERBOSE:        YES
MOVEM:          NO
MOVETO:         .RBL-Recheck
USER:           tests
DEBUG:          FALSE

212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
212.83.168.232  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
192.231.134.30  OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
184.168.200.145 OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
216.34.181.88   OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
216.34.181.88   OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
216.34.181.88   OK      DECLINED        psbl.surriel.com,      
/home/e-smith/files/users/tests/..
192.168.42.4    LOCAL   192.168.42.4    Message Received from Local IP 
/home/e-smith/files/users/tests/...
1


4/ do you use any fetchmail system ? from my understanding your script will
only move mails coming from 127.* which might only include these kind of mails.

5/ I did not manage to obtain a result with authenticated user , seems they all
get taken  away with your too large local expression. An example from a remote
work place where my computer got a local IP NATED in the remote network 
from Unknown (HELO [192.168.42.4]) (x.x.x.x)  (smtp-auth username jppialasse,
mechanism plain)  by yy.com (qpsmtpd/0.84) with (AES128-SHA encrypted) ESMTPSA;
Thu, 17 Mar 2016 08:27:50 +0100

something could be done retrieving 
db configuration get LocalIP
db configuration get ExternalIP
db configuration getprop httpd-admin ValidFrom
the two first gives an ip ( ExternalIP  does not exist if server only mode).
the last gives separated by coma list of IP/subnet found something but in perl
to inspire from : http://sysadmin.compxtreme.ro/check-if-an-ip-is-in-a-subnet/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to