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
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