diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-14 18:37:13 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-14 18:37:13 +0000 |
commit | 429780f3a931abd6d29e80616a6abb156e879e9d (patch) | |
tree | 112f7642c540f04a25b578628da624f6f2680365 /usr.sbin/smtpd/smtpd.h | |
parent | b0b4b10dbc7b5d1203b085c2fd3d8bef652935b4 (diff) |
Implement makemap -t and -o, for output type and dest resp.; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index de87462f5bd..85b2249136c 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.68 2009/01/30 21:52:55 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.69 2009/02/14 18:37:12 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -34,6 +34,9 @@ /* return and forward path size */ #define MAX_PATH_SIZE 256 +/* makemap mapped value text length */ +#define MAX_MAKEMAP_SIZE 256 + /*#define SMTPD_CONNECT_TIMEOUT (60)*/ #define SMTPD_CONNECT_TIMEOUT (10) #define SMTPD_QUEUE_INTERVAL (15 * 60) @@ -376,7 +379,8 @@ enum alias_type { ALIAS_FILENAME, ALIAS_FILTER, ALIAS_INCLUDE, - ALIAS_ADDRESS + ALIAS_ADDRESS, + ALIAS_TEXT }; struct alias { @@ -386,6 +390,7 @@ struct alias { char username[MAXLOGNAME]; char filename[MAXPATHLEN]; char filter[MAXPATHLEN]; + char text[MAX_MAKEMAP_SIZE]; struct path path; } u; }; |