void print_bls(FILE *fp,char *string) {
	static FILE *tx;
	static char search[256];
	static char *domain;


	if (fp != NULL) {
		tx = fp;
		fprintf(tx,"initializing...\n");
		fflush(tx);
		search[0] = '\0';
		snprintf(search,255,"%s",string);
		domain=strchr(search,'@');
		domain++;
		printf("search %s, string: %s, domain: %s\n",search,string,domain);
		return;
	}
	fprintf(tx,"search %s, string: %s\n",search,string);
	fflush(tx);
	if (strchr(search,'@')) {
		if (!strcmp(search,string)) {
			printf("found: %s\t\n",string);
			//fprintf(tx,"%s\t\t%d\t%s\n",string,type,value);
			//printf("%d.%d.%d.%d\t\t%d\n",a,b,c,d,count);
		}
	} else {
		if (!strcmp(domain,string))
			printf("found: %s\t\n",string);
	}
}
