From e5feb89dc8942194a0b8736b7d25778f84e5d37d Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 24 Mar 2002 18:25:48 +0000 Subject: =?UTF-8?q?use=20mutt=20to=20(Z)ip=20UserHome=20=20=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDp?= =?UTF-8?q?=EF=BF=BDH=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD]=EF=BF=BD^=EF=BF=BDh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@64 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mail.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mbbsd/mail.c b/mbbsd/mail.c index e480abb2..4a9395fa 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1,4 +1,4 @@ -/* $Id: mail.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */ +/* $Id: mail.c,v 1.2 2002/03/24 18:25:48 in2 Exp $ */ #include #include #include @@ -1563,6 +1563,13 @@ int doforward(char *direct, fileheader_t *fh, int mode) { } if(mode == 'Z') { + sprintf(fname, TAR_PATH " cfz /tmp/home.%s.tgz home/%c/%s; " + MUTT_PATH" -a /tmp/home.%s.tgz -s 'home.%s.tgz' %s %s", cuser.userid[0], cuser.userid, cuser.userid, direct); -- cgit v1.2.3