From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 711332986880 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,9d79e4000effd05b X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.112.162.135 with SMTP id ya7mr11222525lbb.14.1428015594541; Thu, 02 Apr 2015 15:59:54 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.180.102.41 with SMTP id fl9ls20086wib.13.gmail; Thu, 02 Apr 2015 15:59:54 -0700 (PDT) X-Received: by 10.180.86.66 with SMTP id n2mr1236403wiz.0.1428015594026; Thu, 02 Apr 2015 15:59:54 -0700 (PDT) Return-Path: Received: from gohan.masterkorp.net (static.85-10-196-211.clients.your-server.de. [85.10.196.211]) by gmr-mx.google.com with ESMTP id o3si7004wib.2.2015.04.02.15.59.53 for ; Thu, 02 Apr 2015 15:59:53 -0700 (PDT) Received-SPF: none (google.com: masterkorp@masterkorp.net does not designate permitted sender hosts) client-ip=85.10.196.211; Authentication-Results: gmr-mx.google.com; spf=none (google.com: masterkorp@masterkorp.net does not designate permitted sender hosts) smtp.mail=masterkorp@masterkorp.net Received: by gohan.masterkorp.net (Postfix, from userid 1000) id A14DF980421; Fri, 3 Apr 2015 00:59:53 +0200 (CEST) Content-Type: text/plain; charset=UTF-8 From: Alfredo Palhares To: supmua Subject: Re: [sup] Sign all emails by default In-reply-to: <1427910254-sup-359@kpad> References: <1427899057-sup-9268@vegeta> <1427910254-sup-359@kpad> Date: Thu, 02 Apr 2015 23:59:52 +0100 Message-Id: <1428015512-sup-4107@vegeta> User-Agent: Sup/0.21.0 Content-Transfer-Encoding: 8bit Hello Mathieu, > $ cat /path/to/hooks/crypto-mode.rb > crypto_selector.set_to(:sign) if crypto_selector.can_set_to?(:sign) > > This automatically selects the :sign if it is possible. Thanks ! this was what I was looking for. -- Alfredo Palhares GPG/PGP Key Fingerprint 68FC B06A 6C22 8B9B F110 38D6 E8F7 4D1F 0763 CAAD