* Getting rid of the Fcc: field, and other compose problems.
@ 2011-09-08 9:55 G Philip
2011-09-08 16:45 ` Ian Zimmerman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: G Philip @ 2011-09-08 9:55 UTC (permalink / raw)
To: info-gnus-english
Hi,
I am a new Gnus user. I have set up Gnus to work with Gmail using
offlineimap. Whenever I try to compose a message (or reply to a
message), I get the following problems:
1. The "Fcc:" field is populated with a non-existant directory, and I am
prompted whether I want to create this maildir. Since I don't want to
save a local copy of the sent message (because Gmail SMTP and IMAP will
get it for me anyway), I have to always say "no" before proceeding. This
is a nuisance when it happens every time.
2. The "From:" field is populated by a junk email id, constructed from
my username on the local machine and the local machine's hostname. I
have to edit this field also every time so that it is my proper email
address.
Since I use a couple of email addresses with my gmail account,
I have tried the following in my .gnus file to get this field to use the
"To:" address of the email to which I am replying:
;; Reply using the same address as to which the original was addressed.
(setq message-alternative-emails
(regexp-opt '("myfirstaddress@gmail.com"
"myotheraddress@gmail.com")))
;; (setq gnus-posting-styles
'(((header "to" "myfirstaddress@gmail.com")
(address "myfirstaddress@gmail.com"))
((header "to" "myotheraddress@gmail.com")
(address "myotheraddress@gmail.com"))))
But neither of these works.
Could you help me with these?
Thanks and regards,
Philip
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting rid of the Fcc: field, and other compose problems.
2011-09-08 9:55 Getting rid of the Fcc: field, and other compose problems G Philip
@ 2011-09-08 16:45 ` Ian Zimmerman
2011-09-12 21:37 ` Thorsten
2012-10-18 6:44 ` Jarmo Hurri
2 siblings, 0 replies; 4+ messages in thread
From: Ian Zimmerman @ 2011-09-08 16:45 UTC (permalink / raw)
To: info-gnus-english
Philip> 2. The "From:" field is populated by a junk email id,
Philip> constructed from my username on the local machine and the local
Philip> machine's hostname. I have to edit this field also every time so
Philip> that it is my proper email address.
Customize user-mail-address
HTH,
--
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting rid of the Fcc: field, and other compose problems.
2011-09-08 9:55 Getting rid of the Fcc: field, and other compose problems G Philip
2011-09-08 16:45 ` Ian Zimmerman
@ 2011-09-12 21:37 ` Thorsten
2012-10-18 6:44 ` Jarmo Hurri
2 siblings, 0 replies; 4+ messages in thread
From: Thorsten @ 2011-09-12 21:37 UTC (permalink / raw)
To: info-gnus-english
Hi Philip,
I send you excerpts from my .gnus file, maybe you find something
helpfull in it. There are a few links in it that have more information.
Cheers
Thorsten
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; GNUS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; konfiguration von http://www.geier0815.de/
; lesen: newsserver festlegen
(setq gnus-select-method ' (nntp "news.xyz.de"))
;; ; schreiben: email-client einrichten
(setq message-sendmail-envelope-from 'header)
(setq user-mail-address "m1@googlemail.com")
(setq user-full-name "name")
;; ; mails empfangen
(setenv "MAILHOST" "imap.gmail.com")
; Dreier Teilung des Fensters bei Gnus
(gnus-add-configuration '(article (horizontal 1.0 (vertical 65 (group 1.0) ) (vertical 1.0 (summary 0.15 point) (article 1.0) ))))
(gnus-add-configuration '(summary (horizontal 1.0 (vertical 65 (group 1.0) ) (vertical 1.0 (summary 1.0 point) ))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; http://www.emacswiki.org/emacs/GnusGmail
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Configuration
;; Accessing Gmail via Imap
;; Firstly, don’t forget to enable IMAP in your Gmail account (settings->
;; forwarding POP/IMAP).
;; ------------------------------
;; from http://cataclysmicmutation.com/2010/11/multiple-gmail-accounts-in-gnus/
;; Getting authinfo to work with multiple Gmail accounts
;; see /etc/hosts for gmail-aliasX.com
(setq gnus-secondary-select-methods
'((nnimap "m1"
(nnimap-address "imap.gmail-alias1.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authinfo-file "~/.authinfo"))
(nnimap "m2"
(nnimap-address "imap.gmail-alias2.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authinfo-file "~/.authinfo"))
(nnimap "m3"
(nnimap-address "imap.gmail-alias3.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authinfo-file "~/.authinfo"))
(nnimap "m4"
(nnimap-address "imap.gmail-alias4.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authinfo-file "~/.authinfo"))))
;; Setting up Multiple SMTP Servers
;; see ~/.msmtprc
; Setting behaviors per Mailbox
(setq gnus-parameters
'(
("nnimap\\+m1:INBOX"
(display . all)
(posting-style
(name "name")
(address "m1@gmail.com")
;(organization "m1")
(eval (setq message-sendmail-extra-arguments '("-a" "m1")))
;(signature-file "~/.signature-m1")
)
)
("nnimap\\+m2:INBOX"
(display . all)
(posting-style
(name "name")
(address "m2@googlemail.com")
(eval (setq message-sendmail-extra-arguments '("-a" "m2")))
;(signature-file "~/.signature-m2")
)
)
("nnimap\\+m3:INBOX"
(display . all)
(posting-style
(name "name")
(address "m3@googlemail.com")
(eval (setq message-sendmail-extra-arguments '("-a" "m3")))
;(signature-file "~/.signature-name")
)
)
("nnimap\\+m4:INBOX"
(display . all)
(posting-style
(name "name")
(address "m4@googlemail.com")
(organization "name")
(eval (setq message-sendmail-extra-arguments '("-a" "m4")))
;(signature-file "~/.signature-m4")
)
)
))
;;; a few global settings
(setq message-send-mail-function 'message-send-mail-with-sendmail)
(setq sendmail-program "/usr/bin/msmtp")
(setq message-sendmail-extra-arguments '("-a" "name"))
(setq gnus-permanently-visible-groups ".*")
;; Fixing the Naming Problem
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
;; ------------------------------
G Philip <gphilip@india.com> writes:
> Hi,
>
> I am a new Gnus user. I have set up Gnus to work with Gmail using
> offlineimap. Whenever I try to compose a message (or reply to a
> message), I get the following problems:
>
> 1. The "Fcc:" field is populated with a non-existant directory, and I am
> prompted whether I want to create this maildir. Since I don't want to
> save a local copy of the sent message (because Gmail SMTP and IMAP will
> get it for me anyway), I have to always say "no" before proceeding. This
> is a nuisance when it happens every time.
>
> 2. The "From:" field is populated by a junk email id, constructed from
> my username on the local machine and the local machine's hostname. I
> have to edit this field also every time so that it is my proper email
> address.
>
> Since I use a couple of email addresses with my gmail account,
> I have tried the following in my .gnus file to get this field to use the
> "To:" address of the email to which I am replying:
>
> ;; Reply using the same address as to which the original was addressed.
> (setq message-alternative-emails
> (regexp-opt '("myfirstaddress@gmail.com"
> "myotheraddress@gmail.com")))
>
>
> ;; (setq gnus-posting-styles
> '(((header "to" "myfirstaddress@gmail.com")
> (address "myfirstaddress@gmail.com"))
> ((header "to" "myotheraddress@gmail.com")
> (address "myotheraddress@gmail.com"))))
>
> But neither of these works.
>
> Could you help me with these?
>
> Thanks and regards,
> Philip
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting rid of the Fcc: field, and other compose problems.
2011-09-08 9:55 Getting rid of the Fcc: field, and other compose problems G Philip
2011-09-08 16:45 ` Ian Zimmerman
2011-09-12 21:37 ` Thorsten
@ 2012-10-18 6:44 ` Jarmo Hurri
2 siblings, 0 replies; 4+ messages in thread
From: Jarmo Hurri @ 2012-10-18 6:44 UTC (permalink / raw)
To: info-gnus-english
Greetings.
G Philip <gphilip@india.com> writes:
> 1. The "Fcc:" field is populated with a non-existant directory, and I
> am prompted whether I want to create this maildir. Since I don't want
> to save a local copy of the sent message (because Gmail SMTP and IMAP
> will get it for me anyway), I have to always say "no" before
> proceeding. This is a nuisance when it happens every time.
Not sure if this is still relevant, but I had a similar problem which
was caused by the variable mail-archive-file-name having a value.
--
Jarmo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-18 6:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 9:55 Getting rid of the Fcc: field, and other compose problems G Philip
2011-09-08 16:45 ` Ian Zimmerman
2011-09-12 21:37 ` Thorsten
2012-10-18 6:44 ` Jarmo Hurri
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).