You are on page 1of 42

Open Mic on

SMTP Best Practices, Configurations and


Troubleshooting on Lotus Domino.
Manisha Parida and ndira Gandi
25
th
April 2012
1
OPEN MIC LOTUS TEAM
OPEN MIC LOTUS TEAM
Manisha Parida - Lotus Technical support engineer
Presenter
Indira Gandi - Lotus Technical support engineer
Presenter
Hansra Mali - Lotus Technical Ad!isor
"ocussing on Notes#$o%ino& LotusLi!e
'anit 'ai - Lotus Technical Ad!isor
"ocussing on entire Notes#$o%ino
(a)a!el 'aendran - Lotus Technical Ad!isor
"ocussing on entire Notes#$o%ino
*ina)a+ Ta!argeri , Lotus Support
"acilitator -or Open Mics
2

Overview of SMTP Mail Routing

Best practices for configuring SMTP Mail routing

Helpful tools to Troubleshoot SMTP issues

Troubleshooting of nbound SMTP ssues

Troubleshooting of Outbound SMTP issues

Case Studies on most Common issues reported

Useful server commands

Additional resources

Q & A
Agenda
Agenda
3
SMTP Mail 'outing- Ter%s and Co%ponents
SMTP Mail 'outing- Ter%s and Co%ponents
SMTP .Si%ple Mail Transport Protocol/ is the industr) standard Internet %ail protocol
$e-ined in '"C0102 ( http://www.ietf.org/rfc/rfc2821.txt )
updated in 2008 with RFC5321 (current - http://www.ietf.org/rfc/rfc5321.txt )
Domino and Non-Domino Components:

The !T" #istener Tas$

er%er Config&ration doc&ments

'(o)a( Domain doc&ments

*e(a+ hosts

,oreign !T" Domain doc&ments

!T" Connection doc&ments

mart hosts

,irewa((s

!- *ecord

DN ser%er
4
SMTP In3ound con-iguration
SMTP In3ound con-iguration
nbound SMTP server defined in DNS MX records
SMTP Listener Task in Server Document
GDD Global Domain Document
5
Glo3al $o%ain $ocu%ent
Glo3al $o%ain $ocu%ent
6
SMTP Out3ound con-iguration
SMTP Out3ound con-iguration
Configuration Document
Using the Relay host field in configuration document
Using Foreign SMTP Domain Document and SMTP connection document
7
SMTP Out3ound con-iguration.Continued44/
SMTP Out3ound con-iguration.Continued44/
Using Relay host in Configuration document
8
SMTP Out3ound con-iguration.Continued44/
SMTP Out3ound con-iguration.Continued44/
Using Foreign SMTP Domain Document and SMTP connection document
NOTE: Domain name mentioned in Foreign SMTP Domain document is not real, it's a virtual domain
9
SMTP Out3ound con-iguration.Continued44/
SMTP Out3ound con-iguration.Continued44/
Using Foreign SMTP Domain Document and SMTP connection document
The SMTP Connection docu%ent speci-ies a connection 3et5een a *irtual $o%ain .speci-ied in
"oreign SMTP $o%ain docu%ent/ and an SMTP ser!er4
The do%ain na%e listed in the "oreign SMTP $o%ain docu%ent %ust %atch the destination
do%ain na%e speci-ied in the SMTP Connection docu%ent4
10
In3ound#Out3ound SMTP Scenarios
In3ound#Out3ound SMTP Scenarios
Only one server for all inbound and outbound mails
All servers route outbound nternet mail and one server routes inbound nternet mail
One for inbound nternet messages and one for outbound messages
11
In3ound and Out3ound SMTP 'outing on One Ser!er
In3ound and Out3ound SMTP 'outing on One Ser!er
INTERNET
Mail1/Acme
Mail2/Acme
Mail3/Acme
SMTP Listene ena!le"
SMTP #$t!%$n" Ena!le"
12
All ser!ers route SMTP Out3ound %ails and
All ser!ers route SMTP Out3ound %ails and
One ser!er recei!e SMTP In3ound %ails
One ser!er recei!e SMTP In3ound %ails
Mail1/Acme
Mail2/Acme
Mail3/Acme
INTERNET
SMTP Listene ena!le"
SMTP #$t!%$n" Ena!le"
SMTP #$t!%$n" Ena!le"
SMTP #$t!%$n" Ena!le"
13
One Ser!er recei!es SMTP In3ound %essages and
One Ser!er recei!es SMTP In3ound %essages and
One ser!er routes SMTP Out3ound %ails
One ser!er routes SMTP Out3ound %ails
Mail1/Acme
Mail2/Acme
SMTP2/Acme
INTERNET
SMTP1/Acme
SMTP Listene ena!le"
SMTP #$t!%$n" Ena!le"
14
6EST Practices ,
6EST Practices , To +no5 5hen $o%ino acts as Open 'ela) and To +no5 5hen $o%ino acts as Open 'ela) and
ho5 to %a+e it close 'ela) ho5 to %a+e it close 'ela)
Telnet sessi%n t% &n%' i( )%min% is %*en Rela+
15
6EST Practices , $o%ino Con-iguration 'estrictions
6EST Practices , $o%ino Con-iguration 'estrictions
SMTP nbound Controls
T% c%n(im )%min% is cl%se" ela+
16
6EST Practices - SMTP In3ound Authentication
6EST Practices - SMTP In3ound Authentication
1.Open Server Document
2.Select Ports > nternet Ports > Mail Tab
17
6EST Practices -
6EST Practices - $o%ino Con-iguration 'estrictions .Continued44/ $o%ino Con-iguration 'estrictions .Continued44/
SMTP Outbound Controls
18
Help-ul tools to trou3leshoot SMTP issues
Help-ul tools to trou3leshoot SMTP issues
NSLookup
Telnet
MxToolBox
Network Tools(Wireshark)
19
Using NSLoo+up7
Using NSLoo+up7
NSLookup is necessary to resolve a domain name's MX (Mail Exchange) record
To use NSLOOKUP, enter in the following at a command prompt:-
-Nslookup (enter)
-Set type=mx (enter)
-Type the domain name (e.g., xyz.com)(enter)
Valid MX records for the specified domain will be displayed.
Use the the hostname or P address returned for the mail exchange record.
Sample ouput of nslookup:
MX record: acme.com N MX 5 mail1.acme.com
MX record: acme.com N MX 5 mail2.acme.com
MX record: acme.com N MX 10 mail3.acme.com
MX record: acme.com N MX 10 mail4.acme.com
20
Testing Using Telnet7
Testing Using Telnet7
Steps for sending mail from Telnet:
1 . Open command prompt
2. Type "telnet domain name(xyz.com) 25" and press "enter
3. Type "helo domain name(xyz.com)" and press "enter
4. Type "mail from: <joe_doe@>anydomain.com>" and press "enter
5. Type "rcpt to: <abc@xyz.com>" and press "enter"
6. Type "data" and press "enter"
7. Type in any text and press "enter"
9. Type " . " and press "enter"
10. Type "quit and press "enter
f successful, mail will be delivered to recipient specified in Step 5.
21
M8Tool6o87
M8Tool6o87
Mxtoolbox is an integrated tool gives users the ability to do different types of lookups
(MX record, DNS, blacklist and SMTP diagnostics ) from one common location.
To use this tool go to www.mxtoolbox.com.
22
Net5or+ Tools .9ireshar+ /7
Net5or+ Tools .9ireshar+ /7
.
Out3ound SMTP sessions %a) -ail consistentl) or inter%ittentl)4 $e3ug and log anal)sis re!eals the
connection 5as 3ro+en a3ruptl) 5ith a status code7 0:;; or 0;<04
E8a%ples7
SMTPClient7 $ata Send "ailed ====== 3)tes& Status7 0;<0
SMTPClient7 Connection 3ro+en a-ter an error sending $ATA co%%and
SMTPClient7 Connection ter%inated 5ith status7 0:;;
'outer7 No %essages trans-erred to >ac%e? .host ac%e/ !ia SMTP7 Ser!er not responding,
In the 3elo5 e8a%ple& -ro% destination IP address 0:@41;42AB40C SMTP 'etrans%ission is
happening4TCP 'etrans%ission Occurs 5hen all the data in the pac+et has 3een seen in one or
%ore pre!ious pac+ets4 In this case )ou need to chec+ 5ith )our net5or+ tea% to +no5 5h)
'etrans%ission is happening
"or %ore in-or%ation on TCP Anal)De SeEuence Nu%3ers re-er
http7##5i+i45ireshar+4org#TCPFAnal)DeFSeEuenceFNu%3ers
23
Trou3leshooting In3ound SMTP issues7
Trou3leshooting In3ound SMTP issues7
Scenario 1:
Domino is directly receiving mails from nternet:
All nbound Mails are not receiving:
- ssue "Sh task command on Domino console. f you see "SMTP Server: Listening for requests on port 25,
verify if Mx records are exists for your Domain in DNS Configuration. f not contact SP Provider and obtain.
- f SMTP server not running Go to the, Basics tab of the Server document and verify "SMTP Listener Task is
enabled or not.
- "SMTP Server listening for requests on a different port than 25,reset the Domino nbound SMTP port
back to '25' in the Server document, Ports, nternet Ports, Mail Tab
- Check for any error message on the console or gather if any DFR is received.
- f SMTP listener task is enabled then perform Telnet to Domino server on port 25 to check connectivity
from Outside Firewall. f telnet is successful domino can accept mail.
- But f Telnet fails with 4XX or 5XX error message during the exchange of commands,
gather the error message and call Lotus Support.
- f telnet fails from Outside firewall, find a workstation inside firewall and again perform telnet test.
f Telnet is successful inside Firwall inbound mail routing problem likely to be caused by firewall blocking.
- f telnet fails inside firewall also Telnet directly from the physical server to itself
- Debugs which can be used are SMTPDebugO=1 & Console_log_enabled=1.
24
Trou3leshooting In3ound SMTP issues cont44 Trou3leshooting In3ound SMTP issues cont44
Scenario 2:
Non Domino Gateway Sits Between nternet and Domino:
- f your non-Domino gateway is unable to receive mails from internet contact Gateway support to troubleshoot
why it cannot receive SMTP mail.
- f gateway is receiving SMTP mail but unable to transfer to Domino, perform telnet test to check connectivity.
- f telnet successful as shown in below fig domino can receive mails, else contact Network administrator.
- debugs can be used SMTPDebugO = 3 & consoloe_log_enabled=1
25
$e3ug para%eters used in Trou3leshooting In3ound SMTP issues7 $e3ug para%eters used in Trou3leshooting In3ound SMTP issues7
1. SMTPDebugO = value
Description: Enables the logging of all data received by the SMTP listener task:
0 - No logging
1 - Number of bytes sent and received during the SMTP conversation
3 - Logs all data received by the SMTP task
4 - RFC822 data (message data)

