Re: postfix + mutt questions
From: Mihalis I. Tsoukalos (mtsouk_at_freemail.gr)
Date: Fri, 22 Aug 2003 18:00:24 +0300 To: email@example.com
On Fri, Aug 22, 2003 at 12:49:33PM +0300, Manolis Tzanidakis wrote:
>  Mihalis I. Tsoukalos <firstname.lastname@example.org> wrote:
> > Dear list,
> Hello Mihali
> > I have a .alias file in my home directory with entries having the
> > following form:
> > debian email@example.com
> > debian-kde firstname.lastname@example.org
> > I want to use it with mutt so I have added the following line in
> > .muttrc:
> > set alias_file="~/.alias"
> > What else do I have to do in order to use it?
> Add the following entry in your .muttrc :
> source ~/.alias
> after the set alias_file one.
> > Second problem:
> > The emails to root go to user nobody.
> > I am using postfix and /etc/aliases has no such entry.
> > How can I fix it?
> Edit /etc/aliases and add the line :
> root: THE_USER_THAT_SHOULD_GET_ROOT_MAIL
> Make sure your /etc/postfix/main.cf has the following :
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> then run :
> $ newaliases && postfix reload
> (this should create /etc/aliases.db & restart postfix).
The problem was that I have not put the word alias in front of each line
in the .alias file as well as I have not put the source .alias in .muttrc
It works fine now. Thanks.
So, in order to make user root get its email, should I put root: root in
the aliases file? Seems a little bizzare :-)
I have found the postalias command that might help creating the aliases.db
-- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) -- To UNSUBSCRIBE, email to email@example.com with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org