- Synthetic Full, Diff, Inc (Virtual, Reconstructed)
- SD to SD
- Modules for Databases, Exchange, ...
+- Novell NSS backup http://www.novell.com/coolsolutions/tools/18952.html
Priority:
+- Unicode input http://en.wikipedia.org/wiki/Byte_Order_Mark
- How does restore JobId=nnn work? (Dirk)
- What does: restore select fileset="TestSet" client="workplay-fd" pool="Default"
> storage="File2" before="2007-02-05 23:05:04" do? (Dirk)
QObject::connect(m_notifier, SIGNAL(activated(int)), this, SLOT(read_dir(int)));
write(".api 1");
- discardToPrompt();
+ displayToPrompt();
beginNewCommand();
dir_cmd(".jobs", job_list);
readSettings();
- foreach(Console *console, m_consoleHash){
+ foreach(Console *console, m_consoleHash) {
console->connect();
}
m_currentConsole = (Console*)getFromHash(m_firstItem);
static char my_hostname[MAXSTRING];
static bool content_utf8 = false;
+/*
+ * Take input that may have names and other stuff and strip
+ * it down to the mail box address ... i.e. what is enclosed
+ * in < >. Otherwise add < >.
+ */
+static char *cleanup_addr(char *addr, char *buf, int buf_len)
+{
+ char *p, *q;
+
+ if ((p = strchr(from_addr, '<')) == NULL) {
+ snprintf(buf, buf_len, "<%s>", addr);
+ } else {
+ /* Copy <addr> */
+ for (q=buf; *p && *p!='>'; ) {
+ *q++ = *p++;
+ }
+ if (*p) {
+ *q++ = *p;
+ }
+ *q = 0;
+ }
+ Dmsg2(100, "cleanup in=%s out=%s\n", addr, buf);
+ return buf;
+}
/*
* examine message from server
*/
static void get_response(void)
{
- char buf[MAXSTRING];
+ char buf[1000];
Dmsg0(50, "Calling fgets on read socket rfp.\n");
buf[3] = 0;
*/
int main (int argc, char *argv[])
{
- char buf[MAXSTRING];
+ char buf[1000];
struct sockaddr_in sin;
struct hostent *hp;
int i, ch;
*/
get_response(); /* banner */
chat("helo %s\r\n", my_hostname);
- if (strchr(from_addr, '<') == NULL) {
- chat("mail from:<%s>\r\n", from_addr);
- } else {
- chat("mail from:%s\r\n", from_addr);
- }
-
+ chat("mail from:%s\r\n", cleanup_addr(from_addr, buf, sizeof(buf)));
+
for (i = 0; i < argc; i++) {
Dmsg1(20, "rcpt to: %s\n", argv[i]);
- if (strchr(argv[i], '<') == NULL) {
- chat("rcpt to:<%s>\r\n", argv[i]);
- } else {
- chat("rcpt to:%s\r\n", argv[i]);
- }
+ chat("rcpt to:%s\r\n", cleanup_addr(argv[i], buf, sizeof(buf)));
}
if (cc_addr) {
- if (strchr(cc_addr, '<') == NULL) {
- chat("rcpt to:<%s>\r\n", cc_addr);
- } else {
- chat("rcpt to:%s\r\n", cc_addr);
- }
+ chat("rcpt to:%s\r\n", cleanup_addr(cc_addr, buf, sizeof(buf)));
}
Dmsg0(20, "Data\n");
chat("data\r\n");
*/
#undef VERSION
-#define VERSION "2.1.8"
-#define BDATE "16 May 2007"
-#define LSMDATE "16May07"
+#define VERSION "2.1.10"
+#define BDATE "18 May 2007"
+#define LSMDATE "18May07"
#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
#define BYEAR "2007" /* year for copyright messages in progs */
Please note, only the Win32 Client (File daemon) is supported. All the\r
other components (Director, Storage daemon, their utilities) are provided\r
on an "as is" basis. Unfortunately, they are neither properly tested, \r
-documented, or supported. This means that we cannot accept bug reports\r
-against the non-supported components. For them to be supported, we need\r
-three things from the Open Source community:\r
+documented, or supported. This means that we cannot ensure that bug reports\r
+against the non-supported components will be fixed. For them to be supported, \r
+we need three things from the Open Source community:\r
\r
1. Full documentation of the Windows particularities of the Director,\r
the Storage daemon, and their utilities in the Bacula manual.\r
The workaround is to manually edit the appropriate conf file and ensure that it\r
is written out in UTF-8 format.\r
\r
+The conf files can be edited with any UTF-8 compatible editor, or on most \r
+modern Win32 machines, you can edit them with notepad, then choose UTF-8\r
+output encoding before saving them.\r
+\r
\r
Storage and Director Services\r
-----------------------------\r
Technical notes on version 2.1
General:
+18May07
+kes Cleanup incorrect email addresses in bsmtp.
+kes Make bat display initial messages rather than discard them.
16May07
kes First cut of adding .mod to the run command.
kes Implement auto display of messages in bat.