dev_cache_all
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev_cache_all [2011/07/27 14:44] – created k2patel | dev_cache_all [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
Here is what i have applied on postfix. | Here is what i have applied on postfix. | ||
- | I am sending all email to " | + | I am sending all email to " |
==== main.cf ==== | ==== main.cf ==== | ||
Line 12: | Line 12: | ||
All email goes to single user no mater where it is going including local delivery. \\ | All email goes to single user no mater where it is going including local delivery. \\ | ||
- | <code ini> | + | <code ini | / |
alias_maps = hash:/ | alias_maps = hash:/ | ||
command_directory = /usr/sbin | command_directory = /usr/sbin | ||
Line 44: | Line 44: | ||
transport_maps = hash:/ | transport_maps = hash:/ | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== transport ==== | ||
+ | Create New file which create the map for transporting email.\\ | ||
+ | Please replace " | ||
+ | I am using vmail.k2patel.com where my real k2patel@k2patel.com exists. | ||
+ | |||
+ | <code ini | / | ||
+ | localhost : | ||
+ | dev.k2patel.com local: | ||
+ | k2patel.com | ||
+ | * | ||
+ | </ | ||
+ | |||
+ | You need to create hashmap of this file use following command if you dont know how to. | ||
+ | |||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Aliases ==== | ||
+ | This is where all internal redirection happens.\\ | ||
+ | Also make sure you specify all user you want redirected mail to.\\ | ||
+ | carefull -- check the k2patel user properly. | ||
+ | |||
+ | <code ini | / | ||
+ | # Person who should get root's mail | ||
+ | root: | ||
+ | backup: | ||
+ | |||
+ | |||
+ | user1: | ||
+ | user2: k2patel@dev.k2patel.com | ||
+ | k2patel: | ||
+ | |||
+ | </ | ||
+ | |||
+ | Also you need to rebuild alias database please use following command if you dont know. | ||
+ | |||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | |||
+ | == Test your mail any email it should get in your inbox. == | ||
dev_cache_all.1311777883.txt.gz · Last modified: 2020/08/10 02:28 (external edit)