Activity log for bug #372800

Date Who What changed Old value New value Message
2009-05-06 17:07:29 Amit Saha bug added bug
2009-05-06 17:13:01 Amit Saha description SMTP authentication on post commit email hook fails when the port number is given along with the SMTP server. When the port number is removed, it work fine. Related: https://bugs.launchpad.net/bzr-email/+bug/264710 and https://bugs.launchpad.net/bzr/+bug/150860 SMTP authentication on post commit email hook fails when the port number is given along with the SMTP server in 'bazaar.conf'. When the port number is removed, it work fine. Related: https://bugs.launchpad.net/bzr-email/+bug/264710 and https://bugs.launchpad.net/bzr/+bug/150860
2009-05-06 17:29:39 Vincent Ladeuil bzr: status New Confirmed
2009-05-07 12:39:10 Amit Saha bzr: status Confirmed In Progress
2009-05-07 12:39:10 Amit Saha bzr: assignee Cornucopic (cornucopic)
2009-05-07 17:33:21 Amit Saha summary Wrong behavior of SMTP authentication when port is specified Wrong behavior of SMTP authentication on during post commit email
2009-05-07 17:33:21 Amit Saha description SMTP authentication on post commit email hook fails when the port number is given along with the SMTP server in 'bazaar.conf'. When the port number is removed, it work fine. Related: https://bugs.launchpad.net/bzr-email/+bug/264710 and https://bugs.launchpad.net/bzr/+bug/150860 When the password is not specified in authentication.conf (which implies it is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails when the SMTP port number is given in only one of 'bazaar.conf' or 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , *Do Not* fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only *one* of the two files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage.
2009-05-07 17:35:51 Amit Saha summary Wrong behavior of SMTP authentication on during post commit email Wrong behavior of SMTP authentication during post commit email
2009-05-07 17:45:10 Amit Saha description When the password is not specified in authentication.conf (which implies it is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails when the SMTP port number is given in only one of 'bazaar.conf' or 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , *Do Not* fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only *one* of the two files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage. When the password is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails when the SMTP port number is given in only one of 'bazaar.conf' or 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , you may or may not fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only *one* of the two files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage.
2009-05-07 20:37:59 Amit Saha description When the password is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails when the SMTP port number is given in only one of 'bazaar.conf' or 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , you may or may not fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only *one* of the two files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage. When the password is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails when the SMTP port number is given in only 'bazaar.conf' and not 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , you may or may not fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only the bazaar.conf files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage.
2009-05-09 15:39:19 Amit Saha description When the password is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails when the SMTP port number is given in only 'bazaar.conf' and not 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , you may or may not fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only the bazaar.conf files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage. When the password is not specified in 'bazaar.conf'), SMTP authentication on post commit email hook fails (the password is not asked for) when the SMTP port number is given in only 'bazaar.conf' and not 'authentication.conf' along with the SMTP server (like server:port). When the port number is given in both, or removed from both, it works fine. This happens even when the remote SMTP port is the default. How to reproduce: 1. Start with a 'bazaar.conf' without smtp_user and smtp_password. For eg: <code> [DEFAULT] email = Amit Saha <Amit.Saha@foo.com> post_commit_mailer=smtplib smtp_server=mail-foo.com:25 </code> 2. In the 'authentication.conf' , you may or may not fill in the password field. For eg. <code> [mymail] scheme=smtp host=mail-foo.com user=Amit </code> 3. Give the port number in only the bazaar.conf files along with the SMTP server address, like 'mail.com:52' (You will need to have a post-commit email hook installed) Doing a commit will throw up: "bzr: ERROR: SMTP error: 530 5.7.0 No AUTH command has been given" during the email sending stage.
2009-06-19 09:32:11 Martin Pool bzr: importance Undecided Medium
2009-06-19 12:48:02 Vincent Ladeuil bzr: status In Progress Invalid