Re: [exim] Writing to a file from an ACL

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jakob Hirsch
日付:  
To: Exim Users Mailing List
題目: Re: [exim] Writing to a file from an ACL
Alan J. Flavell wrote:

>>${run{/bin/bash -c 'echo $primary_hostname >> /tmp/blub'}}
> I suppose that particular instance is OK; but I'm always
> nervous of writing lines of that kind, just in case the
> expanded variable contains something nasty. Such as a sender
> local part that contained a semi-colon, or whatever.


Oh, right, missed that. ${quote:<string>} could do the job (if missed
nothing here), though $primary_hostname should be safe. But you never
what people put in there...