The mail port is not listening

when my domino server is working i get that

netstat -l

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State

tcp 0 0 *:1352 : LISTEN

tcp 0 0 *:http : LISTEN

tcp 0 0 *:ssh : LISTEN

Active UNIX domain sockets (only servers)

Proto RefCnt Flags Type State I-Node Path

is it normal that there isn’t any port listening

for the mail service?

(I’ve problems in receiving mail from “outside”)

Subject: the mail port is not listening…

type in LOAD SMTP on the server console and see if any error messages come up.

if none come up then you just haven’t enabled the server to listen for smtp traffic (server document, basics tab).

if there are errors then you need to deal with them first so that the smtp task stays loaded.

Subject: RE: the mail port is not listening…

when i type LOAD STMP i get a messagesaying that smtp is already initialized

when i do show tasks :

Database Server Platform Stats is idle

HTTP Server Listen for connect requests on TCP Port:80

MT Collector Idle (next collection in 688 secs, interval is 900 secs)

Agent Manager Executive ‘2’: Idle

SMTP Server Listen for connect requests on TCP Port:25

Agent Manager Executive ‘1’: Idle

LDAP Server Control task

SMTP Server Control task

Schedule Manager Idle

when i type RESTART PORT 25

06/23/2005 11:48:17 AM Router: notes.ini setting for Log_Mailrouting being used (note - this option may now be configured in a Server Configuration document)

06/23/2005 11:48:18 AM Error encountered trying to disable port 25: No such entry

Subject: RE: the mail port is not listening…

RESTART TASK smtp

06/23/2005 12:37:24 PM SMTP Server: Waiting for all tasks to complete

06/23/2005 12:37:42 PM Opened session for admin/TRIB (Release 6.5.1)

06/23/2005 12:37:42 PM Closed session for admin/TRIB Databases accessed: 0 Documents read: 0 Documents written: 0

06/23/2005 12:38:32 PM Router: Initiating transfers to all servers

06/23/2005 12:38:32 PM Router: Low priority time range is 05:00:00 AM - 06:00:00 AM

06/23/2005 12:38:32 PM Router: LowPriorityAllowed is FALSE

06/23/2005 12:38:32 PM Router: No messages to route to any servers

No response from the Notes server.

06/23/2005 12:37:24 PM SMTP Server: Waiting for all tasks to complete

06/23/2005 12:37:42 PM Opened session for admin/TRIB (Release 6.5.1)

06/23/2005 12:37:42 PM Closed session for admin/TRIB Databases accessed: 0 Documents read: 0 Documents written: 0

06/23/2005 12:38:32 PM Router: Initiating transfers to all servers

06/23/2005 12:38:32 PM Router: Low priority time range is 05:00:00 AM - 06:00:00 AM

06/23/2005 12:38:32 PM Router: LowPriorityAllowed is FALSE

06/23/2005 12:38:32 PM Router: No messages to route to any servers

No response from the Notes server.

06/23/2005 12:39:28 PM Router: Initiating transfers to server [$LocalDelivery]

06/23/2005 12:39:28 PM Router: Low priority time range is 05:00:00 AM - 06:00:00 AM

06/23/2005 12:39:28 PM Router: LowPriorityAllowed is FALSE

06/23/2005 12:39:28 PM Router: No messages to route to any servers

Subject: RE: the mail port is not listening…

you have to unload (TELL SMTP QUIT) then when it’s unloaded reload the smtp task (LOAD SMTP) - the smtp task doesn’t have a restart command like the http task does.

do you get any response when you telnet to the machine on port 25?

Subject: RE: the mail port is not listening…

I’ve got no response when i telnet to the machine on port 25…

when i do a ‘server -q myserverip’ i have

a recurrent message : “waiting for process to exit”, and in the logs i can see that the smtp

task doesn’t stop…

Subject: RE: the mail port is not listening…

by no response when you telnetted in, do you mean the screen went blank (a connection was made but the greeting was not received) or it timed out (nothing answered)?

what about taking the SMTP task out of the servertasks entry (so it doesn’t load) and then telnetting to your server, see if something else is there.

set these debug parameters;

SET CON SMTPDEBUG=2

SET CON SMTPDEBUGIO=3

then load the smtp task manually and see what it generates.

(don’t forget to remove those debug entries when you’re done)

secondary question: could you be blocking the smtp port on either machine, ie are ALL firewalls disabled during testing?

Subject: RE: the mail port is not listening…

when I telnetted i got timed out…

i think i’tried what you told me, here is a

part of my notes.ini file :

ServerTasks=Update,Replica,Router,AMgr,AdminP,CalConn,Sched,HTTP

ServerTasksAt1=Catalog,Design

ServerTasksAt2=UpdAll

ServerTasksAt3=Object Info -Full

ServerTasksAt5=Statlog

…

SMTPDEBUG=2

SMTPDEBUGIO=3

as you see there’s no SMTP in the ServerTasks,

but when i start the server it’s launched… :

sh ta

  Task                 Description

Database Server Perform console commands

Database Server Listen for connect requests on TCPIP

Database Server Load Monitor is idle

Database Server Database Directory Manager Cache Refresher is idle

Database Server Organization Name Cache Refresher is idle

Database Server Idle task

Database Server Idle task

Database Server Perform Database Cache maintenance

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Platform Stats is idle

HTTP Server Listen for connect requests on TCP Port:80

SMTP Server Listen for connect requests on TCP Port:25

Agent Manager Executive ‘1’: Idle

Router Idle

Agent Manager Idle

SMTP Server Control task

Schedule Manager Idle

Calendar Connector Idle

Directory Indexer Idle

Indexer Idle

Admin Process Idle

Replicator Idle

Event Monitor Idle

and for the last question…

i disabled my iptables firewall…

(the server runs on a redhat…)


and when i do the TELL SMTP QUIT

i get :

06/29/2005 06:30:51 PM SMTP Server: Waiting for

all tasks to complete

and if i do a show task just after

  Task                 Description

Database Server Perform console commands

Database Server Listen for connect requests on TCPIP

Database Server Load Monitor is idle

Database Server Database Directory Manager Cache Refresher is idle

Database Server Organization Name Cache Refresher is idle

Database Server Idle task

Database Server Idle task

Database Server Perform Database Cache maintenance

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Idle task

Database Server Platform Stats is idle

HTTP Server Listen for connect requests on TCP Port:80

SMTP Server Listen for connect requests on TCP Port:25

Agent Manager Executive ‘1’: Idle

Router Idle

Agent Manager Idle

SMTP Server Control task

Schedule Manager Idle

Calendar Connector Idle

Directory Indexer Idle

Indexer Idle

Admin Process Idle

Replicator Idle

Event Monitor Idle

we can see that SMTP Server is still listening… i can manage to disable it :-/

Subject: the mail port is not listening…

1352 is the Notes port. 25 is the SMTP port. Do you have to do something on the server to enable that port? And is your Domino server running the SMTP task (look in the Server Doc)?

HTH.

Gregg