How to Set Up a Catch-all E-mail Domain for Link Farm Evolution

Description

How to Set Up a Catch-all E-mail Domain for Link Farm Evolution

Shared by: herdian100
-
Stats
views:
398
posted:
10/20/2010
language:
English
pages:
7
Document Sample
scope of work template
							How to Set Up a Catch-all E-mail Domain for LFE


1. Create a database



Using Cpanel we're going to create a MySQL Database:




and a new user for it:




Then we need to add the new user to the database we just created and don't forget to give him
full privileges:
2. Set up the default e-mail


We need to create a new e-mail account to use as the default mailbox for this domain:
Now we need to go to the "Default Address" section:




and set up e-mail forwarding for all of the unrouted mail:




Now all of the letters to webymail.co.cc will go to catchall@webymail.co.cc(this won't affect
your existing e-mail accounts, so you can still use this domain for other purposes).

3. Enter your settings into checkmail.php script.

Open the checkmail.php file(it is located in the same archive as LFE) in any text/code editor
and enter settings for your default e-mail account and our newly created database:
4. Upload the script to the root of your domain.

checkmail.php is comletely independent from your LFE, so you don't have to bring all of
LFE's files along when you install checkmail.php. And don't forget that checkmail.php has to
be placed in the root of the domain, otherwise LFE won't be able to use it.




5. Test the script.


Now let's open the checkmail.php script in the browser(http://webymail.co.cc/checkmail.php
in our case). If the database settings are correct, you will receive a message letting you know
that a table was created and now the script is ready to work:




Then reload the page:




and enter any random username to see if the script is able to log into your default email
account:
6. Add the catch-all domain to the LFE settings.




Now LFE is ready to use your new catch-all domain.



7. Troubleshooting

Q: My checkmail.php script is not showing anything.

 A: Check that PHP was compiled with IMAP extensions "--with-
imap=/opt/php_with_imap_client/" and "--with-imap-ssl" option.

To do this we need to create a file on your computer named phpinfo.php
Open the file and copy-paste the following information.
<? phpinfo(); ?>

Save the file and FTP this file to your catchall domain.

Now load this file inn your browser and you will see the following information. In our case it
is http://webymail.co.cc/phpinfo.php




We need to check that the imap options appear on the Configure Command section and
whether the IMAP support is enabled. Scroll down the same page and you should see the
following:
If the PHP IMAP extensions are not installed on your host, you should contact your hoster's
support to install them for you or install checkmail.php script on another host.

Q: I get error message "POP3 connection broken in response"

A: Try replacing the following line in your checkmail.php file:

$email_username = 'catchallusername@'.$domain;

with

$email_username = 'catchallusername';

If that won't help, replace the line:

$email_host = 'mail.'.$domain;

with

$email_host = 'localhost';

Q: I'm able to see the e-mails, but LFE does not activate my blogs.

A: Make sure that your checkmail.php script is located in the root of the domain(e.g.
http://example.com/checkmail.php)


Please open a ticket in our forum in case you still face some errors.

						
Related docs