On Sat, Sep 11, 2021 at 08:23:04AM -0700, Michael Slouber 
<findme@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

Reply via email to