Postfix: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Adding aliases == * Edit {{file|/etc/aliases}} * Then run ''newaliases'': <source lang=bash> newaliases </source>") |
|||
Line 4: | Line 4: | ||
<source lang=bash> |
<source lang=bash> |
||
newaliases |
newaliases |
||
</source> |
|||
== Troubleshooting == |
|||
=== Debugging aliases === |
|||
Use '''postmap''': |
|||
<source lang=bash> |
|||
postmap -q mip@prime.immie.org hash:/etc/aliases regexp:/etc/aliases-regexp |
|||
postmap -q mip hash:/etc/aliases regexp:/etc/aliases-regexp |
|||
</source> |
</source> |
Revision as of 04:47, 13 July 2016
Adding aliases
- Edit /etc/aliases
- Then run newaliases:
newaliases
Troubleshooting
Debugging aliases
Use postmap:
postmap -q mip@prime.immie.org hash:/etc/aliases regexp:/etc/aliases-regexp
postmap -q mip hash:/etc/aliases regexp:/etc/aliases-regexp