<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><b><span style="font-weight: bold;">From:</span></b> Jim Popovitch &lt;jimpop@gmail.com&gt;<br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><b><span style="font-weight: bold;">To:</span></b> Atlanta Linux Enthusiasts - Yes! We run Linux! &lt;ale@ale.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, January 11, 2010 5:03:38 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [ale] Postfix on CentOS 5.4 - How to configure for wildcard domain?<br></font><br>
On Mon, Jan 11, 2010 at 16:13, Ryan Fish &lt;<a ymailto="mailto:fishr@bellsouth.net" href="mailto:fishr@bellsouth.net">fishr@bellsouth.net</a>&gt; wrote:<br>&gt; I need to configure Postfix to accept mail sent to user@*.<a target="_blank" href="http://domain.net">domain.net</a> and<br>&gt; place in the mailbox of a local user named elist.&nbsp; This user will be the<br>&gt; catchall for&nbsp;*.domain.net.<br><br><br>One (only?) way is to setup virtual domains<br><span>(<a target="_blank" href="http://www.postfix.org/virtual.5.html">http://www.postfix.org/virtual.5.html</a>) NOTE: you will need a postfix</span><br>implementation with PCRE support<br><br>in <a target="_blank" href="http://main.cf">main.cf</a>:<br>&nbsp;  virtual_alias_maps = pcre:/etc/postfix/virtual.pcre<br><br>/etc/postfix/virtual.pcre<br>&nbsp; &nbsp; &nbsp; &nbsp; /.*@.*\.domain.tld/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  elist<br><br><br>I *think* that will work,&nbsp; make sure to remove
 domain.tld from $mydestination<br><br><br>Jim Kinney called me an ass, no less than 6 times today.&nbsp; I hope you<br>don't read my text above as that of coming from an ass.<br><br>-Jim P.<br><br>_______________________________________________<br><br>Jim,<br>
<br>
Thank you for the reply.&nbsp; I didn't end up using your exact suggestion however
I did use the logic and various results of Google searches to somehow get
things to work as needed (I'm honestly not certain how; it just started working).&nbsp; Messages sent to user@abc.domain.net are
reaching the "elist" mailbox so all appears to be well.<br>
<br>
No, I didn't read your text as coming from an ass.<br><br>Thank you.<br>-Ryan<br><br></div></div>
<!-- cg2.c204.mail.gq1.yahoo.com compressed/chunked Mon Jan 11 13:34:18 PST 2010 -->
</div></body></html>