SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.04k stars 1.24k forks source link

Mutt DSM7.1 smtp_user: unknown variable #5394

Open mietzen opened 2 years ago

mietzen commented 2 years ago

Is this a new Bug?

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 = "xxxx@mailbox.org"
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 = "awsdfghjk@mailbox.org"
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 commented 2 years ago

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