Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-06-2011, 02:57 AM   #1
LQ Newbie
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
Postfix Virtual Users

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

So when mail is sent to user@* (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: - - works perfectly :) - - works perfectly :) - NDR - no user recognized - fails - NDR - no user recognized - fails
How I would like it to work:
Send an email to: - - - test/ - test/
vmaps (It is being postmap'ed):
test01    test/
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=<root@localhost>, size=354, nrcpt=1 (queue active)
Apr  6 10:28:15 mail-relay postfix/virtual[6117]: D3FDC62B819F: to=<>, relay=virtual, delay=11, delays=11/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "")
How do I go about setting this up?

Old 04-07-2011, 12:05 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Something like
/etc/postfix/virtual:         test         test
, maybe?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix + Dovecot + virtual users without a database? MheAd Linux - Server 6 10-18-2011 09:45 AM
postfix virtual users and mailman tiemen3r Linux - Server 1 07-22-2010 06:05 AM
PostFix forwardings with Virtual Users. Niels@debian Linux - Server 2 08-30-2006 11:52 AM
procmail with virtual users and postfix paul_mat Linux - Networking 0 04-06-2006 09:13 PM
Maildir, virtual postfix users sopiaz57 Linux - General 0 03-01-2004 10:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration