From: W. Trevor King Date: Fri, 14 Sep 2012 12:09:55 +0000 (-0400) Subject: posts:postfix: make generic regexp rules more specific. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46d0d8d194814c20bccce86ce2333904bc8a876a;p=mw2txt.git posts:postfix: make generic regexp rules more specific. The earlier rule remapped *everything* (including the "To" addresses), which made it hard to send email to anyone but myself ;). --- diff --git a/posts/Postfix.mdwn b/posts/Postfix.mdwn index cc41e7d..9d25d82 100644 --- a/posts/Postfix.mdwn +++ b/posts/Postfix.mdwn @@ -23,7 +23,8 @@ free local port. smtp_sasl_password_maps = hash:/etc/postfix/saslpass … # cat /etc/postfix/generic - /^(.*)@(.*)$/ jdoe@example.com + /^jdoe@(.*)$/ jdoe@example.com + /^root@(.*)$/ jdoe@example.com # postmap /etc/postfix/generic # cat /etc/postfix/saslpass [127.0.0.1]:12345 jdoe@verizon.net:YOURPASS