Re: [exim] Different configuration for different ports

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Luca Bertoncello
Υ/ο: Exim-Users ML
Αντικείμενο: Re: [exim] Different configuration for different ports
On Thu, 22 Sep 2005, Luca Bertoncello wrote:
>
> Now the question: is it possibile to configure Exim to use different
> configuration for different port


Yes. The acl_smtp_* options are expanded, so you can choose your acl
based on the port number. For example,

    acl_smtp_rcpt = acl_check_rcpt_$interface_port


    # ...


    acl_check_rcpt_25:


        # acl clauses for port 25


    acl_check_rcpt_587:


        # acl clauses for port 587


If you want to look at an extended example, see
http://www.cus.cam.ac.uk/~fanf2/hermes/doc/talks/2005-02-eximconf/

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}}