projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0b822
)
posts:postfix: make generic regexp rules more specific.
author
W. Trevor King
<wking@tremily.us>
Fri, 14 Sep 2012 12:09:55 +0000
(08:09 -0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 14 Sep 2012 12:09:55 +0000
(08:09 -0400)
The earlier rule remapped *everything* (including the "To" addresses),
which made it hard to send email to anyone but myself ;).
posts/Postfix.mdwn
patch
|
blob
|
history
diff --git
a/posts/Postfix.mdwn
b/posts/Postfix.mdwn
index cc41e7dd15e812e5b97804bfe947e240fad4ca22..9d25d828eef9fd98d25803f8d0d73bfd523913db 100644
(file)
--- 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