From 46d0d8d194814c20bccce86ce2333904bc8a876a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 14 Sep 2012 08:09:55 -0400 Subject: [PATCH] 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 ;). --- posts/Postfix.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2