chkmadd.exp(1) Networking Tools chkmadd.exp(1) NAME chkmadd.exp - CHecK Mail ADDress with EXPect SYNOPSIS chkmadd.exp [ -V | REMOTE_HOST EMAIL_ADDRESS [TIMEOUT] ]... DESCRIPTION Verifies EMAIL_ADDRESS by talking SMTP to REMOTE_HOST via telnet(1). Requires the expect(1) scripting language, a Tcl (Tool command lan- guage) extension. This script is usually invoked by the chkmadd(1) pro- gram which determines the respective mail exchanger (MX) for e-mail addresses to be used for REMOTE_HOST. If available, read the chk- madd(1) man page or enter chkmadd for details. OPTIONS -V Display version information and exit. REMOTE_HOST Host name or Internet address of the mail exchanger. EMAIL_ADDRESS E-mail address to be checked. TIMEOUT Number of seconds after a delay is considered a timeout. The default is 10. EXIT CODES 0 Address verification positive or version info successfully retrieved 1 Cannot deliver to this address on this server 2 Unable to verify address 3 Unknown host 255 General error ENVIRONMENT TERM Is set to "vt100" temporarily to prevent telnet(1) from hanging. FILES /usr/bin/expect Default location of the expect(1) program. SEE ALSO expect(1) , telnet(1), RFC 2821 -- Simple Mail Transfer Protocol (SMTP) BUGS None known. Please report bugs to . NOTES Tested with expect(1) version 5.41.0 on GNU/Linux 2.4.25/6 [1] (Knoppix 3.4 [2] and Debian [3] Testing), and version 20030128-1 on Cygwin 1.5.9-1 and 1.5.10(0.116/4/2) [4] on Microsoft Windows 2000 Profes- sional, Service Pack 4 [5]. [1] [2] [3] [4] [5] LEGAL NOTICE Copyright (c) 2004 Thomas Lahn This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License (GPL) for more details. You should have received a copy of the GNU GPL along with this program (COPYING file); if not, go to [1] or write to the Free Software Founda- tion, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. [1] -- Standard shell script disclaimer blurb thing: This script is a hack. It's brute force. It's horrible. It doesn't use Artificial Intelligence. It doesn't use Virtual Reality. It's not perl. It's not python. It probably won't work unchanged on the "other" thousands of unices. But it worksforme. --ramiro (from /usr/local/mozilla/run-mozilla.sh) CREDITS Thanks to Christoph 'Mehdorn' Weber for puns and other kinds of support, and to Don Libes for the great expect(1) tool. AVAILABILITY The author's latest version can be obtained from . chkmadd.exp 0.1.1.2004072917 29 JULY 2004 chkmadd.exp(1)