Loading...
Changes Saved.
Error Occurred!

KnowledgeBase

Setting up your server to forward email to the PIPE script

Piping is a method of getting emails from your mail server into our products. Unlike the POP account functionality, where the product will periodically check your mail server for new emails, the PIPE functionality will cause your server to forward the emails as soon at it receives them. To automatically forward all email to the email parser you must forward the email to the pipe script.

For Help Desk users, the pipe script is located at admin/cron/pipe.php (incoming emails), in your SupportTrio directory.

For Email Marketing version 4 users, the pipe scripts are located at admin/bounce_pipe.php (bounce management), admin/subscribe_pipe.php (subscribe by email), and admin/unsubscribe_pipe.php (unsubscribe by email) in your installation.

For Email Marketing version 5 users, the pipe scripts are located at admin/pipe_bounce.php (bounce management), admin/pipe_emailaccount.php (subscribe and unsubscribe by email) in your installation.

Below are some common ways to setup the forward (typically .forward file):


Sendmail

Setting up an alias (option 1)

Look in the directory /etc on your server for your alias file. Add the line:

script: "|/path/to/tt/admin/cron/pipe.php"

Using a .forward file (option 2)

Create a .forward file in your main home directory.

"|/path/to/tt/admin/cron/pipe.php"

or:

myemail@example.com,"|/path/to/tt/admin/cron/pipe.php"


Exim

Setting up an alias (option 1)

Look in the directory /etc on your server for your alias file. Add the line:

script: |/path/to/tt/admin/cron/pipe.php

Then open your /etc/exim.conf file and do a find for "address_pipe."  Replace the "address_pipe" section with:

address_pipe:
  driver = pipe
  pipe_as_creator

If the "address_pipe" is not found in your exim.conf file add the aboe to the bottom of the file.

Using a .forward file (option 2)
Create a .forward file in your main home directory.

|/path/to/tt/admin/cron/pipe.php

or:

myemail@example.com,|/path/to/tt/admin/cron/pipe.php


Qmail

If you are a normal user, you can create an alias by saving a file called .qmail-foo in your home directory. Email sent to yourusername-foo@example.com is then sent as specified in this file.

If you want to create just an alias, without being a user, eg. myscript@example.com, you create a .qmail file in the /var/qmail/alias directory. .qmail-myscript should do it.

Add the following to your .qmail file and save it:

|/path/to/tt/admin/cron/pipe.php


Cpanel

The following article from our KnowledgeBase addresses email piping with Cpanel: http://activecampaign.com/support/tt/index.php?action=kb&article=331

Please be sure to set the permissions for /admin/cron/pipe.php file to 755 so the server can execute it.  This can be done with the CHMOD command, or your server administrator can make this change if you are unable to do so.




Related Articles