Caution :Use SMTPDebugO only when necessary and disable it again as soon as possible. t can cause the
log file to grow very large, and logs the contents of received messages.
2. Debugrouterlookup = value
Description:This parameter will display how the Router task resolves a name lookup.
0 No Logging
1 - Enables Logging
3. SMTPSavemportErrors =value
Description: This parameter can be set to cause the SMTP listener to save the message context exactly as it
is received
0 - Disabled
1 - Save all messages that fail to import (parse/save in mail.box).
2 - Save all messages that are received at the server.
3 - Save all inbound messages during import, delete all messages that have been successfully
received and written into mail.box.
Enable SMTPSaveFileFrom = <sender's internet address> to capture a TMP from Specific sender
mm/dd/yyyy 01:46:24 PM SMTP Server [FFF91EAD:0004-FFF6A511] RFC822 message stream saved to
C:\WNDOWS\TEMP\c.server.5.0.10.Data\st943355.TMP
26
Trou3leshooting Out3ound SMTP issues7
Trou3leshooting Out3ound SMTP issues7
1) A Delivery Failure Report returned:
f a Delivery Failure Report is returned to the sender, search Lotus Support KB for DFR error
message. f not found or still unresolved,call into Lotus Support.
2) No Delivery Failure Reports are returned, but the internet recipient never receives the message:
Open the MAL.BOX file on the Domino Server & check the status of message:
f Message is in a DEAD state:
A message will be in a DEAD state when it cannot be routed forward or backward. This can happen
when the intended recipient of the original message is unreachable and the Delivery Failure Report
fails to send back to the original sender as well. This is typically seen with spoofed sender
addresses (SPAM)
f Message is in a HELD state:
There are only three reasons why a message may be HELD :
a) Domino is configured to hold undeliverable mail. (Enabled in the Configuration Settings
document under the Router/SMTP, Advanced, Controls tab, in the section
"Restrict name lookups to primary directory only)
b) There is a server mail rule configured to mark particular messages HELD. ( Enabled in the
Configuration Settings document under the Router/SMTP, Restrictions and Controls,Rule tab)
c) Third party products; particularly Anti-Virus software. (This is themost common reason)
27
Trou3leshooting Out3ound SMTP issues cont44 Trou3leshooting Out3ound SMTP issues cont44
f Message is in PENDNG state:
-Check for any error on the console for transferring the message to the next hop.
-ssue command tell router show queue to understand more on the situation
f message state is WAT:
Two possible reasons:
a) Message is tagged low priority and waiting for the low priority routing time range
b) Connection document setting shows "Route at once if X messages pending" and the
threshold of X has not yet been reached.
f message state is BUSY:
ssue the command show task at the server console:
if All router threads are in a state of "Connecting to ..." or "Transferring to ...". This can
indicate server is simply under high load and mail is waiting for transfer threads to free up
from other transfers.
f message state is Retry:
Check the column title "Reason of last error"
a)f it says, "Server not responding",Use Telnet to test connectivity to remote server on
port 25 (if SMTP) and 1352 (if NRPC)
- f unable to connect, then this is most likely a network or firewall problem. Please
contact your network administrator or SP Provider.
-f able to connect, Domino may have been given a wrong value from DNS resolving the
destination server.
b)f it says, "400 SMTP Protocol Returned a Transient Error, this is also typically a network
or destination server related. t is recommended you contact your network administrator or
the other domain's administrator
28
$e3ug para%eters used in Trou3leshooting Out3ound SMTP issues7 $e3ug para%eters used in Trou3leshooting Out3ound SMTP issues7
1.SMTPClientdebug =value
This parameter is enabled to capture the outgoing SMTP protocol conversations.This is for all messages transferred by the router to
other servers (Domino orotherwise) via the SMTP protocol.
0-No logging
1 - Enable capture of outbound SMTP message transfer protocol.
2.SmtpSaveOutboundToFile=value
(0 = Off, 1= On) will result in each outbound SMTP message being copied to a temporary file on the server. These messages will be
saved as individual TMP files within the TMP directory specified for the server. The file names will be STXXXXXX.TMP (where
XXXXXX will be 6 numerical digits). The contents of the files will contain the header information and the MME information.
Successful Sample SMTPClientdebug Output:
04/16/2012 03:11:21 PM [1348:000E-2708] SMTPClient: Attempting to Connect: Host N.mail2.acme.com, Port 25, SSL Port 0, Connecting Domain divnotes2.laminex.com
04/16/2012 03:11:21 PM [1348:000E-2708] SMTPClient: Connection successful
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 220 N.mail2.acme.com ESMTP Sendmail 8.14.4/8.13.1/NCO v10.0 AVin; Tue, 17 Apr 2012 0
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: CommandEHLO: EHLO divnotes2.laminex.com
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250- N.mail2.acme.com Hello ralagari.acme.com [9.124.240.189], pleased to meet you
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250-ENHANCEDSTATUSCODES
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250-PPELNNG
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250-8BTMME
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250-SZE 20000000
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250-DSN
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250-STARTTLS
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: SMTP Authentication is not required by local server. Username: -blank-
04/16/2012 03:11:22 PM [1348:000E-2708] SMTPClient: Attempting to SubmitMessage:
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient:!"#$%%&'(()*'+,-.+,/0(-1')&()2'0-+#34567895:4;<=>4/+-'(?$@?A"4(-?A$%??B;=>
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: Pipelined commands:
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: MCDE FFOM:GHotes.adminIlamineJ.comK SZE=1682
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: FCPT TO:GLames.smitMIacme.comK
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: DATA
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: End of pipelined commands
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250 2.1.0 <Hotes.adminIlamineJ.com>... Sender ok
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 250 2.1.5 <Lames.smitMIacme.com>... Recipient ok
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 354 Please start mail input.
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: Data Send Succeeded 476 bytes
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 2NO Mail Pueued for deliverQ.
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: Attempting to Disconnect:
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: CommandQUT:
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: ReceiveResponse: 221 Closing connection. Rood bQe.
04/16/2012 03:11:25 PM [1348:000E-2708] SMTPClient: Connection terminated successfullQ
04/16/2012 03:11:25 PM Router: Transferred 1 messages to ACME.COM (host N.mail2.acme.com) via SMTP 29
Use-ul Ser!er Co%%ands7
Use-ul Ser!er Co%%ands7
Tell router dump routing tables (Displays to console routing tables)
Tell router show (Displays the message state and threads)
Tell router list main (Shows the state of messages in MAL.BOX files)
Tell router display stat (Shows sizes, delivery time, hops )
Sh stat mail (Shows mail routing statistics)
Restart task router (Automatically restarts the Router task, or SMTP, POP3, etc)
Route * (Routes all pending mail)
Sh nlcache reset (Clears the name lookup cache used by the Router)
Trace (Domino server name)
Tell SMTP update config (dynamically updates saved changes from the configuration document for SMTP)
Tell router update config (same as above, but for Router task)
Tell router c (preforms in-place compaction that is similar to the 4 am compaction)
You can refer, Tell commands for the Domino router (TN # 1382161)
URL: http://www.ibm.com/support/docview.wss?uid=swg21382161
30
Case Stud) 27
Unable to Route all outbound SMTP mails.
a) n Lotus Domino, you notice that your outbound SMTP server not routing all the emails but held in the mail.box.
" Tell router sh queue task displays the error message 'Waiting for DNS availability' .
> tell router show queue
[05D8:0002-069C] Msgs State Via Destination
[05D8:0002-069C] 12 WaitingForDNS Waiting for DNS availability.
[05D8:0002-069C] Transfer Threads: Max = 11; Total = 0; nactive = 0; Max Concurrent = 5
[05D8:0002-069C] Delivery Threads: Max = 11; Total = 0; nactive = 0
This ndicates Problem is in your DNS server. contact your Network admin or SP Provider to resolve DNS related
issues.
Some Known issues reported on Domino SMTP server running on a Windows 2000 or Windows 2003 machine fails
to route outbound SMTP messages, first intermittently, then completely. DNS errors seen.

