Cannot create mail accounts called 'root' or 'mail'

Discussion in 'Installation/Configuration' started by AaronNGray, Aug 19, 2006.

  1. AaronNGray

    AaronNGray New Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error message do you get?

    Are you sure tharea are no aliases defined for the root and mail users in /etc/postfix/aliases?
     
  3. AaronNGray

    AaronNGray New Member

    Partly solved

    I was getting "The username is already in use."

    I used different names for the User and Uname fields and it is working now.

    But I am not getting root's mail.

    Aaron
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/aliases?
     
  5. AaronNGray

    AaronNGray New Member

    No alias file

    There is no /etc/aliases file.

    Aaron
     
  6. AaronNGray

    AaronNGray New Member

    /etc/aliases

    Sorry I thought you meant '/etc/postfix/aliases' not just '/etc/aliases'.

    Anyway here it is :-
    ~~~~~~~~~~~~~~~
    #
    # Aliases in this file will NOT be expanded in the header from
    # Mail, but WILL be visible over networks or from /bin/mail.
    #
    # >>>>>>>>>> The program "newaliases" must be run after
    # >> NOTE >> this file is updated for any changes to
    # >>>>>>>>>> show through to sendmail.
    #

    # Basic system aliases -- these MUST be present.
    mailer-daemon: postmaster
    postmaster: root

    # General redirections for pseudo accounts.
    bin: root
    daemon: root
    adm: root
    lp: root
    sync: root
    shutdown: root
    halt: root
    mail: root
    news: root
    uucp: root
    operator: root
    games: root
    gopher: root
    ftp: root
    nobody: root
    radiusd: root
    nut: root
    dbus: root
    vcsa: root
    canna: root
    wnn: root
    rpm: root
    nscd: root
    pcap: root
    apache: root
    webalizer: root
    dovecot: root
    fax: root
    quagga: root
    radvd: root
    pvm: root
    amanda: root
    privoxy: root
    ident: root
    named: root
    xfs: root
    gdm: root
    mailnull: root
    postgres: root
    sshd: root
    smmsp: root
    postfix: root
    netdump: root
    ldap: root
    squid: root
    ntp: root
    mysql: root
    desktop: root
    rpcuser: root
    rpc: root
    nfsnobody: root

    ingres: root
    system: root
    toor: root
    manager: root
    dumper: root
    abuse: root

    newsadm: news
    newsadmin: news
    usenet: news
    ftpadm: ftp
    ftpadmin: ftp
    ftp-adm: ftp
    ftp-admin: ftp
    www: webmaster
    webmaster: root
    noc: root
    security: root
    hostmaster: root
    info: postmaster
    marketing: postmaster
    sales: postmaster
    support: postmaster


    # trap decode to catch security attacks
    decode: root

    # Person who should get root's mail
    #root: marc
    ~~~~~~~~~~~~~~~~

    Thanks,

    Aaron
     
  7. AaronNGray

    AaronNGray New Member

    Getting roots mail now

    Okay I am getting roots mail now.

    Seems to be working now, don't know why,

    Aaron
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Did you change anything, e.g. in /etc/aliases?
     
  9. AaronNGray

    AaronNGray New Member

    Just started working

    No it just started working after a period of time.

    Aaron
     

Share This Page