maidag: improve forwarding capability, add a testcase for it.
* maidag/forward.c (check_forward_permissions): Keep track of the processed files. Refuse to process a file twice. (process_forward): Rewrite using streams instead of FILE. (maidag_forward): Accept absolute file names (mainly for testing). * maidag/maidag.c (forward_checks): New keyword "owner". (cb2_forward_file_checks): New keyword "none". (main): Require at least one recipient in MDA mode. * maidag/maidag.h (FWD_OWNER): New mask. * maidag/tests/forward.at: New file. * maidag/tests/Makefile.am (TESTSUITE_AT): Add forward.at * maidag/tests/testsuite.at: Include forward.at.
Showing
6 changed files
with
109 additions
and
27 deletions
-
Please register or sign in to post a comment