msgstr ""
"Project-Id-Version: WebCit 6.82\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Flemming Veggerby <fveggerby@dbmail.dk>\n"
"Language-Team: Danish <da@li.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr "Konfigurér replikéring med andre Citadel servere"
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr "Ingen meddelelser her."
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr "Afsender"
msgid "Your system configuration has been updated."
msgstr "Din system konfiguration er blevet opdateret"
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
#, fuzzy
msgid "Message ID"
msgstr "Meddelelser"
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
#, fuzzy
msgid "Date/time submitted"
msgstr "Meddelelser sendt"
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
#, fuzzy
msgid "The queue is empty."
msgstr "Denne adressebog er tom."
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+#, fuzzy
+msgid "Refresh this page"
+msgstr "Editér denne side"
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr "FEJL: kunne ikke åbne skabelon"
msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: 2006-09-01 09:15+0200\n"
"Last-Translator: Wilfried Goesgens <dothebart@uncensored.citadel.org>\n"
"Language-Team: <en@li.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr "Die Replikation mit anderen Citadellen Konfigurieren"
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr "Keine Beiträge hier"
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr "Absender"
msgid "Your system configuration has been updated."
msgstr "Ihre Systemkonfiguration wurde Übernommen"
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
#, fuzzy
msgid "Message ID"
msgstr "Nachrichten"
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
#, fuzzy
msgid "Date/time submitted"
msgstr "Nachricht abgeschickt"
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
#, fuzzy
msgid "The queue is empty."
msgstr "Dieses Adressbuch ist leer."
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+#, fuzzy
+msgid "Refresh this page"
+msgstr "Diese Seite bearbeiten"
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr "FEHLER: konnte Template nicht öffnen"
msgstr ""
"Project-Id-Version: WebCit 6.71\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: David Given <dg@cowlark.com>\n"
"Language-Team: LANGUAGE <en_GB@li.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr ""
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr ""
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr ""
msgid "Your system configuration has been updated."
msgstr ""
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
msgid "Message ID"
msgstr ""
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
msgid "Date/time submitted"
msgstr ""
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
msgid "The queue is empty."
msgstr ""
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+msgid "Refresh this page"
+msgstr ""
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr ""
msgstr ""
"Project-Id-Version: WEBCIT 6.40\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: 2006-04-13 16:23-0500\n"
"Last-Translator: Gabriel C. Huertas <gabrielhuertas@terra.es>\n"
"Language-Team: Spanish <es@li.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr "Configurar replicación con otros servidores Citadel"
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr "No hay mensajes aquí"
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr "Remitente"
msgid "Your system configuration has been updated."
msgstr "Su confiración de sistema ha sido actualizada"
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
#, fuzzy
msgid "Message ID"
msgstr "Mensajes"
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
#, fuzzy
msgid "Date/time submitted"
msgstr "Mensajes enviados"
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
#, fuzzy
msgid "The queue is empty."
msgstr "Esta libreta de direcciones está vacía."
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+#, fuzzy
+msgid "Refresh this page"
+msgstr "Editar esta página"
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr "ERROR: no se pudo abrir la plantilla (template) "
msgstr ""
"Project-Id-Version: ~fr\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: 2006-10-14 09:03+0200\n"
"Last-Translator: Thierry Pasquier - Jacques Lavignotte <thierry."
"pasquier@pictascience.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr "Configurer la réplication des autres serveurs Citadel"
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr "Pas de messages ici."
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr "Expéditeur"
msgid "Your system configuration has been updated."
msgstr "La configuration de votre système a été mise à jour"
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
#, fuzzy
msgid "Message ID"
msgstr "Messages"
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
#, fuzzy
msgid "Date/time submitted"
msgstr "Messages soumis"
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
#, fuzzy
msgid "The queue is empty."
msgstr "Le carnet d'adresses est vide."
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+#, fuzzy
+msgid "Refresh this page"
+msgstr "Éditer cette page"
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr "ERREUR : impossible d'ouvrir le modèle"
msgstr ""
"Project-Id-Version: it\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: 2006-02-27 10:07+0100\n"
"Last-Translator: Gabriele Tassoni <tasso@fastwebnet.it>\n"
"Language-Team: italian <it@li.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr "Configura la replicazione con altri server Citadel"
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr "Nessun messaggio."
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr "Mittente"
msgid "Your system configuration has been updated."
msgstr "La configurazione del tuo sistema è stata aggiornata"
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
#, fuzzy
msgid "Message ID"
msgstr "Messaggi"
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
#, fuzzy
msgid "Date/time submitted"
msgstr "Numero di Messaggi"
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
#, fuzzy
msgid "The queue is empty."
msgstr "Questa lista contatti è vuota"
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+#, fuzzy
+msgid "Refresh this page"
+msgstr "Modifica questa pagina"
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr "ERRORE non riesco ad aprire il template"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-27 14:20-0400\n"
+"POT-Creation-Date: 2006-10-28 00:14-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Configure replication with other Citadel servers"
msgstr ""
-#: ../mainmenu.c:229 ../smtpqueue.c:144
+#: ../mainmenu.c:229 ../smtpqueue.c:210
msgid "View the outbound SMTP queue"
msgstr ""
msgid "No messages here."
msgstr ""
-#: ../messages.c:2345 ../smtpqueue.c:173
+#: ../messages.c:2345 ../smtpqueue.c:166
msgid "Sender"
msgstr ""
msgid "Your system configuration has been updated."
msgstr ""
-#: ../smtpqueue.c:167
+#: ../smtpqueue.c:160
msgid "Message ID"
msgstr ""
-#: ../smtpqueue.c:169
+#: ../smtpqueue.c:162
msgid "Date/time submitted"
msgstr ""
-#: ../smtpqueue.c:171
+#: ../smtpqueue.c:164
msgid "Last attempt"
msgstr ""
-#: ../smtpqueue.c:175
+#: ../smtpqueue.c:168
msgid "Recipients"
msgstr ""
-#: ../smtpqueue.c:187
+#: ../smtpqueue.c:180
msgid "The queue is empty."
msgstr ""
-#: ../smtpqueue.c:193
+#: ../smtpqueue.c:186
msgid "You do not have permission to view this resource."
msgstr ""
+#: ../smtpqueue.c:227
+msgid "Refresh this page"
+msgstr ""
+
#: ../subst.c:216
msgid "ERROR: could not open template "
msgstr ""
char recipients[65536];
char thisrecp[256];
char thisdsn[256];
+ long msgid = 0;
strcpy(sender, "");
strcpy(recipients, "");
if ( (in_body) && (is_delivery_list) ) {
extract_token(keyword, buf, 0, '|', sizeof keyword);
+ if (!strcasecmp(keyword, "msgid")) {
+ msgid = extract_long(buf, 1);
+ }
+
if (!strcasecmp(keyword, "submitted")) {
submitted = extract_long(buf, 1);
}
if (!strcasecmp(keyword, "bounceto")) {
extract_token(sender, buf, 1, '|', sizeof sender);
+
+ /* Strip off local hostname if it's our own */
+ char *atsign;
+ atsign = strchr(sender, '@');
+ if (atsign != NULL) {
+ ++atsign;
+ if (!strcasecmp(atsign, serv_info.serv_nodename)) {
+ --atsign;
+ *atsign = 0;
+ }
+ }
}
if (!strcasecmp(keyword, "remote")) {
wprintf("<tr><td>");
wprintf("%ld", msgnum);
+ wprintf(" <a href=\"javascript:DeleteQueueMsg(%ld,%ld);\">%s</a>",
+ msgnum, msgid, _("(Delete)")
+ );
wprintf("</td><td>");
if (submitted > 0) {
}
-/**
- * \brief display the outbound SMTP queue
- */
-void display_smtpqueue(void)
-{
+void display_smtpqueue_inner_div(void) {
int i;
int num_msgs;
- output_headers(1, 1, 2, 0, 0, 0);
- wprintf("<div id=\"banner\">\n");
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
- wprintf("<SPAN CLASS=\"titlebar\">");
- wprintf(_("View the outbound SMTP queue"));
- wprintf("</SPAN>\n");
- wprintf("</TD></TR></TABLE>\n");
- wprintf("</div>\n<div id=\"content\">\n");
-
- wprintf("<div class=\"fix_scrollbar_bug\">"
- "<table border=0 width=100%% bgcolor=\"#FFFFFF\">"
- "<tr><td valign=top>\n");
-
-
/* Check to see if we can go to the __CitadelSMTPspoolout__ room.
* If not, we don't have access to the queue.
*/
wprintf("</div><br /><br />");
}
- wprintf("</td></tr></table></div>\n");
+}
+
+/**
+ * \brief display the outbound SMTP queue
+ */
+void display_smtpqueue(void)
+{
+ output_headers(1, 1, 2, 0, 0, 0);
+
+ wprintf("<script type=\"text/javascript\"> \n"
+ "function RefreshQueueDisplay() { \n"
+ " new Ajax.Updater('smtpqueue_inner_div', \n"
+ " 'display_smtpqueue_inner_div', { method: 'get', \n"
+ " parameters: Math.random() } ); \n"
+ "} \n"
+ " \n"
+ "function DeleteQueueMsg(msgnum1, msgnum2) { \n"
+ " new Ajax.Request( \n"
+ " 'ajax_servcmd', { \n"
+ " method: 'post', \n"
+ " parameters: 'g_cmd=DELE ' + msgnum1 + ',' + msgnum2, \n"
+ " onComplete: RefreshQueueDisplay() \n"
+ " } \n"
+ " ); \n"
+ "} \n"
+ " \n"
+ "</script> \n"
+ );
+
+ wprintf("<div id=\"banner\">\n");
+ wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+ wprintf("<SPAN CLASS=\"titlebar\">");
+ wprintf(_("View the outbound SMTP queue"));
+ wprintf("</SPAN>\n");
+ wprintf("</TD></TR></TABLE>\n");
+ wprintf("</div>\n<div id=\"content\">\n");
+
+ wprintf("<div class=\"fix_scrollbar_bug\">"
+ "<table border=0 width=100%% bgcolor=\"#FFFFFF\">"
+ "<tr><td valign=top>\n");
+
+ wprintf("<div id=\"smtpqueue_inner_div\">");
+
+ display_smtpqueue_inner_div();
+
+ wprintf("</div>"
+ "<div align=\"center\">"
+ "<a href=\"javascript:RefreshQueueDisplay();\">%s</a>"
+ "</div>"
+ "</td></tr></table></div>\n", _("Refresh this page")
+ );
wDumpContent(1);
}
save_inetconf();
} else if (!strcasecmp(action, "display_smtpqueue")) {
display_smtpqueue();
+ } else if (!strcasecmp(action, "display_smtpqueue_inner_div")) {
+ display_smtpqueue_inner_div();
} else if (!strcasecmp(action, "setup_wizard")) {
do_setup_wizard();
} else if (!strcasecmp(action, "display_preferences")) {
void display_inetconf(void);
void save_inetconf(void);
void display_smtpqueue(void);
+void display_smtpqueue_inner_div(void);
void generate_uuid(char *);
void CtdlMakeTempFileName(char *, int);
void display_preferences(void);