• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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