On Thu, Jun 05, 2003 at 08:22:37AM +0200, David Fokkema wrote:
> On Wed, Jun 04, 2003 at 05:58:50PM -0700, Marc Wilson wrote:
> > Try this to identify all the Debian mailing lists in one whack:
> >
> > # Debian lists ...
> > :0:
> > * ^X-Mailing-List: .*[<[EMAIL PROTECTED]>]
> > * ^X-Mailing-List: .*[<] *\/[^ [EMAIL PROTECTED]
> > $MATCH
> >
> > Adapted from the Procmail FAQ. Works fine and you don't have to change it
> > if you subscribe to another Debian list.
>
> Hmm... This looks neat! I have to brush up on regular expressions a bit,
> but I think I get it. You get mailboxes debian-user, debian-kernel, etc.?
i use exim filters--the syntax is less like sanskrit:
# Exim filter
# DEBIAN
#X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/151892
if $h_X-Mailing-List matches "^<debian-(.*)@lists\\\\.debian\\\\.org>"
then
save Mail/debian-${lc:$1}
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder:
debian-${lc:$1} $message_size"
finish
endif
# CLARKCONNECT
if $return_path matches "@.*clarkconnect\\\\.org"
then
save Mail/clarkconnect
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder:
clarkconnect $message_size"
finish
endif
# SMOOTHWALL
if $return_path matches "@.*smoothwall.*\\\\.org"
then
# /dev/null! these folks are sludge!
seen
finish
endif
# POSTGRESQL
if $return_path matches "pgsql-(.*)[EMAIL PROTECTED]"
# From [EMAIL PROTECTED]
then
save Mail/pg-${lc:$1}
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder:
pg-${lc:$1} $message_size"
finish
endif
# MODPERL
if $return_path matches "@perl\\\\.apache\\\\.org"
then
save Mail/mperl
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder:
mperl $message_size"
finish
endif
etc. ad nauseum.
--
I use Debian/GNU Linux version 3.0-bunk-1;
Linux server 2.4.20-k6 #1 Mon Jan 13 23:49:14 EST 2003 i586 unknown
DEBIAN NEWBIE TIP #19 from Dave Sherohman <[EMAIL PROTECTED]>
and Will Trillich <[EMAIL PROTECTED]>
:
How do you determine WHICH NETWORK SERVICES ARE OPEN (active)?
Try "netstat -a | grep LISTEN". To see numeric values (instead
of the common names for services using a particular port) then
try "netstat -na" instead. For more info, look at "man netstat".
Also try "lsof -i" as root. "man lsof" for details.
Also see http://newbieDoc.sourceForge.net/ ...
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]