[ILUG] quickie

Hunt, Bryan B.Hunt at emuse-tech.com
Fri Sep 13 10:21:39 IST 2002


	
Got everything working great no, thanks for all the pointers. 



-----Original Message-----
From: Hunt, Bryan [mailto:B.Hunt at emuse-tech.com]
Sent: 13 September 2002 10:04
To: 'Philip Reynolds'; ilug at linux.ie
Subject: RE: [ILUG] quickie


cheers dude !

-----Original Message-----
From: Philip Reynolds [mailto:phil at redbrick.dcu.ie]
Sent: 13 September 2002 09:54
To: ilug at linux.ie
Subject: Re: [ILUG] quickie


Hunt, Bryan's [B.Hunt at 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 simpsons.org or ted at bundy or whatever anything except 
> stuff destined for an internal account ie root at 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 domain1.com	internal_account
root at domain2.com	internal_account
@domain1.com		catchall
@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 linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie

-- 
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie




More information about the ILUG mailing list