Gnus sending speed?

2010-05-06 Thread Ross A. Laird

This has probably been asked and answered many times, but I was not able
to find anything immediately relevant by searching. Here's my challenge:
Gnus opens a STARTTLS connection and sends mails without difficulty, but
each instance of sending takes about 20 or 30 seconds. That's a while to
wait, when in a given email session I might send 20 emails (so, as much
as 10 minutes of waiting overall!).

Some of this delay may be due to my remote IMAP server, which is a bit
slow (I think that Thunderbird hides this slowness by closing the send
window before the mail is fully sent; whereas Gnus just waits). I use a
remote sending server, and a local Dovecot server for downloading mail
with offlineimap, but I don't use the local server for sending -- I've
been told that it's problematic to do so.

I assume that sending through Dovecot would be much faster -- but is
that not going to create problems with online mail services? And, if I
am stuck with the remote IMAP server for sending, is there any way to
speed up Gnus so that it releases the sent mail buffer sooner, or keeps
the IMAP connection open ... or something?

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.com



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus sending speed?

2010-05-06 Thread Ross A. Laird
a...@koldfront.dk (Adam Sjøgren) writes:

 On Thu, 06 May 2010 11:03:36 -0700, Ross wrote:

 Some of this delay may be due to my remote IMAP server

 How do you send email via IMAP? Usually you send email via SMTP.


Sorry not to be clear. Yes, I send using SMTP. My remote server uses the
same designation for sending and receiving, and it uses IMAP, so I tend
to think of it as my IMAP server. For sending I use
mail.rosslaird.com, and for receiving I use mail.rosslaird.com. Same
thing.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.com



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Registry marks?

2009-07-10 Thread Ross A. Laird

I'm having trouble finding out how to use the registry marks. They seem
like an excellent feature, but I am not a programmer, so the few
posts on this list which refer to the registry marks are a little beyond
my skill. Here's what I have so far in my .gnus:

(require 'gnus-registry)
(gnus-registry-initialize)
(setq gnus-registry-marks  
  '((Important
 :char ?i
 :image summary_important)
(Work
 :char ?w
 :image summary_work)
(Personal
 :char ?p
 :image summary_personal)
(To-Do
 :char ?t
 :image summary_todo)
(Later
 :char ?l
 :image summary_later)))


From what I've read, it seems the above is a good start (is it?).
The next bit, it seems, is to get the marks to show up in the summary
buffer, which, from what I've read, involves various steps including this:

,
| gnus-summary-line-format is a variable defined in `gnus.el'.
| Its value is 
| %U%R %10user-date; $%6uS [%6uM] %6k  %B %(%4L: %*%-25,25a%) %s \n
`

... which is beyond me.

Can someone offer a (simple) way forward here?

Thanks.

Ross

-- 
Ross A. Laird, PhD
Chair, Department of Creative Writing
Faculty, Interdisciplinary Expressive Arts
Kwantlen Polytechnic University



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus silently fails to send imap messages when smtp blocked

2008-09-26 Thread Ross A. Laird
Reiner Steib [EMAIL PROTECTED] writes:

 On Fri, Sep 26 2008, Ross Laird wrote:
  Is it possible to have gnus give a similar warning, so that if I
 happen to be somewhere where sending is blocked I will get a message
 about that?

 I'd have suggested to set `message-interactive' to t, but it's default
 is already t:


Well, it looks like I may be stuck with this. But it leads me to my next
question: can I run gnus remotely from a local machine? Tramp can do
this with a few packages, and I'd like to do it with Gnus. The procedure
would look like this (ideally):

Since smtp is blocked on the local machine, I ssh into my remote server.
I run emacs and gnus from there, but (like emacsclient or tramp) I see
the application and run it on my local machine. Is that possible?

Thanks.

Ross



 ,[ f1 v message-interactive RET ]
 | message-interactive is a variable defined in `message.el'.
 | Its value is nil
 | 
 | Documentation:
 | Non-nil means when sending a message wait for and display errors.
 | nil means let mailer mail back a message to report errors.
 `

 Bye, Reiner.
 -- 
,,,
   (o o)
 ---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

-- 
Ross A. Laird, PhD
www.rosslaird.info



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: IMAP sync problem

2008-09-24 Thread Ross A. Laird
William F Hammond [EMAIL PROTECTED] writes:

 [EMAIL PROTECTED] writes:

 I am using gnus with gmail via IMAP. they are working fine but whenever
 i am not at my computer and open a unread message from the web interface
 i can't see that message in my inbox gnus never updates the information.
 is there a way to force gnus to synchronize with imap server?

 If I understand what you are saying, perhaps in the web interface you
 want to mark the message as unread after you have read it there but
 before you attempt to get your mail from the imap server with gnus.

 -- Bill

That's what I do. I have to mark mails as Unread again (either in the
web interface or in Thunderbird) in order for gnus to see them. Or, I
can show the 'old' messages in gnus. I prefer the former method.

