• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to setup a .procmailrc correctly

kadoudal

Regular Pleskian
I would like to pipes all incoming mail to "[email protected]" to the ruby script 'tracker_email.rb' ,
located at /var/www/vhosts/mydomain.com/httpdocs/tracker

so , at : /var/qmail/mailnames/mysportacademy.com/tracker, I created a .procmailrc file

== START OF FILE==
:0
*
#* ^To:*
|ruby /var/www/vhosts/mydomain.com/httpdocs/tracker/tracker_email.rb
==END OF FILE ===

but when I send an email to [email protected], the script doesn't seems to be executed ....
the email is there in the mailbox...

in which log file can I check what happen ?

thanks for your suggestions
[DEBIAN Lenny OS]
 
procmailrc

Thanks Igor is running now ..

In /var/qmail/mailnames/mydomain.com/tracker

I modified the .qmail file :

======
| true
| /usr/bin/procmail -m -o ./.procmailrc

and I inserted a .procmailrc file

=====
LOGFILE=/var/log/procmail.log

:0
*
#* ^To:*
|ruby /var/rails/mysportacademy.com/tracker/tracker_email.rb

then I had to deal with the permissions.. (tried to understand who is the runner in this case.... )
 
Back
Top