spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

Mutt DSM7.1 smtp_user: unknown variable

Open mietzen opened this issue 3 years ago • 3 comments

Is this a new Bug?

  • [X] I checkd that the bug hasn't been reported before

Package Name

Mutt

Package Version

2.1.3

Device Model

DS418Play

Device Architecture

x86_64

Firmware Version

DSM 7.1

What happened?

Mutt won't accept a smtp_user, this is my Mutt config:

$ cat .mutt/muttrc
# ================  IMAP ====================
set imap_user = "[email protected]"
set imap_pass = "asdfghjklö"
set imap_idle = yes
set spoolfile = "imaps://imap.mailbox.org/INBOX"
set folder    = "imaps://imap.mailbox.org/INBOX"
# ================  SMTP  ====================
set smtp_url = "smtps://smtp.mailbox.org:465/"
set smtp_authenticators = "login"
set smtp_user = $imap_user
set smtp_pass = $imap_pass
set ssl_force_tls = yes # Require encrypted connection
set ssl_starttls = no
# ================  Composition  ====================
set editor = "nano"      # Set your favourite editor.
set edit_headers = yes  # See the headers when editing
set charset = UTF-8     # value of $LANG; also fallback for send_charset
# Sender, email address, and sign-off line must match
unset use_domain        # because joe@localhost is just embarrassing
set realname = "DiskStation 418Play"
set from = "[email protected]"
set use_from = yes

I checked the compile options and +USE_SMTP is present, but sendmail seems to be missing in DSM 7.1

$ ls -al /usr/sbin/sendmail
ls: cannot access '/usr/sbin/sendmail': No such file or directory

Reproduction steps

1. Install Mutt
2. Try configuring a smtp user

Install Log

Not present

Service Log

Not present

Other Logs

No response

mietzen avatar Aug 18 '22 13:08 mietzen

with set sendmail="/usr/sbin/ssmtp" and smtp_user unset it works, but I have to manually set the username each time.

mietzen avatar Aug 18 '22 14:08 mietzen