Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I`m developing a mailing list system and wanted to test it against big list of recipients. Is there a way configuring postfix to accept any recipients address within some test domain and deliver it to a single specified user mailbox? No other users/mailbox required. System will be testing-purpose only and accessible only from local network.

If it cant be done in postfix, is there any other possibilities using other mail server software?

share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

You have to create a catch all email account. I am guessing you are using virtual domains on your Postfix installation. In your virtual alias table you just have to define:

some_user@example.com     some_user
@example.com              some_user

And all mail that comes to @example.com domain will be saved in the some_user@example.com account.

share|improve this answer
add comment

Yes, you want to create a canonical lookup table. See the canonical manpage.

share|improve this answer
add comment

Found an easier way in main.cf:

luser_relay= catchall@dummy-domain.com

local_recipient_maps =

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.