bzr commit e-mail fails with bzr 2.4.x and 2.5.x on Fedora Core 14

Gaiseric Vandal gaiseric.vandal at gmail.com
Mon May 14 20:19:04 UTC 2012


I am running Fedora Core 14 (X64.) I have uninstalled bzr 2.2.x
packages. I have installed bzr 2.5.0 and bzr 2.5.0 from source I have
also tried with bzr 2.6.B1 and bzr 2.4.2 + bzr plugins 2.4.1 .

I want to enable commit e-mails. I have been trying to get this to work
over the network (bzr+ssh or sftp) but with out luck. I have therefore
created a local repository on my computer.

                   /home/myname/bzr/localrepo/localrepo1

which I have now checked out to

                   /home/myname/bzr/workspace/localrepo1

I made sure that /usr/bin/mail exists (actually a sym link to /bin/mail.)

My /home/myname/.bazaar/bazaar.conf file looks like:

[DEFAULT]
email = myname at company.com
editor = /usr/bin/gedit
#post_commit_push_pull = True
post_commit_to=myname at company.com
post_commit_url=/home/myname/bzr/localrepo/localrepo1
post_commit_sender=myname at company.com
post_commit_mailer=smtplib
smtp_server= mail.company.com:25
#smtp_username =

I commit changes but never get any e-mail.

I have tried with an without a "post_commit_url" parameter. My
understanding is that "post_commit_to" is the only absolutely mandatory
parameter..

I have also tried without "post_commit_mailer=smtplib" enabled. My
understanding will be that then "/usr/bin/mail" will be called. I have
verified that mail is working on my PC

e.g.

mail -s "test" -a /home/myname/somefile.txt myname at company.com

python-mailer (which yum installed for smtplib) is installed.

-> bzr version
Bazaar (bzr) 2.4.2
  Python interpreter: /usr/bin/python 2.7.0
  Python standard library: /usr/lib64/python2.7
  Platform: Linux-2.6.35.14-106.fc14.x86_64-x86_64-with-fedora-14-Laughlin
  bzrlib: /usr/lib64/python2.7/site-packages/bzrlib
  Bazaar configuration: /home/myname/.bazaar
  Bazaar log file: /home/myname/.bzr.log

Copyright 2005-2011 Canonical Ltd.
http://bazaar.canonical.com/ <http://bazaar.canonical.com/>

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

->

-> bzr plugins
bash_completion 2.4.2
  Generate a shell function for bash command line completion.

bzrtools 2.4.1
  Various useful commands for working with bzr.

-> bzr selftest email
/usr/lib64/python2.7/site-packages/Crypto/Util/randpool.py:40:
RandomPool_DeprecationWarning: This application uses RandomPool, which
is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken
<http://www.pycrypto.org/randpool-broken>
  RandomPool_DeprecationWarning)
bzr selftest: /usr/bin/bzr
   /usr/lib64/python2.7/site-packages/bzrlib
   bzr-2.4.2 python-2.7.0
Linux-2.6.35.14-106.fc14.x86_64-x86_64-with-fedora-14-Laughlin

----------------------------------------------------------------------
Ran 20 tests in 1.373s

OK
->

Any help is appreciated.

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120514/f1c800af/attachment.html>


More information about the bazaar mailing list