mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-30 19:02:27 +01:00 
			
		
		
		
	journal parsing fix
This commit is contained in:
		| @@ -14,7 +14,7 @@ | ||||
|  | ||||
| #define VERSION "1.2.0-master" | ||||
|  | ||||
| #define BUILD 910 | ||||
| #define BUILD 912 | ||||
|  | ||||
| #define HOSTID "mailarchiver" | ||||
|  | ||||
|   | ||||
| @@ -192,10 +192,6 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int | ||||
|    if(state->is_1st_header == 1 && sdata->ms_journal == 0 && (strncmp(buf, "X-MS-Journal-Report:", strlen("X-MS-Journal-Report:")) == 0 || (sdata->import == 1 && strncmp(buf, "X-MS-Exchange-Organization-Auth", strlen("X-MS-Exchange-Organization-Auth")) == 0))){ | ||||
|       if(sdata->import == 0){ | ||||
|          sdata->ms_journal = 1; | ||||
|          memset(state->message_id, 0, SMALLBUFSIZE); | ||||
|  | ||||
|          memset(state->b_from, 0, SMALLBUFSIZE);  | ||||
|          memset(state->b_from_domain, 0, SMALLBUFSIZE); | ||||
|       } | ||||
|    } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user