From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 448561938432 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,f1736d7c46cc25e2 X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.152.7.99 with SMTP id i3mr103389laa.9.1419247510555; Mon, 22 Dec 2014 03:25:10 -0800 (PST) X-BeenThere: supmua@googlegroups.com Received: by 10.152.19.130 with SMTP id f2ls1419900lae.21.gmail; Mon, 22 Dec 2014 03:25:10 -0800 (PST) X-Received: by 10.112.40.71 with SMTP id v7mr52427lbk.20.1419247391000; Mon, 22 Dec 2014 03:23:11 -0800 (PST) Return-Path: Received: from mout.web.de (mout.web.de. [212.227.17.12]) by gmr-mx.google.com with ESMTPS id j6si602679wix.1.2014.12.22.03.23.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Dec 2014 03:23:10 -0800 (PST) Received-SPF: pass (google.com: domain of ruthard.baudach@web.de designates 212.227.17.12 as permitted sender) client-ip=212.227.17.12; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ruthard.baudach@web.de designates 212.227.17.12 as permitted sender) smtp.mail=ruthard.baudach@web.de Received: from localhost ([92.74.154.249]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0Lxwme-1XoSL42580-015I1L for ; Mon, 22 Dec 2014 12:23:10 +0100 From: Ruthard Baudach To: supmua Subject: Re: [sup] Best hacks for multiple sent_source folders In-reply-to: References: Date: Mon, 22 Dec 2014 12:23:00 +0100 Message-Id: <1419246610-sup-3120@ruthard-lappi> User-Agent: Sup/0.20.0 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1419247385-585816-12012-7550-1-=" X-Provags-ID: V03:K0:brx+2Co1te+CycyV71w2VrEv9aFcQIh1KQbXjgWdy10w2r6LJIJ WTA3Z6qCHIIj6fCa/A7j1Fy/EKWSIFDmMRhLMihtURcQnWDAJPvh2bKUPVQNSbmF2FEn73F 8QY67/hjIhj6kbkaaYDaMXHBxkb7bPtthsMyXt0O1ZuZL5wyorstgGmyr2hirvX9YmnPSpc RWGskl5NQ9ETjx3GjFAVQ== X-UI-Out-Filterresults: notjunk:1; --=-1419247385-585816-12012-7550-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >=3D=3D Ausz=C3=BCge aus der Nachricht von Matthew Bloch vom 2014-12-21 = 05:17: > Hello sup users, > = > I've nearly got my sup setup ready to replace various other clients. Wh= at's = > everyone's current best advice for filing outgoing email in folders by = > account? i.e. personal email to be filed in ~/mail/Personal/Sent, work = > email to be filed in ~/mail/Work/Sent ? (both synchronised by offlineim= ap = > for me) > = > I can see a few ways to make that happen but nothing too recent. Thanks= ! > = > -- = > Matthew This is an old wish from me, and as far as I know it, it's not possible at the moment. The suppish way to do this would be to automatically add labels to the outgoing mail rather than putting them in folders. I don't know offlineimap, as far as I got it, it synchronizes labels and imap folders, thus completing this task. The place to do this would be in the sendmail hook (or to create an extra, let's say before-send hook for this, so that the sendmail hook needs not to implement mail sending.) Alas, the message object passed to this hook does not contain labels and is not passed back to update anything in sup. I did not manage to change this in a reasonable time, perhaps it would indeed be easier to add a before-send hook to do this. The place to do this would be in lib/sup/modes/edit-message-mode.rb, as far as I found out. So you could either polish up your ruby and look into it and submit a patch, or wait till someone else does it. Best Regards, Ruthard -- = Please sign and encrypt mails! My PGP-Id: 0xAC5AC6C2 --=-1419247385-585816-12012-7550-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJUl/8VAAoJEA852hysWsbCWuIH/05kclge8rtc8CUZqAdWS7db 7hvvCfb2a/M17ZlF/DWGn587pL4gRLDJtTlsBK+Mh+vNBtlFVdK0MHUPEo5SoykW Tuzl30Hf3B/P/iLuYz3ywyoeOCXAnX58z9FyctBRgxwpcpgYe3OTQkjozQ0e7184 j2s/nPn4qy1qToilb0VBJxxp3gn18fpJomZslAk4HD3F5RGJbbEDcews17Z7Ji6j H8nOrg7FcBpympxjGbh5aTgOarvBMTSKP7SmIgTHoejiLMRPO3z+ClI5bTNvbgav mSL+wrwh16Cnn0K+ienpVVnPw7l2lG229Q0xOayMfxflJRmSYindISp1xMMt67A= =/YN5 -----END PGP SIGNATURE----- --=-1419247385-585816-12012-7550-1-=--