From: Hunt, Bryan (B.Hunt at domain emuse-tech.com)
Date: Fri 13 Sep 2002 - 10:03:41 IST
cheers dude !
-----Original Message-----
From: Philip Reynolds [mailto:phil at domain redbrick.dcu.ie]
Sent: 13 September 2002 09:54
To: ilug at domain linux.ie
Subject: Re: [ILUG] quickie
Hunt, Bryan's [B.Hunt at domain emuse-tech.com] 24 lines of wisdom included:
>
> I'm sure that there's some really easy way to do this.
> I want to set up a mail server for internal testing.
> It has no external incoming access.
>
> I want it to work in such a way that when it recieves an email
> for bart at domain simpsons.org or ted at domain bundy or whatever anything except
> stuff destined for an internal account ie root at domain cain will go to
> a general catch all account.
>
> Is there an easy way to set up such a catch everything system ?
Simple using postfix.
[- -]
# File: main.cf
# ----------------------------------------------
virtual_maps = hash:/etc/postfix/virtual_maps
# File: /etc/postfix/virtual_maps
root at domain domain1.com internal_account
root at domain domain2.com internal_account
at domain domain1.com catchall
at domain domain2.com catchall
[- -]
$ postmap /etc/postfix/virtual_maps
$ postfix reload
-- Philip Reynolds RFC Networks tel: 01 8832063 www.rfc-networks.ie fax: 01 8832041 -- Irish Linux Users' Group: ilug at domain linux.ie http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information. List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:50 GMT