Content-type: text/html Manpage of chkmadd.exp

chkmadd.exp

Section: Networking Tools (1)
Updated: 29 JULY 2004
Index Return to Main Contents

 

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 language) extension. This script is usually invoked by the chkmadd(1) program which determines the respective mail exchanger (MX) for e-mail addresses to be used for REMOTE_HOST. If available, read the chkmadd(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) <http://expect.nist.gov/>, telnet(1), RFC 2821 -- Simple Mail Transfer Protocol (SMTP) <http://www.rfc-editor.org/rfc/rfc2821.txt>

 

BUGS

None known. Please report bugs to <chkmadd.exp@PointedEars.de>.

 

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 Professional, Service Pack 4 [5].

[1] <http://kernel.org/>
[2] <http://knopper.net/knoppix/>
[3] <http://debian.org/>
[4] <http://cygwin.com/>
[5] <http://www.microsoft.com/windows2000/>

 

LEGAL NOTICE

Copyright (c) 2004 Thomas Lahn <mehl@PointedEars.de>

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 MERCHANTABILITY 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 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

[1] <http://www.gnu.org/licenses/licenses.html#GPL>


--
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 <ich-reweb@gmx.net> for puns and other kinds of support, and to Don Libes <libes@nist.gov> for the great expect(1) tool.

 

AVAILABILITY

The author's latest version can be obtained from
<http://PointedEars.de/tools/network/chkmadd/>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT CODES
ENVIRONMENT
FILES
SEE ALSO
BUGS
NOTES
LEGAL NOTICE
CREDITS
AVAILABILITY

This document was created by man2html, using the manual pages.
Time: 13:28:04 GMT, June 23, 2008