Hello Jiri!

[email protected] (Jiri Navratil), 2022.03.08 (Tue) 18:19 (CET):
> Thank you for this advice.
> I never used this way. When adding just
> set sendmail = /usr/sbin/sendmail
> there was no improvement. When I also used
> unset smtp_url

Ah, yes, these are certainly mutually exclusive. 

Using the sendmail binary for local enqueueing and smtp at the 
same time doesn't make much sense.

> Then I got
> Error sending message, child exited 127 (Exec error.).
> Could not send the message.

You are on OpenBSD, if I remember this thread correctly.

What does 
 
        print testmail | mail -s testmail [email protected]

do? This should call the same binary as the

        set sendmail = /usr/sbin/sendmail

configuration option.

This way we'll see if local enqueueing[*] is broken on your machine.

See mailwrapper(8) and mailer.conf(5) for all the gory details.

Marcus

[*] I love the spelling of this word.

> Not sure if I have to adjust permissions of the wrapper or do anything
> else, so for now I will try to fix the smtp_url approach first.
> 
> Best regards,
> Jiří
> 
> On Tue, Mar 08, 2022 at 09:52:45AM +0100, Marcus MERIGHI wrote:
> > Hello!
> > 
> > [email protected] (Jiri Navratil), 2022.03.06 (Sun) 14:28 (CET):
> > > I'm using notebook with OpenBSD and every email from mail and from mutt
> > > goes firstly to  OpenSMTPD on localhost and then are relayed to my
> > > server with static IP.
> > > I have been using in OpenBSD 6.7 for mutt
> > > set smtp_url="smtp://127.0.0.1"
> > 
> > This is not a solution and not an answer to your question, 
> > but why don't you just use 
> > 
> >         set sendmail = /usr/sbin/sendmail
> > 
> > in your muttrc(5)?
> > 
> > Marcus


Reply via email to