1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Qmail SMTP On Alternate Port For FreeBSD

Discussion in 'Plesk for Linux - 8.x and Older' started by MattR@, Dec 20, 2005.

  1. MattR@

    MattR@ Guest

    0
     
    Does anyone have any idea how to accomplish Qmail SMTP running on an alternate port for FreeBSD, the copying, /etc/services instructions for RedHat don't work / apply to the FreeBSD install. ANY help would be appreciated.

    Matt
     
  2. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    in /etc/services

    smtpXXX NEWPORT/tcp mail #Simple Mail Transfer
    smtpXXX NEWPORT/udp mail #Simple Mail Transfer

    XXX= somehting unique so its different from just smtp, and NEWPORT is the port you wish to run it on (make sure you dont interfere with anything else)

    in /etc/inetd.conf

    copy the line that starts:

    smtp stream tcp nowait root

    and change smtp to smtpXXX

    Now simply restart inetd

    kill -HUP `cat /var/run/inetd.pid`

    and check its running with

    telnet localhost NEWPORT
     
  3. agubaira

    agubaira Guest

    0
     
    Hi Mikk,

    The posted solution allows Qmail to listen on both port 25 and newport for SMTP connections, or it only substitutes port 25 with newport ?

    Thanks
     
  4. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    it enables connections on both ports.
     
  5. flasher

    flasher Guest

    0
     
    Problem

    Ok.. everythings looks right... but when i try to send to an email that the domain isn't on my server i got 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

    Anyone knows whats wrong?

    Thanks in Advanced.
     
  6. dpalme

    dpalme Guest

    0
     
    Tried those instructions

    and when I do a telnet localhost 2525 it says connection refused.......

    Any additional help?
     
Loading...