1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/X/domains_servers_map
Nick Bebout f26b2573c3 2.140
2021-08-04 14:14:36 -05:00

15 lines
361 B
Perl
Executable File

#!/usr/bin/perl
use strict ;
use warnings ;
# Is there a map between account xxx@domain and the imap host server
# cat G_success_login_on.txt | ./domains_servers_map | sort | uniq -c | sort -g
while ( my $line = <> )
{
if ( $line =~ /success login on \[(.*)\] with user \[.*\@(.*)\] auth / )
{
print "$2 $1\n" ;
}
}