MUTT Notes

From Michael's Information Zone
Revision as of 11:12, 20 December 2017 by Michael.mast (talk | contribs) (Created page with "==Masquerade== *Creating the ~/.muttrc file was critical<ref>https://dev.mutt.org/trac/wiki/MuttFaq/Header</ref>. <pre> set use_envelope_from = yes set edit_headers=yes set us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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