forked from titusjose/postfix_redis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
redis_table
81 lines (81 loc) · 2.09 KB
/
redis_table
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#++
# NAME
# redis_table 5
# SUMMARY
# Postfix Redis client configuration
# SYNOPSIS
# \fBpostmap -q "\fIprefix:string\fB" redis:/etc/postfix/\fIfilename\fR
#
# \fBpostmap -q - redis:/etc/postfix/\fIfilename\fB <\fIinputfile\fR
# DESCRIPTION
# The Postfix mail system uses optional tables for address
# rewriting or mail routing. These tables are usually in
# \fBdbm\fR or \fBdb\fR format.
#
# Alternatively, lookup tables can be specified as Redis
# databases. In order to use Redis lookups, define a Redis
# source as a lookup table in main.cf, for example:
# .nf
# virtual_alias_maps = redis:/etc/postfix/redis-valias-maps.cf
# .fi
#
# The file /etc/postfix/redis-valias-maps.cf has the same
# format as the Postfix main.cf file, and can specify the
# parameters described below.
# .IP "\fBhost\fR"
# The IP address of the host that Postfix will try to connect
# to and query from.
# .sp
# Example:
# .nf
# host = 127.0.0.1
# .fi
# .IP "\fBport\fR"
# The TCP port that Postfix will connect to and query from.
# If not specified the default of \fB6379\fR will be used.
# .sp
# Example:
# .nf
# port = 6379
# .fi
# .IP "\fBprefix\fR"
# This is the prefix that is added to the query from Postfix
# before it is passed to Redis for a lookup, allowing postfix
# to use simple key:value lookups from Redis.
# .sp
# Examples:
# .nf
# prefix = VALI
# prefix = LOCAL
# prefix = REV
# prefix = HELO
# .fi
# SEE ALSO
# .na
# .nf
# postmap(1), Postfix lookup table manager
# postconf(5), configuration parameters
# ldap_table(5), LDAP lookup tables
# mysql_table(5), MySQL lookup tables
# sqlite_table(5), SQLite lookup tables
# README FILES
# .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview
# REDIS_README, Postfix Redis client support
# LICENSE
# The Secure Mailer license must be distributed with this software.
# HISTORY
# Redis support was introduced with Postfix version 3.7.
# AUTHOR(S)
# Titus Jose
#
# Updated by:
# Duncan Bellamy
#--