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