mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:40:13 +01:00
Fixed duplicated email handling with journal addresses
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
06c929ce7e
commit
09a4e6a356
@ -346,7 +346,7 @@ int is_duplicated_message(struct session_data *sdata, struct parser_state *state
|
||||
if(sdata->duplicate_id > 0){
|
||||
remove_stripped_attachments(state);
|
||||
|
||||
if(strlen(state->b_journal_to) > 0){
|
||||
if(sdata->restored_copy == 0 && strlen(state->b_journal_to) > 0){
|
||||
if(cfg->verbosity >= _LOG_DEBUG) syslog(LOG_PRIORITY, "%s: trying to add journal rcpt (%s) to id=%llu for message-id: '%s'", sdata->ttmpfile, state->b_journal_to, sdata->duplicate_id, state->message_id);
|
||||
store_recipients(sdata, state->b_journal_to, sdata->duplicate_id, cfg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user