deliver.h revision e8490a52a1bc71bc53034e68f464435684ad810f
#ifndef __DELIVER_H
#define __DELIVER_H
#include <sysexits.h>
#include "lib.h"
#include "mail-storage.h"
struct deliver_settings {
const char *hostname;
const char *postmaster_address;
const char *sendmail_path;
};
extern struct deliver_settings *deliver_set;
struct mail_storage **storage_r,
extern deliver_mail_func_t *deliver_mail;
void deliver_env_clean(void);
/* Save a mail into given mailbox with given flags and keywords. */
const char *const *keywords);
/* Extracts user@domain from Return-Path header. Returns NULL if not found. */
/* Returns a new unique Message-ID */
const char *deliver_get_new_message_id(void);
#endif