summaryrefslogtreecommitdiff
path: root/smtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'smtp.h')
-rw-r--r--smtp.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/smtp.h b/smtp.h
index f5800fc..0e2909d 100644
--- a/smtp.h
+++ b/smtp.h
@@ -44,6 +44,16 @@ typedef struct {
char *preconnect;
char *postconnect;
/*@}*/
+
+ char *qualifydomain; /**< domain to qualify unqualified addresses with */
+
+ char *helo; /**< hostname to tell with helo */
+
+ /** \name Forcing options */
+ /*@{*/
+ char *force_reverse_path;
+ char *force_sender;
+ /*@}*/
} identity_t;
/**
@@ -70,6 +80,6 @@ void identities_cleanup(void);
/** Send a message via a SMTP server */
-void smtp_send(message_t *msg);
+void smtp_send(message_t *msg, identity_t *identity);
#endif