Sambar Server Documentation

Mail Server Troubleshooting
Pro Server Only


Telneting to the Mail Server
If you are having problems receiving mail, you can ensure the server is functioning properly by telneting to the Sambar POP3 server to access your mailbox. Using the Windows 95/98/NT telnet application, open a MS-Dos prompt and issuing the following command:

C:\>telnet your-sambar-server 110
(Replace your-sambr-sevrer with the name of the machine on which the Sambar Mail Server is running.)

  • You should connect and see a line beginning with +OK Sambar POP3 Server.
  • Type: USER username (replace with username with your account name) and hit enter. You should then see a +OK message.
  • Type: PASS password and hit enter.
  • If the mailbox is functioning you will see another +OK message. If not, you will receive an error beginning with -ERR.
  • The most common error is -ERR Login incorrect. This error indicates that the username/password provided is invalid.
  • Type: QUERY to exit the mailbox.

Available POP3 Commands via telnet:

Command Description
LIST Displays each message with its number (#) and file size.
DELE # Deletes the mail item specified (# is the message number). Make sure to type quit after finishing the delete command(s).
RETR # Displays the message across the screen without stopping.
TOP # lines Displays the number of lines specified from the mail message.
QUIT Closes the Telnet session.

Troubleshooting Download Problems
If you have difficulty downloading mail, but can send mail successfully:

  • Verify your email settings are correct (your POP server, POP username and login password must be correctly listed in your mail client).
  • Test your mailbox by following the telnet procedures. If telnet confirms the mailbox is functioning there may a single message causing a download failure as listed in the telnet instructions. You can use the WebMail interface for purging the troublesome mail message.

If you are can't send email, but can downloaded mail successfully:

  • Verify your email settings are correct (the SMTP server and email address).
  • Send a message to your email address as a test. Make sure to type the full email address in the correct location of the message window.
  • If the Reply To or Email Address setting has an invalid domain name, mail will fail to be sent if the SMTP server is verifying "From" users.

Troubleshooting SMTP Problems

To test that the SMTP Daemon is properly configured you can use the mailit.exe utility to test that the server is properly configured.

On the same machine that the Sambar Server is running open a DOS command prompt window and change directories (cd) to the directory in which the Sambar Server is installed. Then run the following two commands:

> mailit.exe mail.myisp.com myemail@myisp.com myemail@myisp.com "test 1" "test message"

> mailit.exe localhost myemail@myisp.com myemail@myisp.com "test 2" "test message"

Replace mail.myisp.com with your ISP's mail SMTP Server (this SMTP must be configured config.ini file). Replace myemail@myisp.com with your email address.

The first command will confirm that the machine can connect to your ISPs mail server and send messages out. The second command should result in a second message being sent, this one via the Sambar SMTP Server. Any error messages or configuration problems should be displayed in the command window.

© 1998 Sambar Technologies. All rights reserved. Terms of Use.