• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Sendmail forwarding mail to existing Domino

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


  • 3
  • 2
1 Solution
Karl Heinz KremerCommented:
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.
chiprockAuthor Commented:
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...
Karl Heinz KremerCommented:
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.
chiprockAuthor Commented:
Sure enough, I have

tcp        0      0  Server2:smtp                  *:*                     LISTEN  

listed, how do I figure out what this is?
Karl Heinz KremerCommented:
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:

root      4032     1  0 Oct20 ?        00:00:12 /usr/lib/postfix/master

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now