- SMTP servers. A typical scenario is that you want to use the
- company SMTP server for email coming from your company email
- address, and your personal server for personal email. If msmtp is
- passed the envelope address on the command line (the , it will
- automatically pick the matching account. The only trick here seems
- to be getting emacs to actually pass the envelope from. There are a
- number of overlapping configuration variables that control this, and
- it's a little confusion, but setting these three works for me:
+ SMTP servers. The msmtp pages have several examples.
+
+ A typical scenario is that you want to use the company SMTP server
+ for email coming from your company email address, and your personal
+ server for personal email. If msmtp is passed the envelope address
+ on the command line (the -f/--from option) it will automatically
+ pick the matching account. The only trick here seems to be getting
+ emacs to actually pass the envelope from. There are a number of
+ overlapping configuration variables that control this, and it's a
+ little confusion, but setting these three works for me: