muttrc vs postfix main.cf
Don W. Jenkins
dwjenkins at sc-zg.com
Sun Feb 6 23:47:46 UTC 2005
On Sun, Feb 06, 2005 at 11:26:19AM +0100, Wouter Eerdekens wrote:
> 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.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Thanks to all who helped. After applying a bunch of fixes to both
muttrc and main.cf, I wound up with mutt ready to send with the correct
From: but postfix not sending, so I rebooted and backed up one step by
removing the line from main.cf about sender_canonical_maps, and for
whatever reason, that released the flow. Now I get messages sent and the
correct From: header. Better back up those rc files somewhere so I don't
have to sort this out again.
Don J.
--
Don W. Jenkins, Registered Linux User 190728/Linux Machine 84430
Ubuntu4.10 Warty/Simply-Mepis2004/Ubuntu Hoary/W2000Server
Rancho San Diego, An Unincorporation of the Mind
"People will let you do whatever you will." Max Farce,
More information about the ubuntu-users
mailing list