Subject: [sup-talk] Can't seem to send mail

From: [email-masked] (Joe Wölfel)
Date: Mon, 8 Jun 2009 11:21:52 -0400

First, Sup awesome.   It's saves an incredible amount of time  
searching through mail!

I haven't been able to send messages with it yet though.  I can only  
search and read.   I used sup-config to configure imap.   According to  
the config.yaml file it's using sendmail -oem -ti to send.  If I try  
to send a message it claims it's sent, but no such luck.   Do I need  
to do something else in addition?  Actually, I'd like to be able to  
send from multiple accounts and I'm not sure how to setup Sup to do  
that.

---

From: [email-masked] (Andrei Thorp)
Date: Mon, 8 Jun 2009 11:50:47 -0400

Well, as far as I can tell, sup doesn't actually send mail itself, and can't.

As such, it uses sendmail by default. Therefore, if you want it to
send mail properly, you want to set up sendmail to send your mail.

If you're sending through something sane, it probably uses smtp.
Today, I installed msmtp and am using it with sup successfully to
accomplish this, though you have to change the sendmail command to
/usr/bin/msmtp -t.

Alternatively, you could run your own mail server and use the sendmail
that comes with that.

---

From: [email-masked] (Ben Walton)
Date: Mon, 08 Jun 2009 11:52:51 -0400

> send from multiple accounts and I'm not sure how to setup Sup to do  

Check the log buffer first to see if sup reports errors interacting
with (whatever is masquerading as) sendmail on your system...if there
aren't errors there, check the mail logs on your system, since it has
left the land of sup...If it doesn't make it to your index as a sent
item, I suspect that the sendmail command may not be working
correctly.

HTH
-Ben

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

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090608/67753431/attachment.bin>

---

From: [email-masked] (Joe Wölfel)
Date: Mon, 8 Jun 2009 14:05:34 -0400

On Jun 8, 2009, at 11:52 AM, Ben Walton wrote:

> _______________________________________________
> sup-talk mailing list
> sup-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk

It looks like sendmail isn't functioning and doesn't generate any  
errors.   Maybe it's a mac problem.  I haven't tried it on anything  
else yet.

---

From: [email-masked] (Andrei Thorp)
Date: Mon, 8 Jun 2009 14:42:28 -0400

Heh.

# file /usr/sbin/sendmail
/usr/sbin/sendmail: symbolic link to `/bin/true'

Fail.

(or it would be ;)

-AT

---

From: [email-masked] (Ben Walton)
Date: Mon, 08 Jun 2009 14:44:50 -0400

> errors.   Maybe it's a mac problem.  I haven't tried it on anything  

Personally, I don't think sendmail has _ever_ been functional, but
that's just the grumpy side of me that has to configure it on clunky
old boxes still! :)

It's likely working, but has a local delivery setup configured.  Try
using `mailq` to see if anything is sitting in the outbound queue.
You may also want to look in /var/spool/mail for mbox files sitting
there with the messages (or bounces) sent from sup.

If you want to get your hands dirty, I recommend exim as the
replacment for sendmail.  I like it's configuration and acl setup
better than postfix, but that would also work.  If you just want to
send mail quickly and easily, try msmtp or a similar package.

HTH.
-Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090608/1f82e67c/attachment.bin>

---

From: [email-masked] (Joe Wölfel)
Date: Mon, 8 Jun 2009 16:03:58 -0400

> send mail quickly and easily, try msmtp or a similar package.

Thanks.  Looks like msmtp did the trick.  Debugging sendmail was more  
than I cared to take on.

---

From: [email-masked] (Andrei Thorp)
Date: Mon, 8 Jun 2009 16:53:42 -0400

> Thanks. ?Looks like msmtp did the trick. ?Debugging sendmail was more than I

Yeah, it sure is scary. Glad that helped.

Cheers,

-AT