Gnus development mailing list
 help / color / mirror / Atom feed
* Mails not sent / not not appear in nnfolder+sent
@ 2023-01-22 15:32 Felix Natter
  2023-01-22 17:52 ` Gijs Hillenius
  2023-01-23  7:10 ` Gijs Hillenius
  0 siblings, 2 replies; 5+ messages in thread
From: Felix Natter @ 2023-01-22 15:32 UTC (permalink / raw)
  To: ding

hello Gnus experts,

I am using Gnus v5.13 / GNU Emacs 27.1 and for quite some time,
occasionally, some mails are not actually sent _and/or_ do not appear in the
sent-mails backend (nnfolder+sent:sent-mail.<year>-<month>).

That is, *maybe* they are sent, but do not end up in sent-mail-**.

I'm not sure I matched this correctly, but it seems this is a
problematic case in *Messages*:

Sending email
250 Requested mail action okay, completed: id=1N1OXT-1oZnjj2sXb-012t77
Sending email done
221 gmx.net Service closing transmission channel
Sending...done
Deleting article /home/felix/News/drafts/drafts/190 in drafts...
Saving file /home/felix/.newsrc...

... and this is a normal case:

Sending email
250 Requested mail action okay, completed: id=1MQ5vW-1p6KQW3o2a-00M3AZ
Sending email done
221 gmx.net Service closing transmission channel
Saving file /home/felix/Mail/sent/sent-mail/2023-01...
Wrote /home/felix/Mail/sent/sent-mail/2023-01
Sending...done
Deleting article /home/felix/News/drafts/drafts/191 in drafts...
Saving file /home/felix/.newsrc...

How can I debug this / add additional logging?
Is there a chance that this is fixed in a newer emacs?
How can I be sure that the mail is actually sent when this occurs?

Many Thanks and Best Regards,
Felix
--
Felix Natter



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mails not sent / not not appear in nnfolder+sent
  2023-01-22 15:32 Mails not sent / not not appear in nnfolder+sent Felix Natter
@ 2023-01-22 17:52 ` Gijs Hillenius
  2023-01-27 20:03   ` Felix Natter
  2023-01-23  7:10 ` Gijs Hillenius
  1 sibling, 1 reply; 5+ messages in thread
From: Gijs Hillenius @ 2023-01-22 17:52 UTC (permalink / raw)
  To: ding

On 22 January 2023 16:32 Felix Natter, wrote:

> hello Gnus experts,
>
> I am using Gnus v5.13 / GNU Emacs 27.1 and for quite some time,
> occasionally, some mails are not actually sent _and/or_ do not appear in the
> sent-mails backend (nnfolder+sent:sent-mail.<year>-<month>).
>
> That is, *maybe* they are sent, but do not end up in sent-mail-**.
>
> I'm not sure I matched this correctly, but it seems this is a
> problematic case in *Messages*:
>
> Sending email
> 250 Requested mail action okay, completed: id=1N1OXT-1oZnjj2sXb-012t77
> Sending email done
> 221 gmx.net Service closing transmission channel
> Sending...done
> Deleting article /home/felix/News/drafts/drafts/190 in drafts...
> Saving file /home/felix/.newsrc...
>
> ... and this is a normal case:
>
> Sending email
> 250 Requested mail action okay, completed: id=1MQ5vW-1p6KQW3o2a-00M3AZ
> Sending email done
> 221 gmx.net Service closing transmission channel
> Saving file /home/felix/Mail/sent/sent-mail/2023-01...
> Wrote /home/felix/Mail/sent/sent-mail/2023-01
> Sending...done
> Deleting article /home/felix/News/drafts/drafts/191 in drafts...
> Saving file /home/felix/.newsrc...
>
> How can I debug this / add additional logging?

Why are there messages here about drafts?

You have special GCC settings?

Check if this gives you more info: 

; Debug Smtp
(setq smtpmail-debug-info t)
(setq smtpmail-debug-verb t)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mails not sent / not not appear in nnfolder+sent
  2023-01-22 15:32 Mails not sent / not not appear in nnfolder+sent Felix Natter
  2023-01-22 17:52 ` Gijs Hillenius
@ 2023-01-23  7:10 ` Gijs Hillenius
  1 sibling, 0 replies; 5+ messages in thread
From: Gijs Hillenius @ 2023-01-23  7:10 UTC (permalink / raw)
  To: ding

On 22 January 2023 16:32 Felix Natter, wrote:

> hello Gnus experts,
>
> I am using Gnus v5.13 / GNU Emacs 27.1 and for quite some time,
> occasionally, some mails are not actually sent _and/or_ do not appear in the
> sent-mails backend (nnfolder+sent:sent-mail.<year>-<month>).
>
> That is, *maybe* they are sent, but do not end up in sent-mail-**.
>
> I'm not sure I matched this correctly, but it seems this is a
> problematic case in *Messages*:
>
> Sending email
> 250 Requested mail action okay, completed: id=1N1OXT-1oZnjj2sXb-012t77
> Sending email done
> 221 gmx.net Service closing transmission channel
> Sending...done
> Deleting article /home/felix/News/drafts/drafts/190 in drafts...
> Saving file /home/felix/.newsrc...
>
> ... and this is a normal case:
>
> Sending email
> 250 Requested mail action okay, completed: id=1MQ5vW-1p6KQW3o2a-00M3AZ
> Sending email done
> 221 gmx.net Service closing transmission channel
> Saving file /home/felix/Mail/sent/sent-mail/2023-01...
> Wrote /home/felix/Mail/sent/sent-mail/2023-01
> Sending...done
> Deleting article /home/felix/News/drafts/drafts/191 in drafts...
> Saving file /home/felix/.newsrc...
>
> How can I debug this / add additional logging?

Do you have special GCC settings?

You can try setting these.

(setq smtpmail-debug-info t)
(setq smtpmail-debug-verb t)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mails not sent / not not appear in nnfolder+sent
  2023-01-22 17:52 ` Gijs Hillenius
