CVS: tmda/contrib ChangeLog,1.101,1.102 smtp-check-sender,1.2,1.3

"Jason R. Mastaler" <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/contrib
In directory sc8-pr-cvs1:/tmp/cvs-serv30942

Modified Files:
	ChangeLog smtp-check-sender 
Log Message:
Bugfix. Change the default probe address to <> instead of
[email protected].  <> is what most MTAs (e.g, Exim) use for their
address verification feature.  The comments now recommend the
user either stick with <> or use a valid address to probe with.

[email protected] was a bad choice because some sites refuse mail from
example.com since this domain (intended for example usage only) is
often exploited by spammers.  In smtp-check-sender, this can result
in a false negative since the probe might return a 5XX even for a
valid address if the MX refuses mail from example.com.  The following
traceback illustrates:

justine:/tmp> echo | smtp-check-sender [email protected]
send: 'helo justine.libertine.org\r\n'
reply: '250 jimsun.LinxNet.com\r\n'
reply: retcode (250); Msg: jimsun.LinxNet.com
send: 'mail from: <[email protected]>\r\n'
reply: '250 Ok\r\n'
reply: retcode (250); Msg: Ok
send: 'rcpt to: <[email protected]>\r\n'
reply: '554 Service unavailable; Sender address [[email protected]] blocked using spamdomains.blackholes.easynet.nl; For testing purposes only - 127.0.0.2 block record\r\n'
reply: retcode (554); Msg: Service unavailable; Sender address [[email protected]] blocked using spamdomains.blackholes.easynet.nl; For testing purposes only - 127.0.0.2 block record
send: 'quit\r\n'
reply: '221 Bye\r\n'
reply: retcode (221); Msg: Bye
BAD sender



Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/ChangeLog,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- ChangeLog	31 Jul 2003 20:09:32 -0000	1.101
+++ ChangeLog	1 Oct 2003 22:28:38 -0000	1.102
@@ -1,3 +1,8 @@
+2003-10-01  Jason R. Mastaler  <[email protected]>
+
+	* smtp-check-sender (data): Change the default probe address to
+	the empty envelope sender <>.
+	
 2003-07-31  Tim Legant  <[email protected]>
 
 	* vmailmgr-vdir.sh: Apparently the listvdomain program doesn't

Index: smtp-check-sender
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/smtp-check-sender,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- smtp-check-sender	26 Aug 2003 20:03:47 -0000	1.2
+++ smtp-check-sender	1 Oct 2003 22:28:39 -0000	1.3
@@ -76,7 +76,11 @@
 if len(sys.argv) < 2:
     sys.exit(1)
 
-mail_from_address = '[email protected]'
+# Make sure you either take the default of '' (meaning probe with an
+# empty envelope sender <>), or use a valid address for this variable,
+# otherwise you risk losing mail.
+mail_from_address = ''
+
 address_to_verify = sys.argv[1]
 verify_hostname = address_to_verify.split('@', 1)[1]
 

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.