On 1/5/2016 1:10 PM, Dennis Steinkamp wrote: > I am aware of the readme article its based on multiple hosted domains. > Correct me if i am wrong here but virtual_mailbox_maps also requires > virtual_mailbox_domains > but i don`t have any "additional" virtual_mailbox_domains, i only > need postifx to be responsible for one single domain only > and that is already taken care of with mydestination = mydomain.de > hence my question if its allright to put localhost > in mydestination so that i can use mydomain.de in > virtual_mailbox_domains.
Yes, it is correct to use mydestination = localhost.example.com virtual_mailbox_domains = example.com -- Noel Jones > The readme clearly says that you can`t list mydomain.xy in > mydestination and virtual_mailbox_domains at the same time. > My bad, i was talking about virtual_alias_domains instead of > virtual_mailbox_domains, sorry if that caused any confusion. > > Dennis > > Am 05.01.2016 um 19:00 schrieb Noel Jones: >> On 1/5/2016 9:57 AM, Dennis Steinkamp wrote: >>> Hey there, >>> >>> i would like to benefit from the convenience that virtual_users >>> bring to your configuration, that is - from my point of view - that >>> you don`t need to create local accounts for every e-mail user, >>> even though in my case i only have a few of them. >>> >>> As far as i know, you can enable virtual_users in postfix by using >>> the *virtual_alias_maps* directive, but *virtual_alias_maps* seem to >>> require hosted domains in*virtual_alias_domains*. >>> I only got one domain for which postfix will be resposible for >>> directly, therefor i have set *mydestination* to mydomain.de. >>> If i am not mistaken you shouldn`t set the same domain in >>> *mydestination* and *virtual_alias_domains *so i would like to ask, >>> what can i do to accomplish a virtual_user configuration for a >>> single domain setup? >>> I am just guessing here but i assume i could set mydestination to >>> localhost and put mydomain.de in*virtual_alias_maps* but maybe thats >>> not "best practice" or there are any side effects i am not taking >>> into account. >>> >>> As always, thanks for helping me out. :) >>> >>> Dennis >> >> Sounds as if you want a virtual MAILBOX domain, not a virtual ALIAS >> domain >> http://www.postfix.org/ADDRESS_CLASS_README.html#virtual_mailbox_class >> >> >> You can find an example setup in >> http://www.postfix.org/VIRTUAL_README.html >> >> >> >> -- Noel Jones >> >> >