Exim Alternative Port

NickFritz

Verified User
Joined
Sep 6, 2005
Messages
81
I wish to allow port 25 AND port 587 for SMTP as port 587 is the recommended alternative smtp port.

Because the largest ISP is australia blocks port 25 for external SMTP servers.

How would i do this?
 
It's already included in the newest version of SpamBlocker, Version 2.

Version 2 is currently in beta.

I've written John at DA and I hope we can make this version standard by the end of the week.

If you don't want to wait you can find this line:
Code:
system_filter = /etc/system_filter.exim
in /etc/exim.conf

and then immediately underneath it, put:
Code:
daemon_smtp_ports = 25 : 587
But since port 587 is to be used only for authenticated users, you'll also need to make this change; the following code needs to be put under the first ruleset under the "check_recipient::" section:

Code:
# to restrict port 587 to authenticated users only
# see also daemon_smtp_ports above
accept  hosts = +auth_relay_hosts
        condition = ${if eq {$interface_port}{587} {yes}{no}}
        endpass
        message = relay not permitted, authentication required
        authenticated = *
Jeff
 
It's part of the latest Spamblocker Version 2 exim.conf file. But the file is not yet an official part of DA.

You can get it from my download page

here but be sure to read the README and make the necessary changes.

Jeff
 
Back
Top