Contact Microsoft support team for possible patches.

ssue can also be resolved by adding DNSServer=P address, P address(where P is the P address of the DNS
server that Domino should use) to the notes.ini of the server experiencing the issue for for Domino versions 8.5.1
or earlier. Domino 8.5.2 onwards this parameter no longer used.

31
Unable to Route all outbound SMTP mails cont..
bS n Lotus Domino, you notice Lotus Domino mail server stops routing mails and mails are stacking up in mail.box.
" Tell router sh queue task displays error message as 'Waiting for directory availability'
Enabling DebugRouter=3 debug displays below error message.

One or more Directory Assistance Domains used to process NAMELookup requests was unavailable.
12/09/2010 01:30:08 PM Router: Unable to dispatch message 006A6A5A to
<user@graceland.xxxxx.xxx.com>.A remote directory resource is unavailable, message will be requeued.
ssue Sh Xdir on domino console to display information about all the directories a server uses for directory
services.
This situation occurs because of one of the following scenarios:
1. The Directory Assistance (DA) database is corrupt. Recreate if it's corrupts.
2. One or more of the Directory Assistance documents is referencing a database on a remote server is
unreachable, or the replica referenced does not exist.
3. One or more of the Directory Assistance documents is referencing an LDAP directory that is unreachable.
verify connectivity to these servers by telneting to them on port 369.
A temporary workaround while the unavailable resource was being identified or addressed
To Add notes.ini "RouterPartialLookupResults=2 to ignore unavailable replicas or
disable the Exhaustive Lookups field in the Configuration Document.
32
Unable to Route all outbound SMTP mails cont..
cS n Lotus Domino, you notice that your outbound SMTP server not routing all the emails but held in the mail.box.
" Tell router sh queue task does not display any error message:

