Postfix: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== References ==
* [http://www.postfix.org/postconf.5.html Postfix Configuration Parameters].

== Adding aliases ==
== Adding aliases ==
* Edit {{file|/etc/aliases}}
* Edit {{file|/etc/aliases}}

Revision as of 04:48, 13 July 2016

References

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