Results 1 to 3 of 3

Thread: qmail to use port other than 25 for smtp?

  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Cardiff, UK
    Posts
    190

    qmail to use port other than 25 for smtp?

    Hiya guys,

    I have qmail running on my email server which I have just installed using the excellent tutorials at www.qmailrocks.org, and all is workinig great internally, but I cannot send or receive messages from the big-wide-world.

    I have checked and my ISP blocks port 25, so I have paid for the mail reflector from no-ip.com to redirect all port 25 traffic to another port on my computer. However, when I am setting this up (on the no-ip.com site) it says that I don't have a emailserver on that port. I have tried searching and cannot see how I can change the default port for smtp traffic from 25 to 2525.

    I have read that it maybe soomething to do with the /service/qmail-smptd/run file, but I cannot see any indication of where to change the port number within the file.

    Any suggestions or ideas would be greatly accepted.

    Many thanks,
    Jamie

  2. #2
    Guest
    Change the port that tcpserver/inetd/xinetd listens on for qmail-smtpd. See
    the documentation for the relevant software package for details.

    :cow:

  3. #3
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear jme,
    Hello,

    I belive its qmail-smtp which use port 25 and if you want to run qmail-smtp on other port then you need to look following file.

    /var/qmail/control/conf-common

    # Host and port to listen on
    # We listen on the IPv4 local ip by default
    TCPSERVER_HOST=0.0.0.0
    TCPSERVER_PORT=${SERVICE}

    Change TCPSERVER_PORT=1025 for example and restart service

    Best Regards.
    Färrükh Ähmëd

Similar Threads

  1. mouse itself, or port?
    By s134k in forum Linux - General Topics
    Replies: 1
    Last Post: 05-16-2006, 06:55 AM
  2. difference between passive FTP and Active FTP.
    By walk2linux in forum Linux - General Topics
    Replies: 1
    Last Post: 09-24-2005, 03:43 PM
  3. Common Win 95 or 98 printing issues
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:01 AM
  4. Problem recving HTTP requests when Apache listens on port 80
    By hecter in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-30-2004, 05:27 AM

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
  •