Ross


-- 
Ross A. Laird, PhD
www.rosslaird.info



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


How to mark sent messages with asterisk?

2008-09-17 Thread Ross A. Laird

My sent IMAP mail goes into the Sent folder on the remote IMAP server.
It shows as unread mail in that folder. I'm not too savvy about how gnus
expires emails, so I tend to mark everything (sent, archived, etc.) with an
asterisk so that it won't be expired. So I suppose I have two questions:

1. Does sent IMAP mail in a remote IMAP folder get expunged by the gnus
expunge routines?

2. How can I automatically mark the sent emails with an asterisk so that
they are not expunged in any event?

Thanks in advance.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info







___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus seems to not notice some emails

2008-01-30 Thread Ross A. Laird
I thought I'd reply to my own post since no one seems to be able to help
with my particular problem. I have, in fact, narrowed it down a bit:
it's the agent. Somehow this problem is related to two circumstances:

IF I do not use gnus for some period of time (perhaps longer than the
expiry time, but I have no idea);

AND I return to using gnus later (say, a month later);

THEN gnus exhibits the failure-to-notice problem.

I discovered that it was not only new messages that gnus was failing to
notice; it was also all messages (read and unread) that had moved
through the mail account since the last time I had used gnus. So,
somehow gnus is deciding to ignore everything after a certain date and
ignore everything new as well -- but only when I stop using it (and
this has typically been because I encountered a similar problem, or
because some fancy new version of mutt or Thunderbird arrived, and I
wanted to experiment).

I deleted all data that seemed relevant in the agent folder and now gnus works
perfectly. But it's odd, this problem.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info







___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Gnus seems to not notice some emails

2008-01-29 Thread Ross A. Laird

I've been using gnus for a while, and it's a very appealing system. But
I have one problem: sometimes gnus does not notice new emails in my imap
inbox. These emails show up in mutt and Thunderbird, but not in gnus. I
use M-g, and still nothing. I also try g and the fetch options from the
agent menu. Nothing seems to work. I think the problem is that I do not
only use gnus. Gnus seems to track emails properly if it's the only
thing I use to read mail, but if I open up anything else -- not even to
read mail, but just to see if there's new mail -- gnus then fails to
notice anything new (since the last time I used another app). It's odd.
I'm not marking messages as read in the other apps, I'm just looking at
the list of new mails. If I do that, gnus gets confused.

I am a novice user, and I have no idea (really) which settings might
influence this, so I have appended (sorry) my entire .gnus file below
(much of this file has been copied and pasted from other sources). Any
suggestions would be appreciated.

Thanks.

Ross

.gnus:

;; General Speedups
(setq gnus-read-active-file nil) 
(setq gnus-check-new-newsgroups nil) 
(setq gnus-nov-is-evil nil) 
(setq gnus-save-newsrc-file t)
;; Use a second connection to grab the next article when I read one, so
;; I don't have to wait for it be downloaded.  
(setq gnus-asynchronous t)

