bzr-email 0.11 released

John Arbash Meinel john at arbash-meinel.com
Thu Sep 28 17:12:57 BST 2006


Jari Aalto wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
> 
>> Bob Tanner wrote:
>>> Robert Collins wrote:
>>>> I've released bzr-email 0.11.
>>> I recently have been dragged kicking-n-screaming into the windows
>>> world.  ;-) After 4 days of using visual source safe I'm going to shave my
>>> head, get a lobotomy, and drool on myself for hours on end.
>>>
>>> To save myself I brought over my my favor RCS, bzr, to my XP sysyem, but was
>>> a little surprised to find that the bzr-email plugin is linux(?) specific
>>> (well, requires mail to be installed).
>>>
>>> def _command_line(self):
>>>   return ['mail', '-s', self.subject(), '-a', "From: " +
>>> self.from_address(), self.to()]
>>>
>>> Any reason not to use one of the mail smtp clients written in python?
>>>
>> I think the biggest reason is that you need to configure an smtp server,
>> etc. Typically *Nix machines have a SMTP server always running, but
>> Windows doesn't.
> 
> Not really. Linux machines that are for "end users only" do not need
> to have mail server. These can use various SMTP clients (ssmtp etc.)
> to forward the mail to the ISPs smarthost.

Actually, a lot of cron scripts, etc. expect to be able to email the
user. If only on the local machine. It isn't that they can send outside
of that system, but there is still some sort of mail service running.

> 
> Only minority can run their own mail servers, because ISPs block the
> port 25.
> 
> In addition, dynamic IP hosts are included in IP blacklists and cannot send
> mail directly to the destination - hence the lesser need for SMTP server.
> 

Certainly. I have the bigger problem that I configured my SMTP server to
only forward emails if logged in, which means that I need to somehow
setup a username and password when I want to email outside my localhost.
So right now, I only do 'pqm-submit' from that machine, and not my
desktop or laptop.

> - - 
> 
> A direct SMTP communication is better. The code shoudl look at environment variable 
> SMTPSERVER.
> 
> Jari

Is there already a standard for something like SMTPSERVER? If it is bzr
specific, then it should be BZR_SMTP_SERVER.

And I think the pqm-submit plugin is willing to have the server
configured on a per-branch basis. Certainly the target should be per
branch (so I send messages to the right community). I realize the smtp
server is less likely to change.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060928/cc20f53f/attachment.pgp 


More information about the bazaar mailing list