[TriLUG] Postfix config to catch all domains
Randy Barlow
randy at electronsweatshop.com
Tue May 20 12:36:12 EDT 2008
On Mon, May 19, 2008 7:34 pm, Aaron Schrab wrote:
> You could add a regexp file to the virtual_maps list.
>
> In main.cf:
>
> virtual_maps = hash:/etc/postfix/virtual pcre:/etc/postfix/virtual.re
>
>
>
> Then create a new the /etc/postfix/virtual.re file like:
>
> .* allmail
Hmmm, is there perhaps a syntax problem here? I'm getting an error in the
logs that says:
warning: pcre map /etc/postfix/virtual.re, line 1: no closing regexp
delimiter ".": ignoring this rule
I've not taken the time to learn regexp's yet (on the to do list) so I'm
not sure how to fix it.
One more question: is allmail here the username that the mail would be
forwarded to? Thanks for your help sir!
--
Randy Barlow
http://electronsweatshop.com
More information about the TriLUG
mailing list