Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Posting Styles & Sending Email
       [not found] <mailman.2493.1375665623.12400.info-gnus-english@gnu.org>
@ 2013-08-05  2:09 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-05  2:09 UTC (permalink / raw)
  To: Les Harris; +Cc: info-gnus-english

Les Harris <lharris@gnome.org> writes:

> What's the best way to make sending an email use my mail posting style?

I think something like the following should work.  See the "Posting
Styles" node in the Gnus manual:

(setq gnus-posting-styles

[...]

        (message-mail-p 
         (signature my-mail-signature))


-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
  and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Posting Styles & Sending Email
@ 2013-08-05  1:16 Les Harris
  0 siblings, 0 replies; 2+ messages in thread
From: Les Harris @ 2013-08-05  1:16 UTC (permalink / raw)
  To: info-gnus-english

I've been using Gnus for a while now and there's one thing that I can't
seem to figure out/quash. I use posting styles for the usual reasons and
have one setup using "^nn.+:" to handle the signatures/etc for sending
email.

The only problem I have is the case where I'm not replying to an email
message but composing a new one.  In this case Gnus matches my catchall
default style ".*" which is what I use for general usenet posting and is
not appropriate for my emails.  Furthermore, my SMTP server will not
accept mails from me unless the 'From:' field is a valid email address
associated with my account (which my default style is certainly not on
purpose.)

What's the best way to make sending an email use my mail posting style?
Message mode hook? Am I just using posting styles incorrectly?

Any help appreciated!

-- 
Ceci n'est pas une witty observation.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-05  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.2493.1375665623.12400.info-gnus-english@gnu.org>
2013-08-05  2:09 ` Posting Styles & Sending Email Lars Magne Ingebrigtsen
2013-08-05  1:16 Les Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).