Re: postfix + mutt questions

From: Mihalis I. Tsoukalos (mtsouk_at_freemail.gr)
Date: 08/22/03

  • Next message: Roberto Sanchez: "Moving a MySQL database"
    Date: Fri, 22 Aug 2003 18:00:24 +0300
    To: debian-user@lists.debian.org
    
    

    On Fri, Aug 22, 2003 at 12:49:33PM +0300, Manolis Tzanidakis wrote:
    > [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).

    Hi Manoli.

    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
    file.

    TIA,
    Mihalis.

    -- 
    Unix is very simple, but it takes a genius to understand the simplicity.
    (Dennis Ritchie)
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roberto Sanchez: "Moving a MySQL database"

    Relevant Pages

    • Re: Is my directory corrupted?
      ... >apache or administrate.... ... OK - it can be a real problem running as root, ... you've got an alias going there - your 'ls' is actually running as ... Also, is your Samba server in there - again, these should ...
      (alt.os.linux)
    • Re: kernel panic
      ... echo Mounting /proc filesystem ... echo Mounting root filesystem ... Grub may have told the kernel to look in the wrong place for the root file system, the file system might be unreadable, or you may have moved the system onto a machine with a different type of disk controller that needs a different driver module included on the initrd. ... If your rescue boot mounts the system drives and suggests a chroot command, do that, then add the right alias command to /etc/modprobe.conf and then run mkinitrd. ...
      (Fedora)
    • Re: kernel panic
      ... echo Mounting /proc filesystem ... echo Mounting root filesystem ... Grub may have told the kernel to look in the wrong place for the root file system, the file system might be unreadable, or you may have moved the system onto a machine with a different type of disk controller that needs a different driver module included on the initrd. ... If your rescue boot mounts the system drives and suggests a chroot command, do that, then add the right alias command to /etc/modprobe.conf and then run mkinitrd. ...
      (Fedora)
    • Re: OT: the rm bug hit me again
      ... And the -f in the rm command it to stop the "Confirm delete?" ... My rm is set to confirm all deletes using alias. ... the reason is to help prevent those type human errors when you are root ... I personally like the prompt because it reminds me that I am running as ...
      (Fedora)
    • Re: strange network problem
      ... I'm still curious why the par-port module is failing, ... [root@www root]# lspci -n ... alias eth0 e100 ...
      (RedHat)