summaryrefslogtreecommitdiff
blob: 24367e8ceea638faeea98c256fd8d12342b8eafa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
diff -ru dbmail-2.2.1.orig/imap4.c dbmail-2.2.1/imap4.c
--- dbmail-2.2.1.orig/imap4.c	2006-11-16 12:21:49.000000000 +0100
+++ dbmail-2.2.1/imap4.c	2007-01-02 20:44:50.000000000 +0100
@@ -117,8 +117,8 @@
 
 	/* greet user */
 	if (dbmail_imap_session_printf(session,
-		     "* OK dbmail imap (protocol version 4r1) server %s "
-		     "ready to run\r\n", IMAP_SERVER_VERSION) < 0) {
+		     "* OK imap (protocol version 4r1) server "
+		     "ready \r\n", IMAP_SERVER_VERSION) < 0) {
 		dbmail_imap_session_delete(session);
 		return EOF;
 	}
diff -ru dbmail-2.2.1.orig/imapcommands.c dbmail-2.2.1/imapcommands.c
--- dbmail-2.2.1.orig/imapcommands.c	2006-11-05 10:59:40.000000000 +0100
+++ dbmail-2.2.1/imapcommands.c	2007-01-02 20:45:20.000000000 +0100
@@ -114,7 +114,7 @@
 	dbmail_imap_session_set_state(self,IMAPCS_LOGOUT);
 	TRACE(TRACE_MESSAGE, "user (id:%llu) logging out @ [%s]", ud->userid, timestring);
 
-	dbmail_imap_session_printf(self, "* BYE dbmail imap server kisses you goodbye\r\n");
+	dbmail_imap_session_printf(self, "* BYE\r\n");
 
 	return 0;
 }
diff -ru dbmail-2.2.1.orig/lmtp.c dbmail-2.2.1/lmtp.c
--- dbmail-2.2.1.orig/lmtp.c	2006-11-06 09:32:31.000000000 +0100
+++ dbmail-2.2.1/lmtp.c	2007-01-02 20:44:50.000000000 +0100
@@ -134,7 +134,7 @@
 
 	if (ci->tx) {
 		/* sending greeting */
-		ci_write(ci->tx, "220 %s DBMail LMTP service ready to rock\r\n", myhostname);
+		ci_write(ci->tx, "220 %s LMTP service ready\r\n", myhostname);
 		fflush(ci->tx);
 	} else {
 		TRACE(TRACE_MESSAGE, "TX stream is null!");
diff -ru dbmail-2.2.1.orig/pop3.c dbmail-2.2.1/pop3.c
--- dbmail-2.2.1.orig/pop3.c	2006-11-06 09:32:31.000000000 +0100
+++ dbmail-2.2.1/pop3.c	2007-01-02 20:45:07.000000000 +0100
@@ -97,7 +97,7 @@
 
 	if (ci->tx) {
 		/* sending greeting */
-		fprintf(ci->tx, "+OK DBMAIL pop3 server ready to rock %s\r\n",
+		fprintf(ci->tx, "+OK pop3 server ready\r\n",
 			session.apop_stamp);
 		fflush(ci->tx);
 	} else {
@@ -329,7 +329,7 @@
 	switch (cmdtype) {
 		
 	case POP3_QUIT:
-		fprintf((FILE *) stream, "+OK see ya later\r\n");
+		fprintf((FILE *) stream, "+OK bye\r\n");
 		return 0;
 		
 	case POP3_USER: