Luca Berra ha scritto:
Giuseppe Ghibò wrote:
Luca Berra ha scritto:
i'd also like for the rpm to provide a modified master.cf with all
goodies described in README.postfix (the part below the ascii art
diagram i mean)
You are right, but indeed, I was thiking to something different. Instead
of a
awkward %post script which with some perl/sed/grep would add the lines
to master.cf and main.cf,
rather only a line to /etc/sysconfig/amavis, containing some variable
(e.g. AMAVISD)to "yes" or "no". Then a stand-alone script (e.g.
postfix-amavisconf) which would configure or un-configure the
master.cf/main.cf according to this value.
yes,
i like the idea.
L.
P.S. you don't need perl/sed/grep for main.cf (postconf -e rocks), but
you would for master.cf.
yes for main.cf is not needed because only content_filter is needed to
modify.
Bye.
Giuseppe.