Index: django/conf/global_settings.py
===================================================================
--- django/conf/global_settings.py	(revision 2594)
+++ django/conf/global_settings.py	(working copy)
@@ -86,6 +86,8 @@
 
 # Host for sending e-mail.
 EMAIL_HOST = 'localhost'
+# Port for sending e-mail.  Default is standard SMTP port.
+EMAIL_PORT = 25
 
 # Optional SMTP authentication information for EMAIL_HOST.
 EMAIL_HOST_USER = ''
Index: django/core/mail.py
===================================================================
--- django/core/mail.py	(revision 2594)
+++ django/core/mail.py	(working copy)
@@ -30,7 +30,7 @@
     If auth_user and auth_password are set, they're used to log in.
     """
     try:
-        server = smtplib.SMTP(settings.EMAIL_HOST)
+        server = smtplib.SMTP(settings.EMAIL_HOST, settings.EMAIL_PORT)
         if auth_user and auth_password:
             server.login(auth_user, auth_password)
     except:
