From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18105 Path: news.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.gnus.user Subject: Sending emails from multiple accounts on same smtp server Date: Tue, 16 Feb 2016 22:53:35 +0530 Message-ID: <87povwzi08.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1455643433 13373 80.91.229.3 (16 Feb 2016 17:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 17:23:53 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Feb 16 18:23:46 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVjLl-0003Gj-HA for gegu-info-gnus-english@m.gmane.org; Tue, 16 Feb 2016 18:23:45 +0100 Original-Received: from localhost ([::1]:48616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVjLk-0000WX-T4 for gegu-info-gnus-english@m.gmane.org; Tue, 16 Feb 2016 12:23:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVjLj-0000WM-61 for info-gnus-english@gnu.org; Tue, 16 Feb 2016 12:23:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVjLf-0003HQ-5Y for info-gnus-english@gnu.org; Tue, 16 Feb 2016 12:23:43 -0500 Original-Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:36646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVjLe-0003HM-UN for info-gnus-english@gnu.org; Tue, 16 Feb 2016 12:23:39 -0500 Original-Received: by mail-pf0-x233.google.com with SMTP id e127so108571299pfe.3 for ; Tue, 16 Feb 2016 09:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-mail-address:date:message-id:user-agent :mime-version:content-type; bh=dQd5X4IJbQSiJ8WtPK7JLzkT/QcBufS5SS667crKPJ0=; b=ZS5NcAeYRp69H1XCo18EQ1PMS51oeDQ7V3P6F5NWxFWMNhhvvEfyvMBKkCTmTHOJby mEM8P5XVPefDVAVMEDneUfN6Rk/MnpdwGzs20m0NtFYKcBLck63i2XeBmLWrGPWIs1DV l8t+yAfMeSgNWqZegLy0aOw1znBImZlPUx3sot6Iydd4eSW+rJD4K58E2MGCDqiRVBzl M2WwAyfHpVtw/FB4b4iSCvNdtjso1OgtT7qTWf2j0o3D5F9Ig44qUYthyAog8/r30qRl da/lv1hctQo8V8Zt9D9CG8JeZGU6dHm+0MAcSeizs0O2EtqP+f6zlTZDxPP4NG+C20pc PxtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:user-mail-address:date :message-id:user-agent:mime-version:content-type; bh=dQd5X4IJbQSiJ8WtPK7JLzkT/QcBufS5SS667crKPJ0=; b=JB2Qhmm6oz3UnPe8x06rnnlENvw9L2pQNI2JvdfQvLcGf6BLPt0niLqGc3DdVXapNq E2v/LLtTOAIwBGlx3g11wRUFqBIK1PWZYJhMgu+uLH17Yzg99O85YgYHwTIU7vxYbqwM 5x8wm+XGFL8tjijcBXDQmyhWbpo3a53obrssubQna5sZPWgYf76qO8+cy/zyhcjCnKRM x4vMIsgoCdRnAZ+KN6v8Vc1L2LdRcsfGM7eRSemamZmZcFhyjMZnIWVcEJLcS1zdPdmS yEUNeHEUrRCa2mxrWf/x5GMLamAWbkwjZmq+NFmQyECwv6wNlsNsFmeNFxcwoz35Mr/X B83w== X-Gm-Message-State: AG10YOQTPwGg0LRvKBu4IiQlBqQtQSkl7gEXOyj3aky7HPaii6UQMfRy9i3HNAFw/Lt/cQ== X-Received: by 10.98.18.201 with SMTP id 70mr32798900pfs.104.1455643417825; Tue, 16 Feb 2016 09:23:37 -0800 (PST) Original-Received: from ADMINIB-L3QQBLP ([122.172.236.174]) by smtp.gmail.com with ESMTPSA id a21sm47141287pfj.40.2016.02.16.09.23.36 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Feb 2016 09:23:37 -0800 (PST) X-Google-Original-From: Sivaram Neelakantan User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.130015 (Ma Gnus v0.15) Emacs/24.4 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::233 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:18105 Archived-At: I have an authinfo file of the following format machine smtp.gmail.com login nsivaramxxxt@gmail.com password xxx port 587 machine smtp.gmail.com login shanxxxxx@gmail.com password xxx port 587 Depending on the group I'm in, I'd like it to use one or the other account. I thought using a setup like (".*python\\.*" (visible . t) (display . all) (posting-style (address "nsivaramxxx@gmail.com") (name "Sivaram Neelakantan") (body "\n\nsivaram\n-- \n") (user-mail-address "nsivaramxxx@gmail.com"))) in posting styles would choose the right smtp id to send from authinfo but it doesn't seem to do that. Sometimes I see one or the other email FROM header depending on which group I entered first Any advice on how to make it choose the right smtp account based on address? and set the appropriate headers? sivaram --