amavisd-new in test frameworks

Mark Martinec Mark.Martinec+amavis at ijs.si
Thu Aug 23 17:17:49 CEST 2012


Alex,

> Great, here I am.
> To be able to run ./amavisd -c ./amavisd.conf -T /tmp/av -H /tmp/av -n
> debug in a fresh extracted tree, the changes in the attached patch are
> necessary. I am not sure about the parameter nor the used variable name,
> but that should be easy to change.

Thanks.

I generalized it a bit (futureproofing, just in case),
and chose an -X with an argument, e.g.:

  amavisd -X no_conf_file_writable_check -c test.conf

(instead of an -n, which may still be handy in the future)


See the attached patch (against 2.8.0).
It also produces a warning on stderr when the option is in use.

  Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.patch
Type: text/x-patch
Size: 2528 bytes
Desc: not available
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20120823/ee727b2a/attachment.bin>


More information about the amavis-users mailing list