On Mon, Aug 01, 2016 at 05:27:21PM +0100, Danny Horne wrote:
> On 01/08/2016 3:01 pm, /dev/rob0 wrote:
> > On Mon, Aug 01, 2016 at 12:31:33PM +0100, Danny Horne wrote:
> >> Can someone point me to an easy to understand tutorial
> >> on reconfiguring Postfix from serving a single domain
> >> to serving virtual domains?  Here's my setup -
> > Hi Danny, did you try:
> >
> > http://www.postfix.org/VIRTUAL_README.html ?
> >
> >> Postfix 3.1.1
> >> Uses Unix system accounts
> >> Dovecot IMAP server

> > Simplest choice would be the virtual ALIAS example, so users
> > can continue to use IMAP and authentication as before.
> 
> I want to make all the domains virtual, so where it says 'NEVER 
> list a virtual alias domain 
> <http://www.postfix.org/ADDRESS_CLASS_README.html#virtual_alias_class> 
> name as a mydestination 
> <http://www.postfix.org/postconf.5.html#mydestination> domain!' I 
> could put something like 'localhost' for that entry?

That's what I do ...

append_dot_mydomain = no
mydestination = $myhostname, localhost, lists.example.org

and in virtual_alias_maps:

user@virtual.alias.example      systemuser@localhost

See also for reference:

http://www.postfix.org/postconf.5.html#append_dot_mydomain
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to