[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix + mutt questions



[20030822] Mihalis I. Tsoukalos <mtsouk@freemail.gr> wrote:

> Dear list,

Hello Mihali

> I have a .alias file in my home directory with entries having the
> following form:
> 
> debian          debian-user@lists.debian.org
> debian-kde      debian-kde@lists.debian.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).

-- 
Manolis Tzanidakis
(mtzanidakis-at-freemail-dot-gr)
Jabber: mtzanidakis@jabber.org
ICQ: 102798230
GnuPG Key Fingerprint: 
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3
Get my public key at: pgp.mit.edu

Attachment: pgpPmlZmsjNyW.pgp
Description: PGP signature


Reply to: