• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

how to write a postfix-like alias with QMail ?

kadoudal

Regular Pleskian
I know.. some people will answer : switch to Postfix !.... but I read about issues w Postfix & 9.0, so I am not ready to switch over, not being a mail server guru...

so I need to write a QMail alias similar to this Postfix one ::
POSTFIX
foo: "|/path/to/my_mailhandler.rb --url http://my.domain --key secret --project foo"

to execute the ruby script located at /path/to/my_mailhandler.rb passing 3 parameters (url, key, project), so I ggogled a little bit, but so many results ! no easy for mail server newbie...

1- cannot be done via the Plesk Console (I guess ?)

2- I need to create a .qmail file in the folder /var/qmail/alias , which name xxxx.qmail ? is the name related to a specific email address or can it be named foo.qmail or whatever name I choose ?

3- can I write the same alias ?
foo: "|/path/to/my_mailhandler.rb --url http://my.domain --key secret --project foo"

4- is there any recommendation regarding the path to my_mailhandler.rb ?

5- once done I guess I should restart the qmail server ?

thanks for giving me the keys to open this door ... ;-))

erwin von breizh
 
Back
Top