pilerimport can read single emails from stdin specifying "-" as the filename

This commit is contained in:
SJ
2012-05-04 21:26:16 +02:00
parent 636b866f1c
commit 77b22c7043
3 changed files with 60 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ int drop_privileges(struct passwd *pwd);
int is_email_address_on_my_domains(char *email, struct __config *cfg);
void init_session_data(struct session_data *sdata);
int read_from_stdin(struct session_data *sdata);
#ifndef _GNU_SOURCE
char *strcasestr(const char *s, const char *find);