Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kgreiner@xpediantsolutions.com>
Subject: Re: Gnus Agent and mail
Date: Sun, 13 Apr 2003 16:10:21 -0500	[thread overview]
Message-ID: <ubrzaf6iq.fsf@xpediantsolutions.com> (raw)
In-Reply-To: <6uiswfhrqs.fsf@zork.zork.net>

Sean Neakums <sneakums@zork.net> writes:

> What is the current method to prevent sent mail from being queued when
> the Agent is active?  My mail select method is not covered by the
> Agent, and both message-send-mail-function and
> gnus-agent-send-mail-function are set to
> message-send-mail-with-sendmail, but when I send mail, it is queued.

Sean,

I've been looking at your proposed patch.  The code seems
reasonable yet I'm having trouble with your description of the
problem.

I searched on gnus-agent-send-mail-function and found that the
gnus-agentize function binds gnus-agent-send-mail-function to
message-send-mail-with-sendmail (the original value of
message-send-mail-real-function) and message-send-mail-real-function
to gnus-agent-send-mail.  This appears to support your statement that
activating the agent results in your mail being queued.

I then took a look at gnus-agent-send-mail and found this
   (if gnus-plugged
      (funcall gnus-agent-send-mail-function)
   ...)

Since gnus-agent-send-mail-function is
message-send-mail-with-sendmail, it appears that your message is only
queued when you are unplugged.  In your patch, the new variable
gnus-agent-queue-mail-when-unplugged appears to support this
statement.

Now, here's my problem.  The definition of "unplugged" in the manual
is as follows:

  The Gnus Agent is said to be "unplugged" when you have severed the
  connection to the net (and notified the Agent that this is the case).
  When the connection to the net is up again (and Gnus knows this), the
  Agent is "plugged".

Now then, if you've severed your connection to the net, how do you
intend to send your mail?

It would seem that you want to use the agent while plugged.  If that's
actually the case, you won't need your patch.  What you will need to
to check is that gnus-agent-cache is set (so that the agent is active
while plugged).

Kevin



  parent reply	other threads:[~2003-04-13 21:10 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-24  8:33 Sean Neakums
2003-01-24 12:52 ` Kai Großjohann
2003-01-24 13:49   ` Sean Neakums
2003-01-24 22:00     ` Lars Magne Ingebrigtsen
2003-04-13 21:10 ` Kevin Greiner [this message]
2003-04-13 21:18   ` Sean Neakums
2003-04-13 23:32     ` Kevin Greiner
2003-04-14  6:15   ` Kai Großjohann
2003-04-18  6:31     ` Gaute B Strokkenes
2003-04-29  5:40       ` Kevin Greiner
2003-04-29 15:28         ` Kai Großjohann
2003-04-30  2:12           ` Kevin Greiner
2003-05-01 10:57             ` Kai Großjohann
2003-05-08 23:36         ` Gaute B Strokkenes
2003-05-10 14:43           ` Kevin Greiner
2003-05-10 16:08             ` Gaute B Strokkenes
2003-05-10 22:21               ` Gaute B Strokkenes
2003-05-11 23:20                 ` Kevin Greiner
2003-05-12  5:52                   ` Gaute B Strokkenes
2003-05-12 13:47                     ` Kevin Greiner
2003-05-12 18:46                       ` Gaute B Strokkenes
2003-05-12 20:37                         ` Gaute B Strokkenes
2003-05-14 11:07                           ` Gaute B Strokkenes
2003-05-14 17:15                             ` Kevin Greiner
2003-05-14 20:15                               ` Gaute B Strokkenes
2003-05-15  8:15                                 ` Gaute B Strokkenes
2003-05-12 15:51                     ` Kai Großjohann
2003-05-12 18:49                       ` Gaute B Strokkenes
2003-05-13 12:31                         ` Kai Großjohann
2003-05-10 17:35             ` Kai Großjohann
2003-05-10 20:54               ` Gaute B Strokkenes
2003-05-12 15:49                 ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ubrzaf6iq.fsf@xpediantsolutions.com \
    --to=kgreiner@xpediantsolutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).