@ 2023-01-27 20:03   ` Felix Natter
  2023-01-27 22:23     ` Eric Abrahamsen
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Natter @ 2023-01-27 20:03 UTC (permalink / raw)
  To: Gijs Hillenius; +Cc: ding

hello Gijs,

Gijs Hillenius <gijs@hillenius.net> writes:

> On 22 January 2023 16:32 Felix Natter, wrote:
>
>> hello Gnus experts,
>>
>> I am using Gnus v5.13 / GNU Emacs 27.1 and for quite some time,
>> occasionally, some mails are not actually sent _and/or_ do not appear in the
>> sent-mails backend (nnfolder+sent:sent-mail.<year>-<month>).
>>
>> That is, *maybe* they are sent, but do not end up in sent-mail-**.
>>
>> I'm not sure I matched this correctly, but it seems this is a
>> problematic case in *Messages*:
>>
>> Sending email
>> 250 Requested mail action okay, completed: id=1N1OXT-1oZnjj2sXb-012t77
>> Sending email done
>> 221 gmx.net Service closing transmission channel
>> Sending...done
>> Deleting article /home/felix/News/drafts/drafts/190 in drafts...
>> Saving file /home/felix/.newsrc...
>>
>> ... and this is a normal case:
>>
>> Sending email
>> 250 Requested mail action okay, completed: id=1MQ5vW-1p6KQW3o2a-00M3AZ
>> Sending email done
>> 221 gmx.net Service closing transmission channel
>> Saving file /home/felix/Mail/sent/sent-mail/2023-01...
>> Wrote /home/felix/Mail/sent/sent-mail/2023-01
>> Sending...done
>> Deleting article /home/felix/News/drafts/drafts/191 in drafts...
>> Saving file /home/felix/.newsrc...
>>
>> How can I debug this / add additional logging?

thank you for your answer.

> Why are there messages here about drafts?

Do you refer to this?
>> Deleting article /home/felix/News/drafts/drafts/191 in drafts...

-> it deleted the draft message :)

> You have special GCC settings?

I do not think so. Here are all smtpmail settings:

;; sending mail: this requires a more recent (2005) version of smtpmail.el
;; (/usr/share/doc/gnus/contrib)
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it
      send-mail-function 'smtpmail-send-it
      smtpmail-smtp-server "mail.gmx.net"
      smtpmail-local-domain nil
      smtpmail-debug-info t)
(setq smtpmail-debug-verb t)
(setq smtpmail-default-smtp-server "mail.gmx.net")
(setq smtpmail-auth-credentials '(("mail.gmx.net" 25 "USER" "SECRET")))
(setq smtpmail-starttls-credentials  '(("mail.gmx.net" 25 nil nil)))
;; this is still needed, even with STARTTLS
(setq smtpmail-smtp-service 25)

;; TLS stuff
;; use external GNUTLS to fix auth problems...
(setq starttls-use-gnutls t
      starttls-gnutls-program "gnutls-cli"
      starttls-extra-arguments nil)

Is there anything wrong with it?

I noticed that I loaded a custom smtpmail.el (see comment above), which
I exchanged with:
  /usr/share/emacs/27.1/lisp/mail/smtpmail.elc
now.

> Check if this gives you more info: 
>
> ; Debug Smtp
> (setq smtpmail-debug-info t)
> (setq smtpmail-debug-verb t)

I have added -verb t, but it does not seem to make a difference.( (there
is a trace buffer, but it does not contain more information than
*Messages*).

It looks like the messages are sent, but not saved in the archive mbox
files...

Any ideas would be appreciated!

Best Regards,
Felix
-- 
Felix Natter
debian/rules!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mails not sent / not not appear in nnfolder+sent
  2023-01-27 20:03   ` Felix Natter
@ 2023-01-27 22:23     ` Eric Abrahamsen
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Abrahamsen @ 2023-01-27 22:23 UTC (permalink / raw)
  To: ding

Felix Natter <fnatter@gmx.net> writes:

> It looks like the messages are sent, but not saved in the archive mbox
> files...
>
> Any ideas would be appreciated!

Before you send the message, do you see a Gcc: header at the top of the
mail composition buffer? (Try "C-x n w" first just to make absolutely sure.)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-27 22:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 15:32 Mails not sent / not not appear in nnfolder+sent Felix Natter
2023-01-22 17:52 ` Gijs Hillenius
2023-01-27 20:03   ` Felix Natter
2023-01-27 22:23     ` Eric Abrahamsen
2023-01-23  7:10 ` Gijs Hillenius

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).