Re: [exim] realtime logging local delivery into mysql

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Mark Elkins
CC: exim-users
Sujet: Re: [exim] realtime logging local delivery into mysql
On Fri, 11 Feb 2005, Mark Elkins wrote:
>
> 1 - I shouldn't be using 'message_suffix' - but needed a variable that
> transports/appendfile would allow me to tack an MySql query on to (the
> reason that there is {}{} at the end is to not actually append anything
> on to e-mails received!) - what should I use?


To be honest I can't think of anything better.

> 2 - Problem with Variables - '$spam_score_int' is not documented
> anywhere ('$spam_score' doesn't work!) - where does one find a
> definitive list of variables - I'd like to add the MailID that exim uses
> in the text log file - so can do tie-ups if needed.


$spam_score_int is an exiscan option. The full list of variables is in the
specification, though there may be additions in the NewStuff file and in
any patches you have applied.

> 3 - With the above delivery - its a modified 'mailbox' delivery - when a
> new domain is added for the first time, permissions and ownership (of
> $domain) is not what I want (755/smmsp:) - how should the code look?
> (have not found many examples for maildir+virtual domain delivery...)


Try setting the directory_mode option.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}