- Create an æ/etc/netsvc.confÆ file, this is to tell sendmail to use æ/etc/hostsÆ for name resolution not DNS (default):
vi /etc/netsvc.conf
Add the following:
hosts=local
- Change the permissions on the æ/etc/netsvc.confÆ file to lock down root only access:
chmod 600 /etc/netsvc.conf
- Add into the æ/etc/hostsÆ file the IP address and hostname of the Lotus Notes server. If you wish to check the hostname of the server use telnet to connect to port 25 of the server:
telnet <IP address of Lotus Notes server> 25
N.B. Type: quit to close the session
Add the IP and hostname into æ/etc/hostsÆ:
vi /etc/hosts
- Copy away the original æ/etc/sendmail.cfÆ file
cp /etc/sendmail.cf /etc/sendmail.cf.orig
- Edit the æ/etc/sendmail.cfÆ and make the following changes:
Vi /etc/sendmail.cf
Change:
#DwYourHostName
To:
Dw<hostname of local server>
Change:
# "Smart" relay host (may be null)
# Relay host to forward outgoing mail not in the local domain to.
# To forward ALL mail to this relay host, uncomment the appropriate
# rule in ruleset 0, as indicated by the ruleset's comments.
#DSmailer:relayhostname
DS
To:
# "Smart" relay host (may be null)
# Relay host to forward outgoing mail not in the local domain to.
# To forward ALL mail to this relay host, uncomment the appropriate
# rule in ruleset 0, as indicated by the ruleset's comments.
#DSmailer:relayhostname
DS<hostname of Lotus Notes Server>
Save the file.
- Refresh the æsendmailÆ daemon to pick up the new changes to the æ/etc/sendmail.cfÆ file
refresh ûs sendmail
It will take a few minutes for the æpsÆ process to return:
root 5704 1 0 11:08:42 - 0:00 sendmail: accepting connections on port 25
In the interim period the following will be displayed via æpsÆ:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.