Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

forwarding to a file.php

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
forwarding to a file.php
  • Quote

Post by Teo » Wed Jul 15, 2015 12:05 pm

Hello guys,

i got osticket installed i need to forward to /public_html/osticket/api/pipe.php an email, how can i do this?

many thanks.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: forwarding to a file.php
  • Quote

Post by skurudo » Wed Jul 15, 2015 12:39 pm

If I understand correct, you need this guide and exim section - http://osticket.com/wiki/Email_Piping
Top

Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
Re: forwarding to a file.php
  • Quote

Post by Teo » Wed Jul 15, 2015 1:05 pm

i figured it out thanks. i think is a limitation of vestacp, you guys should improve the Alias area. if you need how to contact me.
Top

Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
Re: forwarding to a file.php
  • Quote

Post by Teo » Wed Jul 15, 2015 1:11 pm

forwarding to only permits to add an email, and that email is stored to the file:

Code: Select all

/home/admin/conf/mail/yourdomain.tld/aliases
you should remove the error if an email aint set properly adding the ability to set what users need to, for example in my case:

1) i set up a fake forwarding to a [email protected]
2) i went to my /home/admin/conf/mail/yourdomain.tld/aliases
3) open it with a text editor and replace the:

Code: Select all

[email protected]:[email protected]
with:

Code: Select all

[email protected]:|/home/admin/web/yourdomain.tld/public_html/path_to_osticket_or_whatever/your_file.ext
it works like a charm.
cheers.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: forwarding to a file.php
  • Quote

Post by skurudo » Wed Jul 15, 2015 1:37 pm

Teo wrote:i figured it out thanks. i think is a limitation of vestacp, you guys should improve the Alias area. if you need how to contact me.
Can you add idea to http://bugs.vestacp.com/?
Top

Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
Re: forwarding to a file.php
  • Quote

Post by Teo » Wed Jul 15, 2015 2:21 pm

sure mate.
Top

Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
Re: forwarding to a file.php
  • Quote

Post by Teo » Wed Jul 15, 2015 2:23 pm

cannot login over there :/
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: forwarding to a file.php
  • Quote

Post by skurudo » Thu Jul 16, 2015 6:04 am

Teo wrote:cannot login over there :/
There is a trick - try to login from some topic ;-(
From main page I can't login too.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password