amavisd-new in test frameworks

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


> 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.


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.patch
Type: text/x-patch
Size: 2528 bytes
Desc: not available
URL: <>

More information about the amavis-users mailing list