--- gateway/.dispatchmailrc 2003/03/23 21:15:41 1.2 +++ gateway/.dispatchmailrc 2003/06/04 05:47:56 1.5 @@ -33,18 +33,12 @@ # --- @netfrag.org - if ($to =~ /links-computing/) { -print "COPY", "\n"; - #$self->copy('Newsgate', 'alt.test'); - $self->copy('Newsgate', 'nfo.links.computing'); - #my $prg = $0; - #my $prg = '/data/opt/dispatchmail/bin/dispatchmail'; - #my $prg = '/etc/mail/smrsh/dispatchmail'; - #my $pipeTo = $prg . ' --mode=mail2news --thread=alt.test --base=/home/collector'; - #$self->report("PIPE: " . $pipeTo); - #$incoming->pipe($pipeTo); - } - + # links-computing@netfrag.org + $self->copy('Newsgate', 'nfo.links.computing') if $to =~ m/links-computing/; + + # test@netfrag.org + $self->copy('Newsgate', 'alt.test') if $to =~ m/test\@.*\.netfrag\.org/; + # cvs-log@netfrag.org $self->copy('Newsgate', 'nfo.log.cvs') if $to =~ m/cvs-log\@.*netfrag\.org/; @@ -82,6 +76,8 @@ $self->copy('Newsgate', 'nfo.support') if $to =~ m/alert\@service\.netfrag\.org/; $self->copy('Newsgate', 'nfo.support') if $to =~ m/.*\@h1\.service\.netfrag\.org/; + # logcheck@service.netfrag.org + $self->copy('Newsgate', 'nfo.support') if $to =~ m/logcheck\@service\.netfrag\.org/; # --- ignore (all above get *copied*)