• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 909
  • Last Modified:

Virtual Postmaster in Postfix

How do you setup a postmaster/abuse virtual user for each virtual domain in postfix without having to go through and manually create each one. Is there a way of creating it for all virtual domains?
0
Noodles22
Asked:
Noodles22
  • 2
1 Solution
 
ezatonCommented:
You could use your /etc/aliases. Edit the file and write:
postmaster@domain1.com: joe@domain1.com
postmaster@domain2.com: jack@domain2.com
postmaster@domain3.com: root
postmaster@domain4.com: root

and so on. Afterwards, run the command 'newaliases' and you're set.
0
 
ezatonCommented:
Sorry - a small addition - after newaliases, run
postfix reload

Good luck.
0
 
mariourkCommented:
I've been playing around with this, and I'm afraid you can't do it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now