3 // Convertidor de mailboxes de sqwebmail (hidden) a mutt (via muttrc).
6 foreach ( $argv as $dir )
7 if ( is_dir( $dir ) ) {
8 echo "# Maildirs en los cuales chequeo los mails.\n";
9 echo "mailboxes ! \\\n";
11 while ( ( $f = $d->read() ) !== false )
12 if ( is_dir("$dir/$f") and preg_match('/^\.[^\.]/', $f) and !strpos($f, 'historial') and !strpos($f, 'Spam') )
15 echo join( " \\\n", $dirs);