Debian ETCH, postfix alias and forward doesn't work

Discussion in 'Server Operation' started by flurpiti, Feb 29, 2008.

  1. flurpiti

    flurpiti New Member

    Hi there!

    I had to replace my former postfix mail server under linux mandrake 8 ( hacked)
    to an up to date postfix under debian ETCH.
    parameters doesn't seems to exactly the same as before.
    After a few solved problem, I have been able to run the mail server,
    that is getting the emails and sending them.
    The trouble is that alias doesn't work nor forwarding using .forward files in users homes.
    I have an aliases file, and an aliases.db file made using postalias aliases

    my main.cf file is this:

    -----------------------------------------
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    delay_warning_time = 4h

    # TLS parameters
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    myhostname = mail.esgt.cnam.fr

    allow_mail_to_commands=alias,forward

    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases

    mydomain=esgt.cnam.fr
    myorigin=esgt.cnam.fr

    mydestination = $myhostname, $mydomain,localhost.$mydomain,localhost

    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all

    ------------------------------------
    my alias file like this:

    --------------------------------
    pierre.clergeot: pclergeot
    michel.kasser: kasser
    jean-marc.baca: jmbaca
    andre.balandier: balandier
    isabelle.benibri: benibri

    ------------------------------


    Any Idea of what's happening? solution?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you run
    Code:
    newaliases 
    and restart Postfix after you've modified /etc/aliases?
    Any errors in the mail log?
     

Share This Page