MUTT Notes

From Michael's Information Zone
Jump to navigation Jump to search

Masquerade

  • Creating the ~/.muttrc file was critical[1].
set use_envelope_from = yes
set edit_headers=yes
set use_from = yes
set from = "user_name@domain.com"
set realname = "user_name"
set hidden_host=yes
  • At this point I also modified sendmail[2]. Though I don't think this was needed.
FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain') dnl
FEATURE(`masquerade_envelope') dnl
FEATURE(`allmasquerade') dnl
MASQUERADE_AS(`domain.com.') dnl
MASQUERADE_DOMAIN(`domain.com.') dnl
  • From this point I was able to send emails through my relay and to Office365
  • https://dev.mutt.org/trac/wiki/MuttFaq/Header
  • https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s3-email-sendmail-changes-masquerading.html