posfix accept @mail.domain.com instead of @domain.com

Discussion in 'HOWTO-Related Questions' started by fisherman1, May 29, 2008.

  1. fisherman1

    fisherman1 New Member

    Postfix status=bounced (User Unknown in Virtual Alias Table)

    If I send an email to [email protected], maillog shows "status=bounced (User Unknown in Virtual Alias Table)".

    However, if i send to [email protected], it returns "delivered to mailbox".
    I believe it's delivered, but no directory is created under /home/vmail.
    if i type in "> mail", the email is found under account "test".

    Those results are not quite right as I want email to [email protected] to be delivered to the mail box.

    This is what i have in the database
    DB: "users" under "email" entry "[email protected]"
    DB: "domain" under "domain" entry "domain.com"

    myhostname = mail.domain.com
    mydestination = mail.domain.com, localhost, localhost.localdomain
    mynetworks =
    virtual_alias_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains =
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_create_maildirsize = yes
    virtual_mailbox_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    content_filter = amavis:[]:10024
    receive_override_options = no_address_mappings

    Thanks for helping.....
    Last edited: May 29, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any other errors in your mail log?
  3. fisherman1

    fisherman1 New Member

    May 30 16:07:01 diver1 postfix/error[1332]: A15761E88210: to=<[email protected]>, relay=none, delay=0.12, delays=0.08/0/0/0.04, dsn=5.0.0,
    status=bounced (User unknown in virtual alias table)
  4. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    postconf -n | grep domain.com
    postconf -d | grep domain.com

Share This Page