[EMAIL PROTECTED] (Suresh Ramasubramanian) writes:
> M-x version
>
> GNU Emacs 21.2.1 (i386--freebsd, X toolkit, Xaw3d scroll bars) of
> 2002-03-24 on mjollnir.outblaze.com
>
> M-x gnus-version
>
> Oort Gnus v0.06
Awesome!
>
> BTW Sriram, you posted a .el to get lost sigs into every mail - got
> that around? And also something to
>
It must be lying around somewhere at home. I will send it to you
later and offlist.
> [1] switch identities for mailing lists (ideally based on the sender or
> some such field)
Gnus uses the concepts of "groups" to split incoming mail into
different folders. You can associate a "posting style" for each such
group, in addition to having a default posting style. An example will
put a lot of things in perspective here (maybe you can get the rest
from the Gnus manual)
Here is an excerpt from my ~/.gnus
;; Tell Gnus to split incoming mail... First is the group name, second
;; is the regexp to control the actual splitting
(setq nnmail-split-methods
'(("LUG-Madras"
"^\\(From\\|To\\|Cc\\):.*ilugc@aero\\.iitm\\.ernet\\.in")
("LDD-Madras" "^Subject:.* \\[penguinlanding\\]")
("LIP" "^List-Id:.*linux-india-programmers\\.lists")
("LIH" "^List-Id:.*linux-india-help\\.lists\\.sourceforge\\.net")
("LIG" "^List-Id:.*linux-india-general\\.lists")
("Default" "")))
;; Have different sigs, from addresses etc for different groups
(setq gnus-posting-styles
'((".*"
(signature-file "~/.signature")
(name mail-user-name)) ; set somewhere in .customs.emacs
("batch"
(name "Naresh Narasimhan")
(address "[EMAIL PROTECTED]"))
("LI."
(name "Karra, Sriram")
(address "[EMAIL PROTECTED]")
(signature
"Life sans X sounds just as bad as life sans SeX."))
))
> [2] Use sendmail -f to set the envelope sender each time
> I have this ... '(message-sendmail-f-is-evil nil) but it doesn't
> really seem to do the job :(
K. I don't really know what "sendmail -f" does :) But a quick
browse of the source did give some pointers. btw, by "doesnt' do the
job", do you mean no address is generated for sendmail -f or is a
wrong address generated there? If the latter, see what the following
return:
M-: (user-login-name) RET
M-: mail-host-address RET
M-: (message-make-fqdn) RET
A combination of these is what is used to construct the argument to
"-f"...
> My mailnews.el is at http://www.hserus.net/mailnews.el fwiw ...
Looks quite functional. Man... this file can do some formatting :)
C-x h C-M-\
--
Life sans X sounds just as bad as life sans SeX.
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help