<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 <jimpop@gmail.com><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! <ale@ale.org><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 <<a ymailto="mailto:fishr@bellsouth.net" href="mailto:fishr@bellsouth.net">fishr@bellsouth.net</a>> wrote:<br>> I need to configure Postfix to accept mail sent to user@*.<a target="_blank" href="http://domain.net">domain.net</a> and<br>> place in the mailbox of a local user named elist. This user will be the<br>> catchall for *.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> virtual_alias_maps = pcre:/etc/postfix/virtual.pcre<br><br>/etc/postfix/virtual.pcre<br> /.*@.*\.domain.tld/ elist<br><br><br>I *think* that will work, make sure to remove
domain.tld from $mydestination<br><br><br>Jim Kinney called me an ass, no less than 6 times today. 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. 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). 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>