summaryrefslogtreecommitdiff
path: root/smtp.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2005-02-15 19:22:50 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2005-02-15 19:22:50 +0000
commit583741ac138fa6983ae8b201b3c51bad9ef2ef05 (patch)
tree3e6ff5477193935b3e0508c55afe3c27bda3529e /smtp.h
parent7bbad4f8de74ef60f19137230c38100787fd982b (diff)
Allow to set helo-name. Allow to send out local mail as remote mail by adding a
qualifying domain name. Allow forcing envelope-from and Sender headers. Drop possible admin-added sgid priveleges to be dropped after reading the config. (Bernhard Link)
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