Index: trunk/admin/install/upgrades/inportal_upgrade_v4.0.1.sql
===================================================================
diff -u -r7704 -r7867
--- trunk/admin/install/upgrades/inportal_upgrade_v4.0.1.sql	(.../inportal_upgrade_v4.0.1.sql)	(revision 7704)
+++ trunk/admin/install/upgrades/inportal_upgrade_v4.0.1.sql	(.../inportal_upgrade_v4.0.1.sql)	(revision 7867)
@@ -1,4 +1,11 @@
 INSERT INTO ConfigurationValues VALUES (NULL, 'RegistrationCaptcha', '0', 'In-Portal:Users', 'in-portal:configure_users');
 INSERT INTO ConfigurationAdmin VALUES ('RegistrationCaptcha', 'la_Text_General', 'la_registration_captcha', 'checkbox', NULL, NULL, 10.025, 0, 0);
 
-ALTER TABLE EmailMessage ADD `Subject` TINYTEXT NULL ;
\ No newline at end of file
+ALTER TABLE EmailMessage ADD `Subject` TINYTEXT NULL ;
+
+ALTER TABLE EmailLog ADD EventParams TEXT NOT NULL;
+
+INSERT INTO ConfigurationAdmin VALUES ('MailFunctionHeaderSeparator', 'la_Text_smtp_server', 'la_config_MailFunctionHeaderSeparator', 'radio', NULL, '1=la_Linux,2=la_Windows', 30.08, 0, 0);
+INSERT INTO ConfigurationValues VALUES (0, 'MailFunctionHeaderSeparator', 1, 'In-Portal', 'in-portal:configure_general');
+
+UPDATE Modules SET Version = '4.0.1' WHERE Name = 'In-Portal';
\ No newline at end of file
