• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Adding -Rt0 to server_args

F

fairvegas

Guest
I'm trying to add -Rt0 to the beginning of my server_args following the activation of sbl-xbl.spamhaus.org in my MAPS:

In the past, I've added -Rt0 to my /etc/xinetd.d/smtp_psa file by running the following command line:
sed -i 's/args\ \ \ \ \ =\ \/var/args\ =\ -Rt0 \/var/' /etc/xinetd.d/smtp_psa

But since adding sbl-xbl.spamhaus.org in my MAPS, it eliminates the previously added -Rt0 and gives me the following new smtp_psa server_args line:
server_args = /usr/sbin/rblsmtpd -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

Therefore, running the previous working command no longer adds -Rt0 to my smtp_psa file:
sed -i 's/args\ \ \ \ \ =\ \/var/args\ =\ -Rt0 \/var/' /etc/xinetd.d/smtp_psa

How should the above shown command line be modified so that it will work under my new MAPS addition in my server_args?

Any help is greatly appreciated!
 
Back
Top