[Gllug] Help with virtual hosting for postfix

Bruce Richardson itsbruce at uklinux.net
Wed Mar 20 01:29:48 UTC 2002


On Wed, Mar 20, 2002 at 12:54:52AM +0000, gllug wrote:
> On Wed, Mar 20, 2002 at 12:04:34AM -0000, Andy wrote:
> > 
> > /etc/postfix/virtual
> > 
> >     my.domain    anything as per doc
> >     test1 at my.domain    realuser at my.real.domain
> >     @my.domain            realuser at my.real.domain
> > 
> > 
> > and I do the postmap and restart postfix but now test1 at my.domain goes to
> > test1 at my.real.domain (and fails) and anyother at my.domain stays as
> > anyother at my.real.domain
> 
> The 3rd line should be
> 
> @my.domain	@my.real.domain

Oh, and if my.real.domain is your primary domain, listed in
$my_destination, then you can just do

test1 at my.domain	realuser

But try one change at a time.

-- 
Bruce

Hummingbirds are the only birds that can fly backwards, apart from
ostriches if you punch them hard enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20020320/79b668c6/attachment.pgp>


More information about the GLLUG mailing list