From 4496f0cc1ceb83e4928c56a8c66934b73fc3fe18 Mon Sep 17 00:00:00 2001 From: Izaya Date: Fri, 9 Mar 2018 19:44:58 +1100 Subject: [PATCH] made mmaild handle headers properly --- MMail/OpenOS/etc/rc.d/mmail.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMail/OpenOS/etc/rc.d/mmail.lua b/MMail/OpenOS/etc/rc.d/mmail.lua index cf67cc5..a8f8427 100644 --- a/MMail/OpenOS/etc/rc.d/mmail.lua +++ b/MMail/OpenOS/etc/rc.d/mmail.lua @@ -27,9 +27,9 @@ function start() tw[#tw+1] = w end if tw[1] == "To:" then - to=tw[2] + to=to or tw[2] elseif tw[1] == "From:" then - from=tw[2] + from=from or tw[2] end to=to:match("(.+)@"..hostname) or to end