{"id":566,"date":"2016-05-20T09:02:49","date_gmt":"2016-05-20T09:02:49","guid":{"rendered":"http:\/\/new.eticketsupport.com\/?page_id=566"},"modified":"2016-10-24T11:32:27","modified_gmt":"2016-10-24T11:32:27","slug":"configuration","status":"publish","type":"page","link":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/","title":{"rendered":"Configuration"},"content":{"rendered":"<p>[vc_row][vc_column][vc_empty_space height=&#8221;85px&#8221;]\n\n\n    <h1 id=\"config-heading\" class=\"li-heading  left fw-bold\" style=\"color: #293749;\" >\n        Documentation : eTicket Configuration        <small style=\"color: #293749;\" class=\"fw-normal\">(Updated 26 June 2008)<\/small>    <\/h1>\n\n\n\n    [vc_empty_space height=&#8221;20px&#8221;]\n\n\n    <h2 id=\"config-sub\" class=\"li-heading  left fw-bold\" style=\"color: #293749;\" >\n        Mail Handling            <\/h2>\n\n\n\n    [vc_empty_space height=&#8221;20px&#8221;]\n\n    <div id=\"tb-6a5211ee1e369\" class=\"li-textblock \"  >\n        <p>An important aspect of eTicket is the handling of incoming emails. There are two methods of handling incoming emails, one is the &#8220;pipe\/alias&#8221; method, the second is the &#8220;pop3&#8221; method.<\/p>\n<p>Each has their pros and cons, the piping method uses realtime processing of incoming emails, the pop3 method does not, however the pop3 method is best suited for people with pop3 email accounts that are not located on the local server, or cannot use the piping method.<\/p>\n<p><strong>The Pipe\/Alias method (recommended)<\/strong><\/p>\n<p>Using this method requires the &#8220;pipe.php&#8221;.<\/p>\n<p><strong>Notice:<\/strong> If you <strong>DO<\/strong> USE the pipe method, you <strong>DO NOT<\/strong> require a POP3 email account.<\/p>\n<ul>\n<li>Make sure the path to pipe.php on line 1 is correct<\/li>\n<li>Make sure the %config array has the correct settings for mysql (which should have changed after running the install process)<\/li>\n<li>Make sure you upload &#8220;pipe.php&#8221; in ascii mode (it may need to be in your cgi-bin) and CHMOD it to 755<\/li>\n<\/ul>\n<div class=\"config-sub\">\n<p><strong>Setting up aliases in cPanel:<\/strong><br \/>\nAdd a forwarding rule for each email in each of the setup categories to pipe.php. For example forward support@example.com to &#8220;|\/path\/to\/pipe.php&#8221; (Without the quotes)<br \/>\n<strong>Setting up aliases with qmail:<\/strong><br \/>\nCreate\/Edit your .qmail-* for the domain you wish to forward and add a forwarding rule to pipe.php For example for support@example.com .qmail-support file should contain |\/path\/to\/pipe.php.<strong>Setting up aliases for sendmail:<\/strong><br \/>\nModify your aliases file by adding support: root, |\/path\/to\/pipe.php and run newaliases<\/p>\n<p><strong>Setting up aliases in .procmailrc:<\/strong><br \/>\n:0 c<br \/>\n* ^To.*support@example.com<br \/>\n|\/path\/to\/pipe.php<\/p>\n<\/div>\n<p><strong>Note:<\/strong> &#8220;\/path\/to\/pipe.php&#8221; should be the full path (eg: \/home\/\/public_html\/eticket\/pipe.php).<\/p>\n<p><strong>Note:<\/strong> Ensure you include the &#8220;|&#8221; (aka pipe) at the start of the path when using this method.<\/p>\n<p><strong>Note:<\/strong> Windows users may require sendmail.exe to get this to work correctly.<\/p>\n<p><strong>The POP3 Method<\/strong><\/p>\n<p><em>Note:You should only use this method if you are unable to use the above method. (ie: If your mailbox is on a different server or you can&#8217;t setup pipe mail)<\/em><\/p>\n<ul>\n<li>This method requires the &#8220;automail.php&#8221; (automail php script).<\/li>\n<li>You require a POP3\/IMAP server, email address, username and password.<\/li>\n<li>The host parameter can use the imap_open options (ie: &#8220;mail.example.com:995\/ssl&#8221; access via ssl on port 995).<\/li>\n<\/ul>\n<p>By default mail will only be fetched on admin or staff login, to increase fetch frequency you must use a crontab or cronjob.<\/p>\n<div class=\"config-sub\">\n<p>Setup a cron on the local host:<br \/>\nAdd the following to cron file normally in \/etc\/crontab in linix or unix based systems and adjust the time and path accordingly.<br \/>\n*\/5 * * * * root \/path\/to\/php \/path\/to\/automail.php<br \/>\nFor windows users in &#8220;Scheduled Tasks&#8221; add &#8220;c:\\php\\bin\\php.exe c:\\path\\to\\automail.php&#8221;Setup a cron on a remote host:<br \/>\nBelow are example on how to spawn automail.php from a remote server. Adjust the time and path accordingly.<\/p>\n<p># if your server supports curl:<br \/>\n0 * * * * curl -s -o \/dev\/null http:\/\/www.example.com\/path\/to\/automail.php<br \/>\n# if your server supports fetch:<br \/>\n0 * * * * fetch -o \/dev\/null http:\/\/www.example.com\/path\/to\/automail.php<br \/>\n# if your server supports lynx:<br \/>\n0 * * * * lynx &gt; \/dev\/null -dump http:\/\/www.example.com\/path\/to\/automail.php<br \/>\n# if your server supports wget:<br \/>\n0 * * * * wget -q -O \/dev\/null http:\/\/www.example.com\/path\/to\/automail.php<\/p>\n<\/div>\n<p>There has been some concern over security of this file, as repeated access can cause problems. With this in mind, we advise that you rename, password protect or limit access to this file.<\/p>\n<p>For example, placing this in your .htaccess file and creating a .htpasswd file, it will be password protected:<\/p>\n<div class=\"config-sub2\">files &#8220;automail.php&#8221;&gt;<br \/>\nAuthUserFile \/home\/home\/.htpasswd<br \/>\nAuthType Basic<br \/>\nAuthName &#8220;Automail&#8221;<br \/>\nrequire valid-user<\/div>\n<p>You can then use &#8220;http:\/\/user:pass@hostname\/dir\/automail.php&#8221; in the cron as per above.<\/p>\n<p>Or you can limit the file to your IP address:<\/p>\n<div class=\"config-sub2\">&lt;files &#8220;automail.php&#8221;&gt;<br \/>\nOrder Allow,Deny<br \/>\nDeny from all<br \/>\nAllow from 127.0.0.1<\/div>\n<p>Note: Users can still use open.php to open a new ticket without sending any emails should you decide to use neither of the above methods.<\/p>\n<p><strong>Languages<\/strong><br \/>\nThe language file is &#8220;lang.php&#8221;, by default is &#8220;English&#8221;.<\/p>\n<p>However, you are welcome to modify the language file by replacing the phrases.<\/p>\n<p><em>eg: define(&#8216;LANG_FATAL_ERROR&#8217;,&#8217;Fatal Error&#8217;); would become define(&#8216;LANG_FATAL_ERROR&#8217;,&#8217;Erreur Mortelle&#8217;); in french.<\/em><\/p>\n<p>The idea is that once a language file for your language you will not need to create another one.<\/p>\n<p><strong>Themes<\/strong><br \/>\nAs osTicket&#8217;s HTML code is so deeply included in the core code its difficult to fully template eTicket at the moment.<\/p>\n<p>The solution is to use &#8220;themes&#8221; to style your helpdesk to suit you.<\/p>\n<p>It can also be used to make language changes to existing themes which you can share with others.<\/p>\n<p><strong>Enable\/Disable Captcha<\/strong><\/p>\n<p>Although its not recommended, due to potential spam, you can disable captcha by simply removing &#8220;captcha.php&#8221;. The rest of the script will recognise that this file is missing and will not look for it or use it.<\/p>\n<p>If the security image\/captcha is not working for you chances are that you don&#8217;t have PHP compiled with <a href=\"#\">GD<\/a><\/p>\n    <\/div>\n\n\n     [vc_empty_space][vc_separator color=&#8221;custom&#8221; border_width=&#8221;2&#8243; accent_color=&#8221;#32ba5b&#8221;][vc_empty_space]\n\n    <ul class=\"list-unstyled li-icon-list \" id=\"ilist-6a5211ee1e468\" >\n        \n\n    <li class=\"\"  >\n        <i class=\"fa fa-caret-right\" ><\/i> <a href=\"http:\/\/new.eticketsupport.com\/support\/documentation\/\">Back to Documentation<\/a>    <\/li>\n\n\n        <\/ul>\n\n\n    [vc_empty_space][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_empty_space height=&#8221;85px&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_empty_space][vc_separator color=&#8221;custom&#8221; border_width=&#8221;2&#8243; accent_color=&#8221;#32ba5b&#8221;][vc_empty_space][vc_empty_space][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":208,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-566","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configuration - eTicket Helpdesk Software<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuration - eTicket Helpdesk Software\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_empty_space height=&#8221;85px&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_empty_space][vc_separator color=&#8221;custom&#8221; border_width=&#8221;2&#8243; accent_color=&#8221;#32ba5b&#8221;][vc_empty_space][vc_empty_space][\/vc_column][\/vc_row]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"eTicket Helpdesk Software\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-24T11:32:27+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/\",\"url\":\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/\",\"name\":\"Configuration - eTicket Helpdesk Software\",\"isPartOf\":{\"@id\":\"https:\/\/eticketsupport.com\/#website\"},\"datePublished\":\"2016-05-20T09:02:49+00:00\",\"dateModified\":\"2016-10-24T11:32:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eticketsupport.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support\",\"item\":\"https:\/\/eticketsupport.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Documentation\",\"item\":\"https:\/\/eticketsupport.com\/support\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eticketsupport.com\/#website\",\"url\":\"https:\/\/eticketsupport.com\/\",\"name\":\"eTicket Helpdesk Software\",\"description\":\"The Free Helpdesk Support Solution\",\"publisher\":{\"@id\":\"https:\/\/eticketsupport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eticketsupport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eticketsupport.com\/#organization\",\"name\":\"Eticket Support\",\"url\":\"https:\/\/eticketsupport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eticketsupport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eticketsupport.com\/fe\/wp-content\/uploads\/2016\/05\/logo.png\",\"contentUrl\":\"https:\/\/eticketsupport.com\/fe\/wp-content\/uploads\/2016\/05\/logo.png\",\"width\":270,\"height\":66,\"caption\":\"Eticket Support\"},\"image\":{\"@id\":\"https:\/\/eticketsupport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuration - eTicket Helpdesk Software","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/","og_locale":"en_US","og_type":"article","og_title":"Configuration - eTicket Helpdesk Software","og_description":"[vc_row][vc_column][vc_empty_space height=&#8221;85px&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_empty_space][vc_separator color=&#8221;custom&#8221; border_width=&#8221;2&#8243; accent_color=&#8221;#32ba5b&#8221;][vc_empty_space][vc_empty_space][\/vc_column][\/vc_row]","og_url":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/","og_site_name":"eTicket Helpdesk Software","article_modified_time":"2016-10-24T11:32:27+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/","url":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/","name":"Configuration - eTicket Helpdesk Software","isPartOf":{"@id":"https:\/\/eticketsupport.com\/#website"},"datePublished":"2016-05-20T09:02:49+00:00","dateModified":"2016-10-24T11:32:27+00:00","breadcrumb":{"@id":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eticketsupport.com\/support\/documentation\/configuration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eticketsupport.com\/support\/documentation\/configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eticketsupport.com\/"},{"@type":"ListItem","position":2,"name":"Support","item":"https:\/\/eticketsupport.com\/support\/"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/eticketsupport.com\/support\/documentation\/"},{"@type":"ListItem","position":4,"name":"Configuration"}]},{"@type":"WebSite","@id":"https:\/\/eticketsupport.com\/#website","url":"https:\/\/eticketsupport.com\/","name":"eTicket Helpdesk Software","description":"The Free Helpdesk Support Solution","publisher":{"@id":"https:\/\/eticketsupport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eticketsupport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eticketsupport.com\/#organization","name":"Eticket Support","url":"https:\/\/eticketsupport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eticketsupport.com\/#\/schema\/logo\/image\/","url":"https:\/\/eticketsupport.com\/fe\/wp-content\/uploads\/2016\/05\/logo.png","contentUrl":"https:\/\/eticketsupport.com\/fe\/wp-content\/uploads\/2016\/05\/logo.png","width":270,"height":66,"caption":"Eticket Support"},"image":{"@id":"https:\/\/eticketsupport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/pages\/566"}],"collection":[{"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/comments?post=566"}],"version-history":[{"count":0,"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/pages\/566\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/pages\/208"}],"wp:attachment":[{"href":"https:\/\/eticketsupport.com\/wp-json\/wp\/v2\/media?parent=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}