diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-11-21 18:11:59 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-11-21 18:11:59 +0000 |
commit | 1bbc73988e4669ad338c9434ebefcc80e08a69a5 (patch) | |
tree | 3adcfe8a9a39f900889ebd7723d8b280c842a06c /mflib | |
parent | a54d77908064d87a7e9439445baff7dfa17b1e79 (diff) | |
download | mailfromd-1bbc73988e4669ad338c9434ebefcc80e08a69a5.tar.gz mailfromd-1bbc73988e4669ad338c9434ebefcc80e08a69a5.tar.bz2 |
* src/bi_io.m4 (write): Implement optional third argument.
* src/bi_sieve.m4: New file.
* src/mailfromd.h (vlogmsg): New proto.
* src/main.c (capa): Request "common" capability.
(main): Register all mailbox formats (needed for sieve).
* src/Makefile.am (M4_FILES): Add bi_sieve.m4
* src/mtasim.c (process_header): chop trailing newline.
* mflib/sieve.mfh: New file.
* mflib/Makefile.am (inc_DATA): Add sieve.mfh.
* configure.ac: Set patchlevel 90.
(AM_GNU_MAILUTILS): Request 'all' and 'sieve' link flags.
* doc/mailfromd.texi: Document 3rd argument of write.
* NEWS: Update.
git-svn-id: file:///svnroot/mailfromd/trunk@1530 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'mflib')
-rw-r--r-- | mflib/Makefile.am | 1 | ||||
-rw-r--r-- | mflib/sieve.mfh | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/mflib/Makefile.am b/mflib/Makefile.am index e2130ee4..38c191f4 100644 --- a/mflib/Makefile.am +++ b/mflib/Makefile.am @@ -25,6 +25,7 @@ inc_DATA =\ match_rhsbl.mf\ revip.mf\ safedb.mf\ + sieve.mfh\ spf.mf\ strip_domain_part.mf\ valid_domain.mf\ diff --git a/mflib/sieve.mfh b/mflib/sieve.mfh new file mode 100644 index 00000000..03caa180 --- /dev/null +++ b/mflib/sieve.mfh @@ -0,0 +1,24 @@ +/* Constants for sieve interface. + Copyright (C) 2007 Sergey Poznyakoff + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME: These are duplicated in src/bi_sieve.m4. This file should be + generated automatically. */ + +const MF_SIEVE_LOG 0x01 +const MF_SIEVE_DEBUG_TRACE 0x02 +const MF_SIEVE_DEBUG_INSTR 0x04 +const MF_SIEVE_DEBUG_MAILUTILS 0x08 +const MF_SIEVE_DEBUG_PROT 0x10 |