projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab415d
)
Make sure from address includes a domain name
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 6 Nov 2008 23:19:02 +0000
(23:19 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 6 Nov 2008 23:19:02 +0000
(23:19 +0000)
mailboxes/boxes-lib.pl
patch
|
blob
|
history
diff --git
a/mailboxes/boxes-lib.pl
b/mailboxes/boxes-lib.pl
index
a1b6d07
..
f823346
100644
(file)
--- a/
mailboxes/boxes-lib.pl
+++ b/
mailboxes/boxes-lib.pl
@@
-808,6
+808,7
@@
if (@from && $from[0] =~ /\S/) {
else {
local @uinfo = getpwuid($<);
$fromaddr = $uinfo[0] || "nobody";
+ $fromaddr .= '@'.&get_system_hostname();
}
local $esmtp = $_[8] ? 1 : 0;
if ($_[1]) {