Sendmail forwarding mail to existing Domino

Posted on 2004-10-24
Last Modified: 2013-12-06
I recently install Domino 6.5.1 on a box running Red Hat 9.x (not sure on the exact version).  Domino runs using the account named "notes" and will not run as root.  From what I understand, not being a linux expert, in order for a service or app to access ports 1 - 1024 you need to be logged on as root.  Well here is the problem, when I try and run Domino smtp on port 25 (this is with sendmail off and no other services using port 25) no mail goes through.  When I switch the Domino installation to use a port above 1024 it works fine but then I have issues sending/recieving mail as everyone else is using port 25.  I did entertain using port forwarding but would rather not use that as the permanent solution.  As a solution I want to configure sendmail (running on port 25) to forward all mail to my domino installation monitoring port port 2000.

Please let me know how to do this or if there is a better solution.  Things also to keep in mind,

-  I am not sure on sending mail if it matters that I am running on Port 2000, if so then I would also need the domino installation to send its mail through Sendmail, although I think I could figure that out.
-  I would like to have it some I did not have to do any maintenance with Sendmail, so when i add a user in Lotus Notes, I don't need to do anything with Sendmail
-  Need to make sure Sendmail is not relaying anything, although currently it does not, just a consideration..

Thanks in advance for the help


Question by:chiprock
    LVL 44

    Expert Comment

    by:Karl Heinz Kremer
    Did you disable sendmail or postfix (or whatever other MTA is running usually on port 25)? If you already have a process bound to port 25, Domino can not use this port.
    LVL 1

    Author Comment

    Nothing running on port 25 as far as I can tell.  I did stop and disbable sendmail.  I do not get a response if I telnet to port 25 either...
    LVL 44

    Expert Comment

    by:Karl Heinz Kremer
    Just to be sure, run this command
    netstat -l | more

    Does it print anything about the smtp port? On my system I get this:
    tcp        0      0 *:smtp                  *:*                     LISTEN  
    This indicates that a process is listening on port 25.

    The fact that you can connect to port 80 means that it's very likely not a problem with restricted ports. I assume that Domino run's it's server proceses with setuid root so that they can access these ports.
    LVL 1

    Author Comment

    Sure enough, I have

    tcp        0      0  Server2:smtp                  *:*                     LISTEN  

    listed, how do I figure out what this is?
    LVL 44

    Accepted Solution

    Add the -p switch to netstat:

    netstat -l -p

    In my case this prints this information:
    tcp        0      0 *:smtp                  *:*                     LISTEN      4032/master  

    In the last column you see the process ID (4032) and the name of the process. Now you can run a ps co find out which program this is:

    ps -f -p 4032

    This will print something like this:

    UID        PID  PPID  C STIME TTY          TIME CMD
    root      4032     1  0 Oct20 ?        00:00:12 /usr/lib/postfix/master


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Lean Six Sigma Project Manager Certification

    There are many schools of thought around successful project management, but few as highly regarded as the Six Sigma and Lean methods. With 37 hours of learning, this training will explain concrete processes for increasing efficiency and limiting wasted time and effort.

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    856 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now