This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Making SMTP on more ports

People

I want my SMTP listener to listen on port 587 as well. This is because I am a road warrier and want to use SPF which requires that any email comes from a special address.

With sender authentication listening on port 587 does not have any issues with security. It is identical to port 25, but is not generally proxied, blocked or taken over by hotels.

Any help would be appreciated... 

Darryl


This thread was automatically locked due to age.
Parents
  • You should be able to acheive this with a NAT rule.
    Off the top of my head, I think it'd be:
    (Any source), TO EXT_IP, on port 587, change dest port to 587.

    Barry
  • Exim allows you to specify the address and port to listen on.  Remember if you make changes to your firewall using the console it voids your warranty.  To make your changes survive reboots and config changes, edit the exim.conf-default file instead of the exim.conf.  Remember to make the appropriate packet filter rules.

    edit your /var/chroot-smtp/etc/exim.conf-default file and find the line that has  the following, if its not there add it.
    local_interfaces = 

    make sure after you edit the line it has 127.0.0.1 listed in the interfaces.  To have it listen on a port other than 25, use the format

    local_interfaces = ww.xx.yy.zz.listen port number : 127.0.0.1

    so for example your public interfaces are 1.2.3.1 and 1.2.3.2 and you want to listen on port 99 for the first address, the line would look like this:

    local_interfaces = 1.2.3.1.99 : 1.2.3.2 : 127.0.0.1

    if you don't specify a listen port it defaults to 25

    Further instructions can be found at 

    http://www.exim.org/exim-html-4.40/doc/html/spec_13.html
  • Tester, it sounds like he wants BOTH port 25 and port 587.
  • He can have both by telling exim which address and port to listen on with the local_interfaces directive
Reply Children
No Data