Most Likely to be an AntiVirus causing message to be held, check if any specific field in the mail document in the
mail.box (like Mailbox_Applock= "TrendMicro_SMD).
f TrendMicro Antivirus is running on Domino it Adds SMStopMail parameter in the domino server notes.ini
SMStopMail = 0 (mail is delivered without scanning)
SMStopMail = 1 (mail is held until scanning is restarted)
To resolve the issue temporarily disable TrendMicro task running on Domino & change SMStopMail parameter
value to 0.Then contact TrendMicro support team to further investigate why.

To release all mails which are being locked create below command on mail.box to remove the Mailbox_applock
Field from held documents.
Field RoutingState:=@DeleteField
Field Mailbox_AppLock:=@DeleteField
Dead Failure status Shows "Symantic Antivirus/content filtering scan is pending".
To resolve the issue temporarily quit SMSDom task running on Domino server and contact Symantec support
team for Further investigation.
f No Antivirus is running can be related to Mail.box corruption.
Recreate Mail.box to resolve the issue.
33
Case Stud) 07
Unable to Route outbound SMTP mails to Specific Domain.
Check "tell router sh queue to understand last error reported by router to this particular domain.
Enable SMTPClientDebug=1 parameter to capture Outgoing SMTP Conversation.
Telnet to Effected Domain on Port 25.f Telnet and SMTPClientdebug Output gives same result then there is no
issue from the Domino End.
Possible reasons:
a)Sending server DNS is unable to resolve or wrong mx records returned for Destination server.

