muttrc vs postfix main.cf
Wouter Eerdekens
retuow at gmail.com
Sun Feb 6 10:26:19 UTC 2005
On Sat, 05 Feb 2005 09:03:31 -0800, Don W. Jenkins <dwjenkins at sc-zg.com> wrote:
> To all those who answered with various suggestions for my muttrc file, I
> have applied all suggestions, with no luck in getting my "From:" header
> completely under control in my sent e-mails. The Kplug listers did
> correctly identify the problem as being not in mutt, but postfix, as I
> was able to get the last half of the e-mail address corrected by
> changing "mydomain" and "myorigin" in postfix. Now the "From:" header
> reads:
>
> "Don W. Jenkins<oakman at sc-zg.com>"
>
> "oakman" is my username on my computer system, and I need that part to
> be "dwjenkins", but I don't see where postfix reads that.
First of all, there's no need to change mydomain and myorigin. All you
need to do is
create a file /etc/postfix/canonical with the following line in it:
oakman dwjenkins at sc-zg.com
Afterwards, run
postmap /etc/postfix/canonical
This will generate a file /etc/postfix/canonical.db
Add the following to /etc/postfix/main.cf
sender_canonical_maps = hash:/etc/postfix/canonical
And reload postfix. This should fix it...
Cheers,
Wouter
--
Human beings were created by water to transport it uphill.
More information about the ubuntu-users
mailing list