diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2005-02-15 19:22:50 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2005-02-15 19:22:50 +0000 |
commit | 583741ac138fa6983ae8b201b3c51bad9ef2ef05 (patch) | |
tree | 3e6ff5477193935b3e0508c55afe3c27bda3529e /smtp.h | |
parent | 7bbad4f8de74ef60f19137230c38100787fd982b (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.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |