[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Postfix on CentOS 5.4 - How to configure for wildcard domain?
- Subject: [ale] Postfix on CentOS 5.4 - How to configure for wildcard domain?
- From: jimpop at gmail.com (Jim Popovitch)
- Date: Mon, 11 Jan 2010 17:03:38 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Mon, Jan 11, 2010 at 16:13, Ryan Fish <fishr at bellsouth.net> wrote:
> I need to configure Postfix to accept mail sent to user@*.domain.net and
> place in the mailbox of a local user named elist.? This user will be the
> catchall for?*.domain.net.
One (only?) way is to setup virtual domains
(http://www.postfix.org/virtual.5.html) NOTE: you will need a postfix
implementation with PCRE support
in main.cf:
virtual_alias_maps = pcre:/etc/postfix/virtual.pcre
/etc/postfix/virtual.pcre
/.*@.*\.domain.tld/ elist
I *think* that will work, make sure to remove domain.tld from $mydestination
Jim Kinney called me an ass, no less than 6 times today. I hope you
don't read my text above as that of coming from an ass.
-Jim P.