diff --git a/web/root/msgs/msg.ssjs b/web/root/msgs/msg.ssjs
index 527e97d8fc7ff87865aec33e797b75d9eb196cac..c43438dc51c33f23c7bb45e5b7500c6d8532b8a2 100644
--- a/web/root/msgs/msg.ssjs
+++ b/web/root/msgs/msg.ssjs
@@ -26,6 +26,10 @@ else {
 		error("You can't read messages in this sub!");
 }
 
+if(msg_area.sub[sub].can_post)  {
+		template.can_post=true;
+}
+
 template.idx=msgbase.get_msg_index(false,m);
 if(sub=='mail' && template.idx.to!=user.number)
 	error("You can only read e-mail messages addressed to yourself!");
diff --git a/web/root/msgs/msgs.ssjs b/web/root/msgs/msgs.ssjs
index e51e025a41c3a6d4564e0dca6f735adf51b395ea..fc534da635e548983ab4c14a5b004465379ccf82 100644
--- a/web/root/msgs/msgs.ssjs
+++ b/web/root/msgs/msgs.ssjs
@@ -178,6 +178,22 @@ for(displayed=0;displayed<max_messages && last_offset >= 0;last_offset--) {
 	displayed++;
 }
 
+if(sub=='mail' && user.alias!='Guest') {
+	template.can_post=true;
+	}
+	else {		
+	if(msg_area.sub[sub].can_post)  {
+		template.can_post=true;
+	}
+}
+
+if(sub=='mail') {
+	template.post_button="Create New E-Mail";
+}	
+	else {
+	template.post_button="Create New Message";
+}				
+
 write_template("msgs/msgs.inc");
 write_template("footer.inc");
 msgs_done();