To resolve issue temporarily Create Foreign SMTP domain document to by pass the DNS query.
34
Unable to Route outbound SMTP mails to Specific Domain cont...
b)Antispaming & configuration settings like rule to block mails from Specific domains at the
destination Domain.
1/05/2009 11:29:03 AM [15A8:0016-17C0] SMTPClient: ReceiveResponse: 250 2.1.0
<notes.admin@laminex.com> sender ok
11/05/2009 11:29:03 AM [15A8:0016-17C0] SMTPClient: ReceiveResponse: 550 5.1.1
<james.smith@acme.com> recipient rejected.
To Resolve Contact destination domain Administrator.

c) Blacklisting P address.
n One case below error message displays on Domino console.
Router: Message 001E5BAE Not transferred via SMTP to for N.mail2.acme.com james.smith@acme.com
554 5.7.1 service unavailable; Client Host[115.111.156.194] blocked using Spamhaus.mailbox.pw;
http://www.spamhaus.org/query/bl?ip=115.111.156.1
To resolve remove P address from Blacklist.
Temporary solution is to add sending server blacklisted P to the destination server Whitelist.
35
Case Stud) B7
Unable to receive messages after moving user to new server
Users Mailfiles are moved to a different server and removed the maifile from the previous server but you notice
that router keeps attempting to deliver mail to the Old location. Why?

Make sure the Person document in the replica located on the server that is showing the problem already
reflects the move .
f Users person document, document properties have fields "NewMailServer" and "NewMailFile".
remove the fields "NewMailServer" and "NewMailFile" & set the correct values for "MailServer" and
"MailFile"
To Remove fields Create Agent using Below Code.
FELD NewMailServer := @DeleteField;
FELD NewMailFile := @DeleteField;
36
Case Stud) A7
Unable to relay messages from Blackberry or pplication server!
Unable to relay messages from Blackberry server or any application server through Domino SMTP server
with Error message "554 Message rejected for policy reasons.

When Domino SMTP server is configured as Closed Relay connecting Server P Addresses should be
excludeded from AntiRelay Checks for Successful relay through Domino SMTP server.

37
Case Stud) ;7
Unable to send"receive mails to"from Specific domains!
a)Unable to send mails to specific domains:
Enabling SMTPClientdebg=1 displays below few error messages.

SMTPClient: ReceiveResponse: 250 Refused. Your reverse DNS entry does not resolve.
SMTPClient: ReceiveResponse421 Refused. Your reverse DNS entry does not resolve.
SMTPClient: CommandRSET:
SMTPClient: Connection terminated with status: 2562
Router: No messages transferred to ACME.COM (host N.mail2.acme.com) via SMTP: SMTP Protocol
Returned a Transient Error
SMTPClient: Attempting to Connect: Host N.mail2.acme.com, Port 25, SSL Port 0,
Connecting Domain divnotes2.laminex.com
SMTPClient: Connection successful
SMTPClient:ReceiveResponse: 421 4.7.1 : (DNS:NR)
Destination server is configured for a Reverse DNS Lookup and sending server do not have PTR
record defined in DNS server.
Contact Network or SP team to make a proper reverse PTR record for your domain.
b)Unable to receive Mails from Specific domains:
You Domino server is configured for reverse DNS Lookup for all connecting domains in configuration document
Router/SMTP-->Restrictions and controls -->SMTP nbound Controls-->Verify Sender's domain in DNS .
Disable Verify Sender's domain in DNS or
Add SMTPReverseLookups=1 parameter to Domino server's Notes.ini or
Suggest Connecting domain to have PTR record in DNS Server.
38
Case Stud) <7
Mail being delivered to t#e wrong recipient!
f mail is being delivered to the wrong person, check
- Person document of the recipient nternet Address & Mail fle name.f it is Wrong Correct the same.
- Configuration document, Router/SMTP tab,Address lookup field if it's set to "Fullname then local part, change t
to "Fullname onlymake sure this setting is done on the first server that receives the mail (ncoming SMTPserver).
- f Alternate nternet Alias Domains are configured create separate Global domain document for Each alias
internet Domain is recommended. For Eg acme.com is a Primary nternet domain and acmeorg.com is
secondary internet domain then create 2 Global domain document for each alias internet Domain as shown
Below fig.
39
Case Stud) C7
Users receive duplicate mails!
Duplicate e-mails are received from the internet for a user if the mail is addressed to the user in the "To" field
and a group's internet address is in the "cc" field, where the user is a member of the group.
This issue is now fixed in Lotus Notes and Domino 8.5.1 and need to add following Notes.ini parameter.

