diff options
author | Gilles Chehade <gilles@poolp.org> | 2012-12-17 11:25:56 +0100 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2012-12-17 11:25:56 +0100 |
commit | 1a0480a492a1fcf36ad4e11e863a2669af4753d7 (patch) | |
tree | 7368bfc9bdc3c72f23809e94f19244efccc6ef85 | |
parent | remove unused file (diff) | |
download | OpenSMTPD-1a0480a492a1fcf36ad4e11e863a2669af4753d7.tar.xz OpenSMTPD-1a0480a492a1fcf36ad4e11e863a2669af4753d7.zip |
introduce backup ://opensmtpd-201212171136
-rw-r--r-- | smtpd/to.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -311,7 +311,8 @@ text_to_relayhost(struct relayhost *relay, const char *s) { "smtps+auth://", F_SMTPS|F_AUTH }, { "tls+auth://", F_STARTTLS|F_AUTH }, { "ssl://", F_SMTPS|F_STARTTLS }, - { "ssl+auth://", F_SMTPS|F_STARTTLS|F_AUTH } + { "ssl+auth://", F_SMTPS|F_STARTTLS|F_AUTH }, + { "backup://", F_BACKUP } }; const char *errstr = NULL; char *p, *q; @@ -403,6 +404,9 @@ relayhost_to_text(struct relayhost *relay) case F_SMTPS: strlcat(buf, "smtps://", sizeof buf); break; + case F_BACKUP: + strlcat(buf, "backup://", sizeof buf); + break; default: strlcat(buf, "smtp://", sizeof buf); break; |