Results 1 to 2 of 2

Thread: Adding SMTP port 587

  1. #1
    Join Date
    Sep 2005
    Posts
    1

    Default Adding SMTP port

    To get exim to listen on both port 25 and port 587, you'd add the following code to the very top of the /etc/exim.conf file:

    vi /etc/exim.conf

    daemon_smtp_ports = 25 : 587

    Once saved, restart exim:

    /sbin/service exim restart




    Regards,
    Prasad

  2. #2
    Join Date
    Jul 2004
    Posts
    36

    Default Adding SMTP port

    But since port 587 is to be used only for authenticated users, you’ll also need to make few more changes:

    Here is the step by step information :

    #vi /etc/exim.conf

    Search for the line “ system_filter = /etc/system_filter.exim
    add the following underneath it,

    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:

    # 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 = *


    Open port 587 in firewall

    restart firewall

    restart exim

    You can verify it using telnet to port 25 and 587

    Regrads,
    TeamGrowth
    Ability is what you're capable of doing...
    Motivation determines what you do...
    Attitude determines how well you do it...

    U cannot discover new islands..until U have courage of losing sights !!!

    [URL="http://www.etechsupport.net"]http://www.etechsupport.net[/URL]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •