From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46615 Path: main.gmane.org!not-for-mail From: Micha Wiedenmann Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail: MAIL FROM and `gnus-posting-styles' Date: 19 Sep 2002 16:25:36 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87r8fq18bs.fsf@ID-56226.news.dfncis.de> References: <874rcprohi.fsf@ID-56226.news.dfncis.de> Reply-To: Micha Wiedenmann NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1032445343 16221 127.0.0.1 (19 Sep 2002 14:22:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 14:22:23 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17s2CD-0004DS-00 for ; Thu, 19 Sep 2002 16:22:22 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17s2Be-0002L3-00; Thu, 19 Sep 2002 09:21:46 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 19 Sep 2002 09:22:23 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA00662 for ; Thu, 19 Sep 2002 09:22:11 -0500 (CDT) Original-Received: (qmail 21114 invoked by alias); 19 Sep 2002 14:21:18 -0000 Original-Received: (qmail 21109 invoked from network); 19 Sep 2002 14:21:17 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 19 Sep 2002 14:21:17 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17s2pa-0005VO-00 for ; Thu, 19 Sep 2002 17:03:02 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 48 Original-NNTP-Posting-Host: dialin-145-254-175-181.arcor-ip.net Original-X-Trace: quimby.gnus.org 1032447782 21165 145.254.175.181 (19 Sep 2002 15:03:02 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 19 Sep 2002 15:03:02 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46615 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46615 Bjørn Mork writes: >Simon Josefsson writes: >> Micha Wiedenmann writes: >> >>> when sendig a mail composed with `gnus-posting-styles' smtpmail uses >>> `user-mail-address' to determine "MAIL FROM:". Since >>> `gnus-posting-styles' already inserted "From: foo" this is confusing and >>> might be wrong. Is there a way to fix that behavior? >> >> Does it work to set user-mail-address in the posting style too? AFAICS it is not possible to set buffer-local variables from `gnus-posting-styles' but I would need buffer-local `user-mail-addresses' since I use several addresses. Even if this would be possible I don't think this would help since I use `message-send-mail-function' value: `gnus-agent-send-mail'. If I am unplugged mail is stored in nndraft:queue and buffer-local settings would also lost, wouldn't they? I've two ideas: · Why does smtpmail use mail-envelope-from but don't try to determine mail-from from :-) the mail? · Is there a way to make buffer-local variables when the queue is send? >Using > > (address "bmork@dod.no") > >in `gnus-posting-styles' works for me. This seems to change >`user-mail-address' locally. Just setting or editing "From:" does >of course not. Why of course not? I use: ((".*" (name "Micha Wiedenmann") (address "foo@foo.de")) ((my-message-news-reply-p) (address "bar@bar.de"))) TIA, Micha -- Sig lost. Core dumped.