using mutt with postfix and localhost:25
Globe Trotter
itsme_410 at yahoo.com
Sun Sep 12 14:46:55 UTC 2021
Thank you for this. OK, so you are correct in that doing nothing works on my office machine but not when I connect to it remotely to deliver my mail using ssh -L etc and am using that server to deliver my email.
I am not able to find any notification as to what goes wrong beyond the fact that the mail does not get delivered.
Hope this explains.
Thanks!
On Saturday, September 11, 2021, 07:48:52 PM CDT, raf <mutt at raf.org> wrote:
On Sat, Sep 11, 2021 at 08:23:04AM -0700, Michael Slouber <findme at thewoods.earth> wrote:
> On 09/11/21 01:24PM, Globe Trotter via Mutt-users wrote:
> > Thanks very much! I am unable to send mail using postfix. However,
> > the same setting makes it work for sylpheed when I simply specify
> > localhost:25 in the SMTP server so I think that the postfix is set
> > up all right, perhaps.
If postfix is configured correctly, and mail submitted
via localhost:25 does get delivered, then the default
value for mutt's sendmail parameter should also work.
What do you mean when you say you are unable to send
mail using postfix? Sending mail using postfix means
using a mail user agent like mutt which by default
submits mail for delivery by invoking postfix's
sendmail-compatible /usr/sbin/sendmail program to
submit mail to postfix's mail queue, after which
postfix will deliver it.
What acually goes wrong when you try to send email from
mutt with the default setting for the sendmail
parameter?
> This setting in Muttrc works for me:
>
> set smtp_url = "smtp://localhost:25"
This is intended for using a remote smarthost to send
mail through. It shouldn't be necessary for localhost.
It works, but it's probably slightly slower because it
has to perform the SMTP dialogue.
If postfix can deliver mail submitted by mutt this way,
it should also be able to deliver mail submitted by
mutt the default way.
cheers,
raf
More information about the Mutt-users
mailing list