Use /etc/mailname for default email

Bug #131716 reported by James Y Knight on 2007-08-11
Affects Status Importance Assigned to Milestone
bzr (Debian)

Bug Description

Let's say I have lots of people using bzr in a company. It'd be really nice if I could make bzr automatically use as the domain, without each user having to run bzr whoami. Right now, it does username@hostname-of-users-desktop, which isn't useful.

I'm not sure how standard /etc/mailname is, but it seems like it'd serve this purpose well (that is: if /etc/mailname exists, use it in preference to socket.gethostname() for the default email address domain).

Martin Pool (mbp) on 2007-08-12
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
James Y Knight (foom) wrote :

I noticed this was discussed (with trivial patch attached) a couple of years ago. It didn't look like there was anyone saying it shouldn't be done, so I guess it just got dropped by mistake.

Jelmer Vernooij (jelmer) on 2011-02-01
tags: added: whoami

It's not exactly the same thing, but fixing this would probably fix bug 616878

Changed in bzr (Debian):
status: Unknown → Confirmed
Martin Pool (mbp) wrote :

Now fixed!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.