Results 1 to 3 of 3

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

Hybrid View

  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.
    Frrkh hmd

Similar Threads

  1. Qmail forward to remote gateway for SMTP
    By datamike in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-29-2004, 06:49 PM
  2. Changing the SMTP port?
    By Epsilon in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 04-29-2003, 12:10 PM
  3. dual port net card: port trunking?
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 02-06-2003, 10:33 PM
  4. Port 6000---the x11 port
    By flashingcurser in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 10-11-2002, 07:43 PM
  5. SMTP port not showing up on local scan
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 07-21-2002, 02:46 PM

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
  •