Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sendmail forwarding mail to existing Domino

Posted on 2004-10-24
5
Medium Priority
?
301 Views
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

Chiprock

0
Comment
Question by:chiprock
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12392853
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.
0
 
LVL 1

Author Comment

by:chiprock
ID: 12392865
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...
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12392901
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.
 
0
 
LVL 1

Author Comment

by:chiprock
ID: 12392960
Sure enough, I have

tcp        0      0  Server2:smtp                  *:*                     LISTEN  

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

Accepted Solution

by:
Karl Heinz Kremer earned 1500 total points
ID: 12394081
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


0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

618 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