Postfix Virtual Users

Discussion in 'Server Operation' started by drezard, Apr 6, 2011.

  1. drezard

    drezard New Member

    Basically, I want a "catch-all" user. (Not a domain catch-all, a user catch-all).

    So when mail is sent to [email protected]* (as long as the * is a domain listed in vhosts) then the mail gets dropped in this users mailbox.

    My configuration looks like the below...

    The only problem is when I send emails here is the responses I'm getting:
    Send an email to:
    [email protected] - - works perfectly :)
    [email protected] - - works perfectly :)
    [email protected] - NDR - no user recognized - fails
    [email protected] - NDR - no user recognized - fails
    How I would like it to work:
    Send an email to:
    [email protected] - 
    [email protected] - 
    [email protected] - test/
    [email protected] - test/
    vmaps (It is being postmap'ed):
    test01    test/
    [email protected]
    [email protected]
    smtpd_banner = Mail Relay
    biff = no
    append_dot_mydomain = no
    myhostname = localhost
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mynetworks =
    mailbox_command =
    mailbox_size_limit = 0
    home_mailbox = Maildir/
    virtual_mailbox_domains = /etc/postfix/vhosts
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_maps = hash:/etc/postfix/vmaps
    virtual_minimum_uid = 1000
    virtual_uid_maps = static:1000
    virtual_gid_maps = static:1000
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = ipv4
    mydestination = $myhostname
    relayhost =
    Apr  6 10:28:15 mail-relay postfix/qmgr[6106]: D3FDC62B819F: from=<[email protected]>, size=354, nrcpt=1 (queue active)
    Apr  6 10:28:15 mail-relay postfix/virtual[6117]: D3FDC62B819F: to=<[email protected]>, relay=virtual, delay=11, delays=11/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "[email protected]")
    How do I go about setting this up?

  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page