Mail delivery

Discussion in 'Installation/Configuration' started by pontifex, Jan 24, 2007.

  1. pontifex

    pontifex New Member

    Hello everyone,

    currently i have the problem that e-mails are delivered to the mailbox /root/Maildir and /var/mail/Maildir

    E-mails are delivered to his mailboxes if the emailadress is not existent. how can i stop that in the postfix config?

    Thanks a lot

  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/ and /etc/aliases (please strip out the comments)?
  3. pontifex

    pontifex New Member

    Hello Falko,

    the file /etc/aliases looks like:
    # /etc/aliases
    mailer-daemon: postmaster
    usenet: root
    news: root
    abuse: root
    noc: root
    security: root

    smtpd_banner = $myhostname ESMTP
    biff = no
    append_dot_mydomain = no
    myhostname = mail.domain.tld
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = mail.domail.tld, localhost.localdomain, localhost.localdomain, localhost
    mynetworks =
    mailbox_command = 
    mailbox_size_limit = 0
    recipient_delimiter = +
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    home_mailbox = Maildir/
    virtual_maps = hash:/etc/postfix/virtusertable
    mydestination = /etc/postfix/local-host-names
    bounce_size_limit = 500000
    What should i change there?

  4. falko

    falko Super Moderator ISPConfig Developer

    What's in the mail log when a mail is sent that ends up in the wrong place?

Share This Page