RouterDupElimLookedUpFullName=number
Description: Eliminates duplicate messages to recipients when the recipient is both on the To or Cc field
and in a group on the To or Cc, for messages coming from the internet.
Use the following values to set this variable:
0 - Do not eliminate the recipient's FullName from Router group expansion results
1 - Eliminate the recipient's distinguished FullName from Router group expansion results
2 - Perform another recipient lookup by FullName for verification before eliminating recipient's
distinguished FullName from Router group expansion result.
40
Additional resources
Additional resources
Error: 'Server is not responding' sending SMTP mail to external domains
http://www.ibm.com/support/docview.wss?uid=swg21312913
Understanding SMTP authentication and securing your BM Lotus Domino 8 server from spam
http://public.dhe.ibm.com/software/dw/lotus/SMTPAuthSpamFinal.pdf
Knowledge Collection: Common Lotus Notes/Domino Mail Routing problems
http://www.ibm.com/support/docview.wss?uid=swg21568008
How to Configure a Domino Server to Send nternet Mail
http://www-01.ibm.com/support/docview.wss?uid=swg21089344
Determining the number of mailboxes required for a server
http://www-01.ibm.com/support/docview.wss?uid=swg21148438
Error: 'No route found to domain' when sending mail to the nternet

http://www.ibm.com/support/docview.wss?uid=swg21417776
Understanding the Global Domain Document
http://www.ibm.com/support/docview.wss?uid=swg21417776
41
GuestionsH
GuestionsH

42