Postfix pipe email to whmcs ticket
- in Blog Posts, System Admin
- by admin
- September 28, 2017
- Comments Off on Postfix pipe email to whmcs ticket
- Tags: account, easy, email, have, Instructions, need, pipe, ticket–, WHMCS
Easy instructions for email pipe to whmcs ticket
– you need to have email account created in cwp for this instructions to work.
In the configuration examples we will use username: testuser and email account space@test.com, don’t forget that you need to change it.
Edit File /etc/postfix/master.cf and add this at end of the file
whmcspipe unix - n n - - pipe flags=Rq user=testuser argv=/usr/local/bin/php -q /home/testuser/public_html/crons/pipe.php -f ${sender} -- ${recipient}
Don’t forget to replace username and path with your actual path.
Edit File /etc/postfix/transport and add this at end of the file
space@test.com whmcspipe:
If you need to have multiple pipe scripts, you can add it as a new entry and replace the name whmcspipe to whmcspipe1 and so on…
once you are done, reload your new configuration:
postmap /etc/postfix/transport service postfix restart
Comments are closed.