Re: Sending mail through IMAP fails
- To: mutt-users@xxxxxxxx
- Subject: Re: Sending mail through IMAP fails
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Thu, 16 Oct 2008 15:52:02 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=/iWKQl2I3i/Z1F42oN98BkSZ9Gc=; b=Ro6s zmD1LP9lFRw3fMw0lxubbv1q1xbw3f65W3q5846VCdWDoY37Q89ErGbv74eaperC qXp9lXowObXaU7B2h11YEOFgUyVNZMDuSIHvsmsKwG9Bv3862LbBOb2Aa/Q6YtvD wwMjc7WBW8iq3iEodb+XiFmjWQJQLW10iWZtfcU=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=jHCuFxLKXh2EgRSPoGUlU9D5YAOf2XtFqqJtybHv7z1ockCyA3IErXdJ/bink70JFGZ4K8aaxNvSKjQWXmjPZA8mA0K4B7lr1BmqryBi+avN+1SKIXk039hioymdsv8faBOO4NER4zr1sUPwuK1/HiVweffeUrjffXKpPvUQkAs=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <1224189159.48f7a4e7a9b22@xxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <1224189159.48f7a4e7a9b22@xxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-09-25)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, October 16 at 09:32 PM, quoth K C H Mackenzie:
> Hello. I am having trouble setting up Mutt to send mail through IMAP on a
> university server.
I can see your problem already! IMAP is not a protocol that is
normally used for *sending* email. There are two nearly-identical
protocols that are used for sending email (SMTP and SUBMISSION), but
IMAP is only used for *reading* email.
> When I finish composing and type `y' I get `Sending message' and
> `Mail sent' quickly but no messages have reached their targets.
What's probably happening is that mutt is using the program
/usr/sbin/sendmail to send email. This is probably provided by exim4
on your Ubuntu installation, which is probably not set up correctly
for your network (i.e. it's probably got a default configuration),
thus, the mail never leaves your computer.
In order to send mail with mutt, you either need to configure it to
use a mail sending program (such as exim4 or, more minimally, msmtp
(http://msmtp.sf.net)) that is correctly configured OR you need to
configure mutt to send the mail directly. To do the latter, you'll
need to add some things to your muttrc, specifically, an $smtp_url
setting. It would probably look something like this:
set smtp_url="smtps://user:password@xxxxxxxxxxxxxxxxxxxxx/"
> Since I can read/move/delete mail, the problem can't be access to
> the IMAP server as such.
Indeed, you are correct!
~Kyle
- --
Formal symbolic representation of qualitative entities is doomed to
its rightful place of minor significance in a world where flowers and
beautiful women abound.
-- Albert Einstein
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkj3qXEACgkQBkIOoMqOI16WdwCdGmq2+jTlweJJvO+Y2YIv+vac
S60AoLj8FhAzv2ND/hNRzs97qrbJwa8V
=e+Oz
-----END PGP SIGNATURE-----