(defun gnus-demon-scan-mail-or-news-and-update ()
  Scan for new mail/news and update the *Group* buffer
  (when (gnus-alive-p)  
(save-window-excursion
  (save-excursion
 (set-buffer gnus-group-buffer)
 (gnus-group-get-new-news)

(defun gnus-demon-scan-and-update ()
  (gnus-demon-scan-mail-or-news-and-update))

;; Sort threads by the date of the root node.
(setq gnus-thread-sort-functions `(gnus-thread-sort-by-date))

(load-library message)
(setq mail-sources
  '(imap 
 :server mail.server.info 
 :user user 
 :password password))
(setq gnus-select-method
  '(nnimap mail-imap
   (nnimap-address mail.rosslaird.info)))
(setq nnimap-list-pattern INBOX)
(setq gnus-secondary-select-methods
  '(
(nnimap mail-imap
(nnimap-address mail.server.info)
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authenticator login)
(nnimap-nov-is-evil t)
(nnir-search-engine imap)
(remove-prefix INBOX.)
(nnimap-authinfo-file   
 /home/user/.authinfo
 
(setq gnus-group-sort-by-server)
(setq gnus-thread-hide-subtree)
(setq nnimap-fixup-unread-after-getting-new-news)
(setq smtpmail-smtp-server mail.server.info)
(setq user-mail-address [EMAIL PROTECTED])
(setq message-send-mail-real-function 'smtpmail-send-it)
;(setq mm-text-html-renderer 'w3m-standalone)
(setq mm-discouraged-alternatives '(text/html text/richtext))
;(setq gnus-message-archive-group nnimap+rosslaird:INBOX.Sent)
(setq gnus-outgoing-message-group nnimap+rosslaird:INBOX.Sent)
(setq nnimap-need-unselect-to-notice-new-mail t)
(setq message-kill-buffer-on-exit t)
(add-hook 'message-mode-hook 'turn-on-auto-fill)
;(add-hook 'message-mode-hook 'nnimap-fixup-unread-after-getting-new-news)
(setq gnus-summary-line-format %U%R%z %d %I%(%[%4L: %-23,23f%]%) %s\n)
(setq gnus-directory ~/gnus)
(setq message-directory ~/gnus/mail)
(setq nnml-directory ~/gnus/nnml-mail)
(setq gnus-article-save-directory ~/gnus/saved)
(setq gnus-kill-files-directory ~/gnus/scores)
(setq gnus-cache-directory ~/gnus/cache)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
(add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)

(require 'gnus-demon)
;(setq gnus-use-demon t)
;(gnus-demon-add-handler 'gnus-group-get-new-news 10 2)
(gnus-demon-add-handler 'gnus-demon-scan-and-update 10 2)
(setq gnus-use-demon t)
(gnus-demon-init)

; browsing
(setq browse-url-browser-function 'browse-url-firefox
   browse-url-new-window-flag  t
   browse-url-firefox-new-window-is-tab t)


-- 
Ross A. Laird, PhD
www.rosslaird.info







___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Washing html

2008-01-22 Thread Ross A. Laird

 When I try to wash html in Gnus I get a ``Cannot open load file: w3''
 error. Does anyone have any idea whats going on here?

 I have Gnus 21 and w3m emacs installed.

I had this exact problem, and I fixed it by changing my .emacs file to
have this line:

(setq mm-text-html-renderer 'lynx) 

Basically, I changed the browser. Works fine now.
I also took out the similar line in .gnus, which had the reference to
w3m-standalone.

Hope this helps.

Ross





-- 
Ross A. Laird, PhD
www.rosslaird.info







___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Delete draft?

2008-01-18 Thread Ross A. Laird
David Kastrup [EMAIL PROTECTED] writes:

 [EMAIL PROTECTED] (Ross A. Laird) writes:

 I have an old draft email in my gnus drafts folder that I no longer want
 to send. I can't seem to get rid of it. Suggestions?


Thanks for the reply.

 C-c C-k


This gives me The mark is not active now.


 -- 
 David Kastrup, Kriemhildstr. 15, 44793 Bochum

-- 
Ross A. Laird, PhD
www.rosslaird.info



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus header re-scan

2007-11-29 Thread Ross A. Laird

Thanks for the response;

 Is the IMAP server agentized?

Yes.
But still, large mail directories take 5 to 10 minutes at least.

 Another solution that might be even faster for large amounts of mail may
 be a local imap proxy (i.e. OfflineIMAP [1]).

Actually I have tried this method, but offlineimap has, on a couple of
occasions, done weird things to my mail directories (such as duplicating
about 4,000 emails on the server).

So, I suppose I'm stuck with waiting. I would use mairix as another
alternative, but I understand there's been issues between mairix and
gnus.

Thanks again.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus header re-scan

2007-11-29 Thread Ross A. Laird
Tassilo Horn [EMAIL PROTECTED] writes:

 Hm, after I've written this I tried OfflineIMAP and I really like it.
 Till now, it didn't do weird things. ;-)


Well, in general I think it's an excellent program. Perhaps the issue
was with my server, the IMAP version, or various other things. And this
was a few months ago, so perhaps offlineimap itself has improved. But
I'm a bit skittish with it at the moment.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus header re-scan

2007-11-29 Thread Ross A. Laird

Thanks for the tip, David.
I'll check it out.

Cheers.

Ross

David [EMAIL PROTECTED] writes:

 [EMAIL PROTECTED] (Ross A. Laird) writes:
 I would use mairix as another alternative, but I understand there's
 been issues between mairix and gnus.

 There shouldn't anymore if you use the nnmairix backend:

 http://www.emacswiki.org/cgi-bin/emacs-en/GnusMairix

 If you have problems with it, just drop me a mail and I'll try to fix
 it. 

 -David

-- 
Ross A. Laird, PhD
www.rosslaird.info



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Gnus forgets what my IMAP inbox contains

2007-09-14 Thread Ross A. Laird
Sometimes gnus seems to revert my inbox back a month or so.
Here's what happens: I'm merrily emailing, viewing groups, etc., then at
a certain undefined and unpredictable point (which happens every few
days or so) gnus re-jigs my IMAP inbox. All the new and ticked messages
disappear, and instead I see a list of emails that look like they are in
proper dated order -- but the date of all these emails is a few weeks
back. No matter what I try (including restarting gnus) I can't seem to
time travel gnus into the present. I have to delete my gnus local
folders to get the current mails to be viewed again.

What's going on?

Ross
-- 
Ross A. Laird, PhD
www.rosslaird.info








___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Fixed

2007-07-25 Thread Ross A. Laird
Well, I have fixed the problem without really knowing what caused it. I
shut down gnus and emacs, deleted everything in ~/gnus, and started up
again. Now everything works as expected (so far).

Ross
-- 
Ross A. Laird, PhD
www.rosslaird.info





___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english