record variable defined in my
copy var is set to yes.
Messages are saved to my Sent (
record) folder if I sent them interactively. If however I do it w/o opening interactive mutt session like this:
echo Message set non-interactively | mutt -s "Test noninteractively" email@example.com
messages go, but not kept in record
-d option and compared debug log from both session, there's only obvious differences like timestamps in there.
What could be the reason, and what is more to check?
update - my .muttrc just in case some other thing matters
set imap_user = "firstname.lastname@example.org" smtp_pass "***" set imap_pass = $smtp_pass set smtp_url = "smtp://email@example.com:25/" set from = "firstname.lastname@example.org" set realname = "Tag Wint" set folder = "imaps://mail.server.com:993" alternates "(user|tagwint)@server.com" set spoolfile = "+INBOX" set postponed = "+Drafts" # set record = "+/Sent" # <-- tried also naming this way set record="imaps://mail.server.com:993/Sent" set copy = yes set save_name = yes set force_name = yes set header_cache = ~/.mutt/com.server.user/cache/headers set message_cachedir = ~/.mutt/com.server.user/cache/bodies set certificate_file = ~/.mutt/com.server.user/certificates # vim: ft=muttrc