- Plesk 11.x for Linux
Plesk Panel was installed with MSMTP support .
variable in not set in the
configuration file so it was added manually, but after enabling external SMTP Server support under the
Tools & Settings -> External SMTP Server
variable was erased from config.
Such behavior is considered to be a software issue that should be fixed in one of the future releases of the Parallels Plesk. The issue id is PPPM-1534 .
To work around the issue modify the code of the
utility by adding the required maildomain in the
For example, if the
should be used add the following string:
echo "maildomain node.workgroup.domain.com >> "$msmtp_config" &&
# diff -u /usr/local/psa/admin/sbin/msmtpmng.orig /usr/local/psa/admin/sbin/msmtpmng
--- /usr/local/psa/admin/sbin/msmtpmng.orig 2014-04-03 14:44:24.131368253 +0700
+++ /usr/local/psa/admin/sbin/msmtpmng 2014-04-03 14:44:10.999368246 +0700
@@ -1004,6 +1004,7 @@
local prev_allow_users_list="`sed -ne 's/^\\s*allow_users_list\\s\\+\\(.*\\)\\s*$/\\1/p' $pwdeval_config | tail -n1`"
mc_generate_msmtp_config > "$msmtp_config" &&
+ echo "maildomain node1.plesk.meteoric.net" >> "$msmtp_config" &&
touch "$pwdeval_config" && set_ac 0 0 0600 "$pwdeval_config" &&
mc_generate_pwdeval_config "$prev_allow_users_list" > "$pwdeval_config"