Do you think you could attach the file? It is hard to tell what is mangled and what is real.
Plus it looks like Append needs to be used in conjunction with some other directives, read the docs below. "This should be used in conjunction with the decision structures BeginGroupIfNoLineMatching and BreakIfLineMatches. " On 2/9/06, Robert Lazzurs <[EMAIL PROTECTED]> wrote: > Hello, > > I have been having a small issue with and exim config and cfengine editfiles. > > I have tried including the following: > > Append 'auto_reply_transport:' > Append ' driver = autoreply' > Append ' from = > "[EMAIL PROTECTED]"' > Append ' once = > /etc/exim/db/${dollar}{local_part}-${dollar}{domain}' > Append ' once_repeat = 60m' > Append ' subject = ${dollar}{lookup > mysql{select subject FROM autoresponder where > address=\'[EMAIL PROTECTED]'}{$va > lue}{"Auto Reply"}}' > Append ' text = "${dollar}{lookup mysql > {SELECT message FROM autoresponder WHERE > address=\'[EMAIL PROTECTED]'}{$val > ue}}"' > Append ' to = "${dollar}{reply_address}"' > Append ' #to = "${dollar}{sender_address}"' > > Append 'auto_all_reply_transport:' > Append ' driver = autoreply' > Append ' from = > "[EMAIL PROTECTED]"' > Append ' once = > /etc/exim/db/${dollar}{local_part}-${dollar}{domain}' > Append ' once_repeat = 60m' > Append ' subject = ${dollar}{lookup > mysql{select subject FROM autoresponder where > address=\'@@${dollar}{domain}\'}{$value}{"Auto Reply"}}' > Append ' text = "\\' > Append ' ${dollar}{lookup mysql {SELECT > message FROM autoresponder WHERE > address=\'@@${dollar}{domain}\'}{$value}}\' > Append ' "' > Append ' to = "${dollar}{reply_address}"' > Append ' # to = "${dollar}{sender_address}"' > > However when doing so I get an error ("Multiple filenames in > editfiles") about trying to edit more files however I cannot see > anything in the above lines that would match. I have tried looking > for a better way to escape { and } but have not found one yet. > > If someone knows how to escape { and } or any way to stop the above > matching for file names that would be most helpful. > > > > > > -- > MSN:[EMAIL PROTECTED] |"All that is etched in stone > Yahoo:admroblaz AIM:admroblaz |is truly only scribbled in > ICQ:66324927 |sand" - RL > Jabber:[EMAIL PROTECTED] |Join Eff http://www.eff.org > e-mail:[EMAIL PROTECTED] |Take care all - Rob Laz > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine > -- Christian Pearce _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine