On Wednesday, November 24, 2021 at 10:23:31 -0600, Ranjan Maitra wrote:

set smtp_url="smtp://[email protected]:587/"
set smtp_pass="Your1!Really2@AweSome3#Password"

But what do I do about the work email that uses postfix?

If you unset smtp_url mutt should connect to port 25 on localhost to send, where should listen postfix properly configured for work in your case.

2. I want e-mails in a few folders (basically the ones attached
to mailing lists) to use a specific account. For example, I
have a folder called mutt, and I would like to be able to use
this email address that I am using to be my account whenever I
send emails from this folder. Otherwise, I would like emails
sent to a specific account also be responded to from that
account.

I think you want to use folder-hook recipes, something like:

folder-hook .      'unset smtp_url'
folder-hook 'mutt' 'set from = [email protected]; set 
smtp_url="smtp://[email protected]:587/"; set 
smtp_pass="Your1!Really2@AweSome3#Password"'

Mihai

Reply via email to