Re: [exim] How to include transport info

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: Todd Lyons
CC: Exim Users ML
Sujet: Re: [exim] How to include transport info
On 2010-09-26 at 18:35 -0700, Todd Lyons wrote:
> ...and then include it in each place it's needed:
>
> remote_smtp_webmail:
> driver = smtp
> .include_if_exists /etc/exim/dkim_transport.conf
>
> remote_smtp_authenticated:
> driver = smtp
> .include_if_exists /etc/exim/dkim_transport.conf
>
>
> Will exim allow this multiple inclusion of the same file?


Try it, and then run:

$ exim -bP transport remote_smtp_webmail
$ exim -bP transport remote_smtp_authenticated

If the options exist in both places, then you'll know that Exim does.

(Yes, I believe Exim does allow this, there's no reason it wouldn't; it
will open and read the file each time, and stat each time, but the file
should be in the buffer cache)

-Phil