You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Samuelson <pe...@p12n.org> on 2010/12/29 20:02:03 UTC

Re: svn commit: r1053645 - /subversion/trunk/tools/po/l10n-report.py

[hwright@apache.org]
> * tools/po/l10n-report.py
>   (main): Use the smtp library for sending mail, rather than shelling out
>     to 'sendmail'.

I know this is a specialty script only run by certain people, but on
the whole, I think the existence of a working 'sendmail -t' is more
common than the existence of a working SMTP server listening on
localhost.

There is the question of the path.  sendmail usually lives in /usr/sbin
these days, but 15 years ago it was in /usr/lib, and neither is in the
default path.  Anyway, I'd think /usr/sbin/sendmail is still more
common than 127.0.0.1 port 25.
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Re: svn commit: r1053645 - /subversion/trunk/tools/po/l10n-report.py

Posted by Hyrum K Wright <hy...@hyrumwright.org>.
On Wed, Dec 29, 2010 at 3:02 PM, Peter Samuelson <pe...@p12n.org> wrote:
>
> [hwright@apache.org]
>> * tools/po/l10n-report.py
>>   (main): Use the smtp library for sending mail, rather than shelling out
>>     to 'sendmail'.
>
> I know this is a specialty script only run by certain people, but on
> the whole, I think the existence of a working 'sendmail -t' is more
> common than the existence of a working SMTP server listening on
> localhost.
>
> There is the question of the path.  sendmail usually lives in /usr/sbin
> these days, but 15 years ago it was in /usr/lib, and neither is in the
> default path.  Anyway, I'd think /usr/sbin/sendmail is still more
> common than 127.0.0.1 port 25.

Possibly.  We could give both a try by attempting to use smtplib and
then falling back to sendmail in the event that doesn't work.

-Hyrum