Simple scripts for easy mail delivery testing

telnet 81.0.212.153 25 <<EOF
ehlo eco.informica.cz
mail from:<dast@panelnet.cz>
rcpt to:<podpora@webdomena.cz>
data
Subject: testik

x
.
quit
EOF
telnet 81.0.212.153 110 
Trying 81.0.212.153...
Connected to 81.0.212.153.
Escape character is '^]'.
+OK Dovecot ready.
USER a@b.c
+OK
PASS a
+OK Logged in.
list
+OK 0 messages:
 .
quit
+OK Logging out.

simple spam:

ehlo panelnet.cz 
mail from:<dast@panelnet.cz>
rcpt to:<tuzka@kreslitko.cz>
data
Subject: Test spam mail (GTUBE)
Message-ID: <GTUBE1.1010101@example.net>
Date: Wed, 23 Jul 2003 23:30:00 +0200
From: Sender <sender@example.net>
To: Recipient <recipient@example.net>
Precedence: junk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is the GTUBE, the
	Generic
	Test for
	Unsolicited
	Bulk
	Email

If your spam filter supports it, the GTUBE provides a test by which you
can verify that the filter is installed correctly and is detecting incoming
spam. You can send yourself a test mail containing the following string of
characters (in upper case and with no white spaces and line breaks):

XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

You should send this test mail from an account outside of your network.

.

Creating temporary user in database insert into mailbox values('a@b.c', encrypt('a'), 'a', '/var/mail/virtual/webdomena.cz/podpora/', 209715200, 'webdomena.cz', now(), now(),1, 1001, 1001);

SSL version of POP3/IMAP

 openssl s_client -connect  81.0.212.153:993