Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 19, 2008, 11:51:24 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: email piping with lunarpanel *SOLVED*  (Read 303 times)
fuuup
Space Explorer
***
Offline Offline

Posts: 6


« on: February 13, 2008, 02:02:48 PM »

I just upgraded to a dedicated 2 plan with lunar panel (coming from a vps with plesk) and I cant figure out how to pipe incoming email to a php script with the new service.

With Plesk I was able to edit /var/qmail/mailnames/domain.com/user/.qmail and set it as the following:
Code:
| /usr/local/psa/bin/psa-spamc reject
| true
| /usr/bin/php -q  /var/www/vhosts/domain.com/httpdocs/emailpipe.php
#./Maildir/

Incoming email would be filtered through spamassasin then piped to the php script

With cPanel, this can be done from the email filters option simply by adding the following as a filter.
Code:
| /usr/bin/php -q  /var/www/vhosts/domain.com/httpdocs/emailpipe.php

How would I accomplish this with the new lunar panel?

Thanks
« Last Edit: February 13, 2008, 04:02:15 PM by fuuup » Logged
fuuup
Space Explorer
***
Offline Offline

Posts: 6


« Reply #1 on: February 13, 2008, 04:04:02 PM »

Got the answer from support

Quote
hi,
You should be able to do this by editing /etc/valiases/domain.com with syntax like the following

email@domain.com: | /usr/bin/php -q /home/user/public_html/emailpipe.php

I hope this helps

--
Please don't hesitate to get in touch should you require further
assistance. Thank you for using Lunar Pages.

Kind Regards,
Thain Strzelecki
System Administrator Team


Good work
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM