LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 10-04-2006, 12:10 PM   #1
neilcpp
Member
 
Registered: Jul 2003
Location: England
Distribution: Debian Wheezy, FreeBSD 10.0 anything *nix to get my fix
Posts: 328

Rep: Reputation: Disabled
Angry Gnus - THE newsreader how to configure posting profiles


This is a long shot, but can you help me with setting up posting profiles in Gnus? What I mean is simply so when i post to newsgroup a, my from/sender ID is Mr 1, newsgroup b, Mr 2 etc.

To give a bit more detail - I have two problems to solve with my Gnus program.

Problem 1:
I have in my .gnus file a line similar to this:
'((".*"

(name "cliff barnes")
(organization "Wentworth Oil" ))

However, although a Usenet posting will show the 'from' as 'cliff barnes', when the message is opened to be read, below the 'from' is a field called 'sender' - which actually shows the user name and host name of my pc!!

My question is how can I set this to a null value or even another name - without of course changing my unix user account name.

Problem 2:

I only read / post to 3 newsgroups. I want to maintain 3 different posting profiles for each group I post to. I would be grateful, if you can show me how to do this, by specifying in full- the newsgroup name.

eg

1. alt.music
(name "singer")
(organization "record company"))

2. soc.culture.policy
(name "presidential")
(organization "white house"))

3. rec.arts.games
(name "fun")
(organization "cards"))


Can you show me the right wording to make each of these unique example profiles automatically kick in whenever i post to one of these newsgroups? Ideally, i would like the default "." to work if i posted to any group other than these three.

Am I trying to use posting styles for something its not set up for???
I'm not sure at all
Thanks for reading and any help you can give me.
 
Old 10-18-2006, 04:57 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,541

Rep: Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878
Problem 1:
Code:
(eval-after-load "message"
     '(add-to-list 'message-syntax-checks
                   '(sender . disabled)))
This is the default in Gnus 5.10+

Problem 2:
I think this is exactly what posting styles are for
Code:
(setq gnus-posting-styles 
      '((".*"
         (name "cliff barnes")
         (organization "Wentworth Oil" ))
        ("alt.music"
         (name "singer")
         (organization "record company"))
        ("soc.culture.policy"
         (name "presidential")
         (organization "white house"))
        ("rec.arts.games"
         (name "fun")
         (organization "cards"))))
http://www.emacswiki.org/cgi-bin/emacs-en?CategoryGnus has a lot of stuff about Gnus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I post the message in emacs Gnus? ayiiq180 Linux - Software 3 10-04-2006 12:04 PM
Newsreader Help Cabeza de Huevo Linux - Software 0 07-29-2006 06:30 PM
An imap problem in gnus hrothgar Linux - Software 0 08-21-2004 03:30 AM
how do you email in emacs or gnus arpi Linux - Software 1 06-18-2004 09:57 PM
GNUS email problem nakkaya Linux - Software 0 06-20-2003 03:20 PM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration