June 26, 2007

 Multiserver NFS Configuration

If you want the Maildir email message database to be stored on a remote server, the most practical means of doing this is to install it on a remote NFS mount. The webserver can access this mount everytime a user accesses an email; which can distribute the load over multiple servers.

The /usr/local/atmail/tmp/ directory must be shared via NFS. This is required for each frontend to access the single directory storage for attachments and temporary messages.

For this example, we will use the domains webserver.com (as the domain of the webserver) and database.com (for the database server).

First, add the following to the /etc/fstab file of the webserver:

database.com:/usr/local/atmail/users /usr/local/atmail/users nfs rw 0 0
database.com:/usr/local/atmail/tmp /usr/local/atmail/tmp nfs rw 0 0

Then, create an entry in the /etc/exports file of the database-server, which will give read/write permissions for that directory as an NFS mount:

/usr/local/atmail/users webserver.com(rw)
/usr/local/atmail/tmp webserver.com(rw)

Then, on both servers, run the NFS service:

/etc/init.d/nfs restart

Then, mount the NFS drive in your webserver:

mount -t nfs database.com:/usr/local/atmail/users /usr/local/atmail/users nfs

mount -t nfs database.com:/usr/local/atmail/tmp /usr/local/atmail/tmp nfs

You can then run the install.php file of @Mail, which will automatically create the Maildir directory.


Filed under: Multiserver, Linux version — info @ 1:41 am

 

 Session Error in AtMail PHP

During login, you may see a blank screen, or encounter this error:

Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time. in /usr/local/atmail/libs/Atmail/Session.php on line 134

(more...)


Filed under: Interface, PHP version — info @ 1:38 am

 

June 20, 2007

 Migrate Squirrelmail Address Book to @Mail

For those of you moving to @Mail from a SquirrelMail system, welcome and enjoy! To help ease your transition from SquirrelMail here is a simple little script that will import your user's address book entries from your old SquirrelMail database table into @Mail's.Usage is simple, all you need is to have @Mail installed, your previous SquirrelMail database tables intact and your users migrated into @Mail.

(more...)


Filed under: Migration, PHP version — info @ 8:00 am

 

June 8, 2007

 Upgrading from @Mail 5.X to 5.05

This is the fifth patch in the 5.X series of @Mail in PHP, which includes a patch from the previous 5.04 releaseThe upgrade procedure of @Mail has changed, you can upgrade to the 5.05 release from any previous PHP 5.X version. There is no need to do each version upgrade patch in order. The upgrade script will detect which version is installed and upgrade the system accordingly.

(more...)


Filed under: Installation, PHP version — info @ 3:00 pm