[pacman-dev] Fwd: [PATCH] rankmirrors: Add a --repo option to target a specific repo

Xavier Chantry chantry.xavier at gmail.com
Sat May 15 09:43:37 EDT 2010


On Sat, May 15, 2010 at 3:28 PM, Daenyth Blank <daenyth+arch at gmail.com> wrote:
> On Sat, May 15, 2010 at 09:17, Xavier Chantry <chantry.xavier at gmail.com> wrote:
>> If you mean that you tried git smtp client directly, then try to debug
>> /usr/lib/git-core/git-send-email to see what happens with the + :)
>> Did you try to quote / escape it differently ?
>>
>> Otherwise, try msmtp, it's quite simple to setup, just follow the wiki.
>>
>>
>
> I looked at the code already, and I think it's the gmail server that's
> stripping it and sending it without. I think that you can only use the
> "send as" option from the web interface... If I'm wrong, someone
> please correct me. I'd rather not use msmtp since I don't want to keep
> my password in plaintext on the system.
>
>

I don't get it, from the point of view of smtp, there is just a user
and password, so just use the +arch one as user.

About the password, where do you want to store it ? If you don't want
to store it, you don't have to.
>From man msmtp :

       auth [(on|off|method)]
              This command enables or disables SMTP authentication. You should
              not need to set the method yourself; with the argument on, msmtp
              will choose the best one available for you (see below).
              You  probably  need  to  set a username (with user) and password
              (with password).  If no password is set but one is needed during
              authentication,  msmtp  will try to find it in ~/.netrc. If that
              fails, it will try to find it in SYSCONFDIR/netrc (use --version
              to find out what SYSCONFDIR is on your platform). If that fails,
              it will try to get it from a system specific keychain (if avail‐
              able).  If  that  fails but a controlling terminal is available,
              msmtp will prompt you for it.
              Currently supported keychains are the GNOME keychain and the Mac
              OS X keychain.  See the EXAMPLES section below.

Can you show us how exactly you configured git smtp client and/or
other smtp clients you tried ?


More information about the pacman-dev mailing list