2 messages in net.sourceforge.lists.courier-users[courier-users] possible fix for the ...
FromSent OnAttachments
Willi MannApr 5, 2004 3:51 am 
Sam VarshavchikApr 5, 2004 3:55 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] possible fix for the from garbage problem in sqwebmailActions...
From:Willi Mann (news@wm1.at)
Date:Apr 5, 2004 3:51:45 am
List:net.sourceforge.lists.courier-users

Hi!

Attached is a possible patch to fix the from garbage problem (517 Syntax Error) in sqwebmail.

Willi <wil@wm1.at>

--- courier-0.45.2/webmail/newmsg.c.old Sun Jan 25 06:40:35 2004 +++ courier-0.45.2/webmail/newmsg.c Mon Apr 5 12:30:20 2004 @@ -747,8 +747,6 @@ return (0); }

- returnaddr=login_returnaddr(); - dsn= *cgi("dsn") != 0;

pid=fork(); @@ -792,9 +790,12 @@ putenv("DSN=");

if (fd == 0) + { + returnaddr=login_returnaddr(); execl(SENDITSH, "sendit.sh", returnaddr, sqwebmail_mailboxid, NULL); - + } + fwrite(noexec, 1, sizeof(noexec)-1, stderr); _exit(1); }