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