]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/smtp/smtpqueue.h
SMTPClient: Relaying: add safeguard we don't try to attempt to deliver directly.
[citadel.git] / citadel / modules / smtp / smtpqueue.h
index c6cd97f5810c25a0914f9023a2d231b732a9b126..322e45efd5eefd465ef052361f7f5ed97ca66535 100644 (file)
@@ -22,6 +22,7 @@
 /*****************************************************************************/
 
 #define MaxAttempts 15
+extern const unsigned short DefaultMXPort;
 
 typedef struct _mailq_entry {
        StrBuf *Recipient;
@@ -62,6 +63,7 @@ typedef struct queueitem {
        StrBuf *SenderRoom;
        ParsedURL *URL;
        ParsedURL *FallBackHost;
+       int HaveRelay;
 } OneQueItem;
 
 typedef void (*QItemHandler)(OneQueItem *Item, StrBuf *Line, const char **Pos);