virtual users forwarding to external domain

From: Rudy Gevaert (no email)
Date: Sat Oct 01 2005 - 11:19:57 EDT

  • Next message: Wietse Venema: "Re: virtual users forwarding to external domain"

    Hello,

    I'm trying to set up postfix with virtual domain support. This has been
        rather succesful, except setting up forwards. My main.cf:

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    append_dot_mydomain = no
    myhostname = zalm.UGent.be
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination= $myhostname.UGent.be $myhostname
    relayhost = smtprelay.ugent.be
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = 157.193.40.36

    virtual_alias_domains =
    # the following line map gives the virtual domains we accept mail for
    virtual_mailbox_domains = ldap:/etc/postfix/ldap_virtual_mailbox_domains.cf

    # returns the the place to drop the mail for know virtual users
    virtual_mailbox_maps = ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf

    # forwarding that doesn't work
    virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps

    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:1001
    virtual_gid_maps = static:1001

    In /etc/postfix/virtual_alias_maps I have:
       

    When sending mail to I get the following error:

    ...

    Oct 1 17:13:48 zalm postfix/virtual[30804]: 5086CBEDC:
    to=<>, orig_to=<>,
    relay=virtual, delay=0, status=bounced (unknown user:
    "")
    Oct 1 17:13:48 zalm postfix/cleanup[30803]: 63FC4BEE1:
    message-id=<>
    Oct 1 17:13:48 zalm postfix/qmgr[30771]: 63FC4BEE1: from=<>, size=2997,
    nrcpt=1 (queue active)
    Oct 1 17:13:48 zalm postfix/qmgr[30771]: 5086CBEDC: removed
    Oct 1 17:13:48 zalm postfix/virtual[30804]: 63FC4BEE1:
    to=<>, relay=virtual, delay=0, status=bounced
    (unknown user: "")
    Oct 1 17:13:48 zalm postfix/qmgr[30771]: 63FC4BEE1: removed

    Listing
       
    in /etc/postfix/virtual_alias_maps works.

    So forwarding to external domains doesn't work.

    What could be the problem?

    Thank you in advance,

    Rudy


  • Next message: Wietse Venema: "Re: virtual users forwarding to external domain"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD