Subject: Re: [sup-talk] error when sending mail

From: Ben Walton <[email-masked]>
Date: Wed, 02 Jun 2010 16:14:13 -0400

Excerpts from Erik Quaeghebeur's message of Wed Jun 02 15:52:53 -0400 2010:

> > And a dumb question from me: /home/equaeghe/Mail/sent does contain the
> > maildir subfolders cur, new and tmp?
> 
> I did not and that fixed it. I assumed those would be created as-needed.

This likely stems from the sup philosophy of being a read-only tool
(sent being an exception).  I think this should be changed...maybe
only for the source designated as Sent?  Thoughts?

Thanks
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Erik Quaeghebeur <[email-masked]>
Date: Wed, 2 Jun 2010 10:03:19 -0400 (EDT)

> Excerpts from Erik Quaeghebeur's message of Mon May 31 22:42:49 -0400 2010:
>
>> WARNING: Problem sending mail: File or folder does not exist -
>> <path/to/maildir/sent/folder>/tmp/1275359009.7145703845.sysopweg:2,S

On Wed, 2 Jun 2010, Ben Walton wrote:
>
> Is the above <path/to/maildir/...> bit something you did or is it
> actually part of the error message?  What is the value of sent_source
> in your config.yaml?

<path/to/maildir/sent/folder> is what I replaced the actual path given in 
the error message with (it was /home/equaeghe/Mail/sent); it now does seem 
a useless modification

:sent_source: maildir:/home/equaeghe/Mail/sent

>> However, the mail was sent (and did arrive), but it was not saved as
>> a sent messages in my sent-mail maildir folder (which is totally
>> empty).
>
> This is normal.

Ah. Can I change it so that it does save sent mails? Or should I 
explicitly set Fcc when sending mail?

Best,

Erik

---

From: Ben Walton <[email-masked]>
Date: Wed, 02 Jun 2010 09:51:03 -0400

This is normal.

Thanks
-Ben

---

From: Erik Quaeghebeur <[email-masked]>
Date: Wed, 2 Jun 2010 15:52:53 -0400 (EDT)

> Excerpts from Erik Quaeghebeur's message of Wed Jun 02 10:03:19 -0400 2010:
>
>> <path/to/maildir/sent/folder> is what I replaced the actual path
>> given in the error message with (it was /home/equaeghe/Mail/sent);
>> it now does seem a useless modification

Thanks,

Erik

---

From: Erik Quaeghebeur <[email-masked]>
Date: Mon, 31 May 2010 22:42:49 -0400

Hi,

When sending mail, I get this warning:

WARNING: Problem sending mail: File or folder does not exist - <path/to/maildir/sent/folder>/tmp/1275359009.7145703845.sysopweg:2,S

However, the mail was sent (and did arrive), but it was not saved as a 
sent messages in my sent-mail maildir folder (which is totally empty).

Any ideas about how to solve/diagnose this?

TIA,

Erik

---

From: Sebastian Schwarz <[email-masked]>
Date: Wed, 2 Jun 2010 17:48:09 +0200

On 2010-06-02 at 10:08 -0400, Ben Walton wrote:
> Ok, this looks fine as long as /home/equaeghe/Mail/sent is a proper
> maildir setup.

Just a guess, but according to NewUserGuide.txt the mailbox
URIs start with maildir:// or mbox://.  Therefore try:

    :sent_source: maildir:///home/equaeghe/Mail/sent

Note the two extra slashes.

HTH,
Sebastian

---

From: Erik Quaeghebeur <[email-masked]>
Date: Tue, 1 Jun 2010 11:13:47 -0400 (EDT)

On Tue, 1 Jun 2010, Ben Walton wrote:
>
> Sup version?  Ruby version?

sup v0.11 (installed the gem)

ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] (ubuntu packages)
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Ben Walton <[email-masked]>
Date: Tue, 01 Jun 2010 09:07:57 -0400

That'll help get the ball rolling for diagnosing things.

Thanks
-Ben

---

From: Ben Walton <[email-masked]>
Date: Wed, 02 Jun 2010 10:08:56 -0400

> explicitly set Fcc when sending mail?

Sorry, I meant normal in the sense that sending the mail and storing
mail in the sent source are two separate (non-atomic) actions.  When
you hit the send key, the message is dumped into $sendmail for
transport.  It's then written to the sent source.  These are
independent.  One may succeed while the other fails.

Thanks
-Ben