From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Multiple IMAP accounts with Gnus/Message ? Date: Fri, 04 Sep 2020 21:33:30 -0700 Message-ID: References: <877dtajvvb.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26536"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 06:49:03 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEQ8N-0006mm-Cj for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 06:49:03 +0200 Original-Received: from localhost ([::1]:37052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEQ8M-0003lk-8n for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 00:49:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEQ83-0003lW-2b for help-gnu-emacs@gnu.org; Sat, 05 Sep 2020 00:48:43 -0400 Original-Received: from mail-oln040092004092.outbound.protection.outlook.com ([40.92.4.92]:24967 helo=NAM02-CY1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEQ80-0002Of-7b for help-gnu-emacs@gnu.org; Sat, 05 Sep 2020 00:48:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PRnrddz89N/G41qjx3N4V1BJqT3sZZuPRJNLDNkKKVbB37p6fDe6uC82A2GnpvR9sejkWLfSQM8Zl8KFLYiPbXXXqI57H8VUH/mZyajmNqpmrr1qtuTYC2avypO7N1/ajhXLN2DgEZLprRXwnXAXABCTz12PZSJJnurRwxdqN87LCukEcx3SF9WaZ+lDD0eeJZ3WQjTNS9ZdKoVSvHHNzPgW+aAO8uCFcOA9LjZo5DxOG24P9vz4cDvifBO3dE3+SawyBTKvtHfMKexSr+oOXaKQXY0aFMJ5a7F+x/PAgdRveMUw4Mrx8bsXZcbW4kmznZIaQQhEZoV3O8qHV7ulrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DwgtI/gn91gC1Je13uLg69ORkzn+0sXNZyRQaVeZisg=; b=TVE+w8H2sIs8SFMT0xxC/200LU6o3evMmLlhJb3gUH3/uLcpF+fGnBJfX0+dRjGN4cbObsjTDj6GuneHZn/wZAEoBFZPUdp5NmzgYdQeRd1fBZKJuUodb6pPkJjQaTgiMFEjF+bEuGoJJihzSLcPIFvfyLjPBOEEU8Ew0CWzOpT70trYsZskgm+L2kZVFHO2gWcXm+CA2E5Xg8Q5ZBzuWEFgpNX2laau25Nkzx+ZCvD+WdThJLpqdpoK96LWf+5Dlvk3HmfxrdZMyLtiCzNa9h0a2oSHxEmVJCtbsvuCmON4FsIQRaPLtt3OdtvCGABfyNv96wKl0JT6PnDUovdAgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DwgtI/gn91gC1Je13uLg69ORkzn+0sXNZyRQaVeZisg=; b=tw90f4Ox+fSHPwiYlMLEuAJ1KM9aIdrMcz5gKkjMBWbBkQ27/H9An9mo6zSfYw/OxJm0k8fExv1Tz/maJpqGdePpst75u2LYR8NlDzb1tF7n5goVNG5nBZJ+HrpOochKz34MKo8nUnV5tqQNNpH+Bn30EZGXtnetPX31EPC9MkQcI3TtOOzWRX6LMY4ekuX6Mn2YXPR5bxg6y03cOJidMGbXZwnCau6Azi3OhBIbTcsJYBUqxGEr+/3hvGhayvABg6Eb68JfUNoX90tmvQPh92uZvd5jmngZsAtmSk4h7Rkr+nz9QpxaoQGzLxn+KcUSzuoMTypT0hHhnqKY0KRh8w== Original-Received: from CY1NAM02FT040.eop-nam02.prod.protection.outlook.com (10.152.74.54) by CY1NAM02HT100.eop-nam02.prod.protection.outlook.com (10.152.74.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.17; Sat, 5 Sep 2020 04:33:33 +0000 Original-Received: from SN6PR01MB4493.prod.exchangelabs.com (2a01:111:e400:7e45::51) by CY1NAM02FT040.mail.protection.outlook.com (2a01:111:e400:7e45::391) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.17 via Frontend Transport; Sat, 5 Sep 2020 04:33:33 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:5A25AC76F1097B8006193ABBE0D54876DD300827AC287E530466733FBACBA736; UpperCasedChecksum:3DBC3CB948635EFB841AE9B5D9B89408CF4876E7EDABFE63065F0FEA48F2CF28; SizeAsReceived:7646; Count:47 Original-Received: from SN6PR01MB4493.prod.exchangelabs.com ([fe80::e9e0:fc48:a05:7c59]) by SN6PR01MB4493.prod.exchangelabs.com ([fe80::e9e0:fc48:a05:7c59%7]) with mapi id 15.20.3326.025; Sat, 5 Sep 2020 04:33:33 +0000 In-Reply-To: <877dtajvvb.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 03 Sep 2020 16:14:48 -0700") X-ClientProxiedBy: BYAPR21CA0026.namprd21.prod.outlook.com (2603:10b6:a03:114::36) To SN6PR01MB4493.prod.exchangelabs.com (2603:10b6:805:ef::28) X-Microsoft-Original-Message-ID: <87363wx2p1.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from penguin (2600:8802:500:419:216:3eff:fee7:3d5d) by BYAPR21CA0026.namprd21.prod.outlook.com (2603:10b6:a03:114::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.1 via Frontend Transport; Sat, 5 Sep 2020 04:33:32 +0000 X-Microsoft-Original-Message-ID: <87363wx2p1.fsf@outlook.com> X-TMN: [rgkQjeXvh/xl2N44N8CWc/8o5//Yb2VfyZwafABhjZEd4pv3syYAUolXbhUCJK7a] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 260d1e9c-b5c5-48c0-efd8-08d85154d8b7 X-MS-TrafficTypeDiagnostic: CY1NAM02HT100: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SBfKW3pTap8fA7Pp2ZWmdIMdHrKKzYNtwCbt6PagyOIsuPNX7+rSWX/IxuvmaKgx5q7jM1qMknXTNEjPHhfyRXp/D1bH9/YUopjDvIKTZbHyZIqaQVPHsu+8OscwzcsDLUxdpsy/9kBj2/WmIjonmzS6ZTeIxE1bWjDK6h0LylwQSD1POO8Rwkyo19NZuQJ599cdOLdwjzBmxoHTqdeSsaf9N7haDXKlbrPKTjaI/r6gisj5ax7ebAqTwx/QbIB4 X-MS-Exchange-AntiSpam-MessageData: Dx9VcMcmP+33hf59yDUkDG5+9HMqIVfqo4hUvwNyS2YyU5hiwgQEIlR4TKwcaxB3QAHfECfNhl1KeK4ZBaZdltqggSt7WkORBKSDr4WcUqKtomDtiF52oMBSZ+WgQemwFJqyHZbvSmhUzqT3eUqeng72LMYsGeKHdtE2Ym7xsGz4uWiIRITm83NJQa8sP/4NX9LG9ARkgldaHbbNKsNlzQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 260d1e9c-b5c5-48c0-efd8-08d85154d8b7 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2020 04:33:33.0689 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT040.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT100 Received-SPF: pass client-ip=40.92.4.92; envelope-from=dsmasterson92630@outlook.com; helo=NAM02-CY1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 00:48:38 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123965 Archived-At: Eric Abrahamsen writes: > David Masterson writes: > >> I think I see how to setup reading multiple IMAP accounts with Gnus >> using gnus-secondary-select-methods, but how can I also set it up so >> that email that I send in reply to an email comes from my account on the >> IMAP server that I read the email from? > > I think you probably want "posting-styles". The relevant bits of my > config: > > (setq gnus-posting-styles > '(("NPR" > (address "eric@paper-republic.org") > (gcc "nnimap+NPR:Sent")) > ("CHB" > (address "eric@coalhillbooks.com") > (gcc "nnimap+CHB:Sent")) > ("NEA" > (address "eric@ericabrahamsen.net") > (gcc "nnimap+NEA:Sent")))) > > Then of course you'll want to set the appropriate SMTP server, see here: > > https://www.emacswiki.org/emacs/MultipleSMTPAccounts That looks interesting! I don't think I've seen gnus-posting-styles before. If it is what it looks like, this is definitely something that should be discussed in the Gnus Info pages ((gnus)Top/Select Methods/Using IMAP). Thanks, I'll take a look. -- David Masterson