Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
E-Mail
»
How to forward / pipe email to Osticket in Centos Web Panel
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to forward / pipe email to Osticket in Centos Web Panel (Read 9898 times)
0 Members and 1 Guest are viewing this topic.
crazytechin
Newbie
Posts: 14
How to forward / pipe email to Osticket in Centos Web Panel
«
on:
December 22, 2017, 07:30:53 AM »
In Cpanel, we can forward email to another email and also pipe email to OsTicket software.
How can we do it in Centos Wep Panel ?
I would like the original mail be retained.
Logged
crazytechin
Newbie
Posts: 14
Re: How to forward / pipe email to Osticket in Centos Web Panel
«
Reply #1 on:
December 23, 2017, 12:33:20 AM »
No answer from anyone !!!
Logged
Jae
Full Member
Posts: 142
Re: How to forward / pipe email to Osticket in Centos Web Panel
«
Reply #2 on:
December 23, 2017, 10:52:30 PM »
from
http://www.anthonyhawk.com/piping-emails-to-osticket-with-postfix/
add following line in /etc/postfix/virtual_regexp
/^support@yourdomain.tld/ osticketsupport
add following line in /etc/aliases
osticketsupport: "|/usr/bin/php -q /path_to_pipe.php"
postmap hash:/etc/aliases
service postfix restart
never tried, diwyor
Logged
crazytechin
Newbie
Posts: 14
Re: How to forward / pipe email to Osticket in Centos Web Panel
«
Reply #3 on:
December 25, 2017, 02:11:12 AM »
Thanks Jae for your response.
It works. But it does not retain original email in the mailbox. I would like only copy to be forwarded and the original be retained in the mailbox. How to do that ?
Thanks in advance
Logged
Jae
Full Member
Posts: 142
Re: How to forward / pipe email to Osticket in Centos Web Panel
«
Reply #4 on:
December 25, 2017, 02:04:52 PM »
easiest way,
create email osticketsupport@youdomain.tld
cretare alias/forward osticketsupport@youdomain.tld to osticketsupport@youdomain.tld and osticketsupport1@youdomain.tld
pipe osticketsupport1@youdomain.tld to osticket
Logged
crazytechin
Newbie
Posts: 14
Re: How to forward / pipe email to Osticket in Centos Web Panel
«
Reply #5 on:
December 26, 2017, 05:02:46 PM »
Jae,
Should I cretare alias/forward osticketsupport@youdomain.tld to osticketsupport@youdomain.tld and osticketsupport1@youdomain.tld in etc/alias ? How to do that ?
Logged
crazytechin
Newbie
Posts: 14
Re: How to forward / pipe email to Osticket in Centos Web Panel
«
Reply #6 on:
December 27, 2017, 07:19:39 AM »
Jae,
I configured the forwarding to other emai osticketsupport1 using Centos Web Panel.
Using the etc/aliases method for piping, error mails saying that mail was undelivered were coming (although mails were being piped). So, I used this alternate method to pipe which I found and until now, I have not seen any errors -
http://forum.centos-webpanel.com/e-mail/postfix-mail-aliases-to-forward-to-command-pipe-1859/msg13647/#msg13647
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
E-Mail
»
How to forward / pipe email to Osticket in Centos Web Panel