January 27, 2005

 Auto Notification of messages

Within the server-mode of @Mail, user accounts can specfiy an "Alternate" email-address in the user-profile panel.This field can be used to automatically notify your secondary email-account of a new email-message in @Mail.

(more...)


Filed under: Customization — info @ 7:51 am

 

January 17, 2005

 Uninstalling @Mail for Unix / Linux

Uninstalling the Evaluation version of @Mail can be done
while keeping any email accounts/email that have accumulated
during the evaluation.

Here are the steps:

# /etc/init.d/atmailserver stop

# mv /usr/local/atmail/users /tmp/

# rm -rf /usr/local/atmail/       ( delete old version )

#mkdir /usr/local/atmail/

# mv /tmp/users /usr/local/atmail/users

then, install as normal ( http://support.atmail.com/server-install.html )

Use the same database name ( during the install script ) - existing users/accounts will then still be available.


Filed under: Installation — Andy Grayndler @ 9:01 am

 

January 13, 2005

 SMTP/Exim debug mode

To test verbose mail-delivery and debugging via the Exim SMTP server in @Mail, you can use the following command:

/usr/local/atmail/mailserver/bin/exim -d -v 'user@localdomain.com'
^D ( control D )

This will step through each router in Exim, until the message is delivered or bounced.

This command can be useful for debugging, ( to test why a message cannot be delivered, database connection details, exim router reports, aliases and catch-all delivery )

For a more simple version use the command:

# /usr/local/atmail/mailserver/bin/exim -bt 'username@localdomain.com'

username@localdomain.com
router = spamcheck_router, transport = spamcheck

This will emulate message-delivery and report which router can handle the message. The above message reports the message is accepted within @Mail.

For accounts that do not exist the following is returned:

username@localdomain.com is undeliverable:
Unrouteable address


Filed under: Exim — Ben Duncan @ 3:13 am

 

January 12, 2005

 Linux Commands and Applications

This is a short list of our favourite Linux commands and
applications, and how they can make maintaining and
troubleshooting on your Linux system easier.

- wget

This can be used to download the @Mail software via the command-line:

# wget "http://calacode.com/members/getatmail.pl?func=dl&DownloadID=YOURID"

Where YOURID is your unique DownloadID for the @Mail software.

- telnet

Testing services on the server:

# telnet localhost 25
( testing the SMTP Server )

# telnet localhost 110
( testing the POP3 Server )

# telnet localhost 80
( testing if Apache is active )

These can also be done remotely by changing localhost to the IP Address of the host.

- lynx

The text-based browser:

# lynx http://localdomain/mail/docs/changelog.html

- find

Here is a good one for finding large log files in /usr/local/atmail/mailserver/spool:

# find /usr/local/atmail/mailserver/spool -size +10000

This command returns any file that is over 10MB.

- grep

A handy command for finding text you want in a file:

# cat /usr/local/atmail/webmail/libs/Atmail/Config.pm | grep 'mydomain.com'

Great for working out if your domain is contained in the Config.pm file

- ps

This is a handy command for finding out if something is running on your system:

# ps aux | grep "httpd"

For finding the Apache processes.

For @Mail specific commands and scripts, check out the support documents at:

http://support.atmail.com


Filed under: OS — Andy Grayndler @ 8:03 am

 

January 6, 2005

 Updating UserQuota for all accounts

Since @Mail stores all user data in the mySQL server, it is very easy to create a query to update all accounts.

For example, if you require to increase the user-quota for all user-accounts you can use the following query:

mysql> update Users set UserQuota='124000' where Account is not null;

Where 124000 is the size in kb.

Using the @Mail Webadmin -> Config -> User Defaults panel, the default-quota size can be specified for all new-accounts.


Filed under: Database — Ben Duncan @ 4:16 am