If you want to restrict WebAdmin access to specified IP addresses, you can do the following:
- open up your httpd.conf file (commonly in /etc/httpd/conf/httpd.conf)
- add the following line at the bottom:
Options ExecCGI
AllowOverride All
Order deny,allow
Deny from all
Allow from yourdomain.com
- replace yourdomain.com with the IP/domain you want to allow.
- restart Apache:
# /etc/init.d/httpd restart
The IP/host you specified will now have exclusive access to the WebAdmin.
When you install MySQL for @Mail, and you get the following error when starting the MySQL service:
/usr/sbin/mysqld: Can't read dir of '/root/tmp/'
This basically means that your systems $TMPDIR definition is set to the root directory. To fix, just do the following:
% export TMPDIR=/tmp/
This will then set the TMPDIR to the appropriate directory. Afterwards, try restarting [mysqld] again.
When you recieve the following (or something similar) when installing @Mail:
libmysqlclient.so.12: cannot open shared object file: No such file or directory
This basically means that yur system, or compiler cannot find the appropriate library it is referring to. So, you can do either of the following:
1.) If the file does not exist in your filesystem, install the appropriate packages (MySQL-client-4.1.7.rpm, in this case):
% rpm -Uvh MySQL-client-4.1.7.rpm
2.) If the file exists, create a symlink from the file to your /usr/lib directory:
% ln -s /usr/lib/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so.12
3.) Alternatively, add the path to the library in your /etc/ld.so.conf file. Then, run ldconfig:
% ldconfig -v
Afterwards, try reinstalling @Mail.
When building Exim on a HP-UX system, and you recieve the following error:
>/usr/ccs/bin/ld: Unsatisfied symbols:
> libiconv (first referenced in java/parse.o) (code)
> libiconv_open (first referenced in java/parse.o) (code)
> libiconv_close (first referenced in java/parse.o) (code)
>collect2: ld returned 1 exit status
This basically means that your GCC installation is using the HP-UX native conv library, which then collides with the GCC iconv.h file.
This is easy to fix though. Just do the following:
- open up /usr/local/atmail/webmail/libs/src/exim-4.43/Local/Makefile
- add the following:
HAVE_ICONV=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv
(Where /usr/local/include and /usr/local/lib equate to your GCC paths)
- try to build Exim again:
% make
% make install
This should then build your Exim installation properly, sans errors.
Question:
How do I enable @Mail to always show the start-page when users login via the Advanced interface? I would like the quota to be displayed by default when users login.
Answer:
A simple modification can be made, edit the webmail/atmail.php file, locate the code:
if ($atmail->StartPage)
$var['startpage'] = "html/$atmail->Language/{$var['logintype']}/emailframe.html";
else
$var['startpage'] = "html/$atmail->Language/{$var['logintype']}/startframe.html";
Replace with:
$var['startpage'] = "html/$atmail->Language/{$var['logintype']}/emailframe.html";
-
Sometimes, ClamAV will have a new version out, and will completely discard support for older versions. At these instances, you will need to update your ClamAV software.Need:
- a backup of your clamav.conf and freshclam.conf file;
- zlib-devel, or libz-devel libraries;
- a post-2.95 version of GCC;
(more...)