Re: [exim] Manualroute to non standard smtp (port 2525)

Página Inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Para: Jason Meers
CC: exim-users
Assunto: Re: [exim] Manualroute to non standard smtp (port 2525)
On Tue, 5 Apr 2005, Jason Meers wrote:
>
> I would like to update the paper to include support for delivery to non-
> standard smtp ports as it comes up frequently in smaller installations
> where ISPs try to stop home users running mail servers by blocking
> inbound connections to port 25.
>
> What is the cleanest way of adding this functionality? Any help would be
> appreciated and will be included along with an acknowledgement in a new
> version of the tutorial.


I don't think there's a simple way of allowing arbitrary ports in the
route_data option. If you're willing to have a fixed set of allowed
outgoing ports then you can define a number of smtp transports like this:

    port_2525:
      driver = smtp


    port_252525:
      driver = smtp


Then users can just append port_2525 after their list of destination
hosts, separated with white space.

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