##########################
# DEBUGGING INSTRUCTIONS #
##########################

# from a remote host manually connect to the SMTP-Auth enabled server
# and authenticate using AUTH LOGIN:
telnet <this_server> 25
## Note: we disabled CRAM_MD5, so only "AUTH LOGIN PLAIN" should show
#> EHLO rocket
#> AUTH LOGIN
## change to another xterm and decode your username with ``printf "username" | base64 -e''
#> <decoded username>
## change to another xterm and decode your password with ``printf "password" | base64 -e''
#> <decoded password>
#> MAIL FROM: <SENDER>
#> RCPT TO: <RCPT>
#> DATA
#> Subject: this is just a manual test
#> From: <SENDER>
#> To: <RCPT>
#>
#> This is the body!
#> .
#> quit
#
# If you use a windows box for testing: once you have your
# SMTP commands together write them to a file and past them
# into a DOS window whenever you need some testing.
# What I copy and paste into my DOS windows is this:
# telnet 192.168.1.10 25
# EHLO rocket
# AUTH LOGIN
# ZmFrZUB2aXJ0dWFsLmhvbWUubHVrYXNmZWlsZXIuY29t
# dGVzdA==


# If maildrop failes it can be for diffent reasons:
# - the user's home directory is world writable or not owned by the user
# - the authdaemon socket (or its directory) has the wrong permissions
#
# Debugging hints:
# - enable the debugging line ~mailusers/.qmail-maildrop-virtual and have a look at /tmp/maildrop.log
# - sudu -u mailusers /usr/local/bin/maildrop -d "<user>@<virtual_domain>"
# - start mysql from /etc/init.d/mysql.server with an --log=/tmp/mysql.log option
#
# When done debugging:
# - disable the debugging line ~mailusers/.qmail-maildrop-virtual
# - rm /tmp/maildrop.log
# - rm ~mailusers/.bash_history
# - turn off logging for mysql
