>> In VistA I tried to send a mail to outside(i.e.,gmail,yahoo) from VistA through MAILMAN.
>> For this I done some configuration in VistA.
>> I sent mail from VistA through MAILMAN but am not getting any mail
>> Here i posted what i have done in VistA
>> Anyone can guide me to solve this.
I used this link for setup the domain configuration in VistA
S DUZ=111
GTM>D ^XUP
Setting up programmer environment
This is a TEST account.
Terminal Type set to: C-VT102
Select OPTION NAME: XMMGR
1 XMMGR Manage Mailman
2 XMMGR-BACKGROUND-FILER Background Filer (XMAD)
3 XMMGR-BKFILER-ACT Active Users/Deliveries Report
4 XMMGR-BKFILER-EDIT-NORMALIZED Edit numbers to Normalize Reports
5 XMMGR-BKFILER-GROUP Deliveries by Group
Press <RETURN> to see more, '^' to exit this list, OR
CHOOSE 1-5: 1 XMMGR Manage Mailman
Select Manage Mailman Option: LOCAL Delivery Management
>>> Here am Checking the Status of Background Filers are running or not
Select Local Delivery Management Option: CHECK background filer
Delivery Queue Status as of 6/13/2013@00:12
Number of delivery queues: 1 Message and 1 Response
Nothing waiting to be put in the delivery queues.
Nothing in the delivery queues.
Background filer status: Background Filers are running.
Refresh? Yes// YES
Delivery Queue Status as of 6/13/2013@00:12:04
Number of delivery queues: 1 Message and 1 Response
Nothing waiting to be put in the delivery queues.
Nothing in the delivery queues.
Background filer status: Background Filers are running.
Refresh? Yes// NO
Select Local Delivery Management Option:
Select Manage Mailman Option: NETWork Management
Select Network Management Option: TRANSmission Management
Select Transmission Management Option: PLAY a script
>> Here Domain name i have put the IP of smtp.gmail.com (173.194.64.108) >> Then I play the SCRIPT
Select DOMAIN NAME: 173.194.64.108 0 msgs
# Script Name Type Priority
-- ----------- ---- --------
1 TOMYSMTP TCPCHAN 1
00:12:19 Script: TOMYSMTP
00:12:19 O H="173.194.64.108",P=TCP/GTM
00:12:19 Channel opened to 173.194.64.108
00:12:19 Device 'NULL', Protocol 'TCP/GTM' (file 3.4)
00:12:19 C TCPCHAN-SOCKET25/GTM
00:12:19 Calling script 'TCPCHAN-SOCKET25/GTM' (file 4.6)
00:12:19 Xecuting 'L +^XMBX("TCPCHAN",XMHOST):99 E S ER=1,XMER="CHANNEL IN USE"
'
00:12:19 Xecuting 'S X="ERRSCRPT^XMRTCP",@^%ZOSF("TRAP")'
00:12:19 Xecuting 'S XMRPORT=$G(XMRPORT,25)'
00:12:19 Xecuting 'D CALL^%ZISTCP(XMHOST,XMRPORT) I POP S ER=1 L -^XMBX("TCPCHAN
",XMHOST)'
00:12:19 Xecuting 'S XMHANG="D CLOSE^%ZISTCP"'
00:12:19 Xecuting 'U IO:(DELIMITER=$C(13))'
00:12:19 Look: Timeout=45, Command String='220'
00:12:19 R: 220
00:12:19 Beginning sender-SMTP service
00:12:19 S: NOOP
00:12:19 R: 250 2.0.0 OK b1sm37904583oeo.8 - gsmtp
00:12:19 There are no messages in the queue to send
00:12:19 TURN command disabled for 173.194.64.108
00:12:19 S: QUIT
00:12:19 R: 221 2.0.0 closing connection b1sm37904583oeo.8 - gsmtp
00:12:19 Xecuting 'L -^XMBX("TCPHAN",XMHOST) K XMSIO'
00:12:19 Returning to script 'TOMYSMTP'.
00:12:19 Script complete.
00:12:19 0 sent, 0 received.
Select Transmission Management Option:
Select Network Management Option:
>> Now am going to send a Mail to Outside (gmail) from VistA through MAILMAN
Select Manage Mailman Option: MM MailMan Menu
You last used MailMan: 06/13/13@00:11
You have no new messages.
Select MailMan Menu Option: SML Send a Message
Subject: Test Message
You may enter the text of the message...
1>This is the Test message
2>
EDIT Option:
1 COM 173.194.64.108
2 COM 127.0.0.1
CHOOSE 1-3: 2 173.194.64.108 via 173.194.64.108
And Send to:
Select Message option: Transmit now// tr
Select one of the following:
1 Transmit Later
2 Transmit now
Enter response: 2 Transmit nowSending [1242]...
Sent
Select MailMan Menu Option:
Select Manage Mailman Option: network Management
Select Network Management Option: transmission Management
>> Now i againg i played the SCRIPT for Checking the Message whether it is send or not
Select Transmission Management Option: play a script
Select DOMAIN NAME: 173.194.64.108 0 msgs
# Script Name Type Priority
-- ----------- ---- --------
1 TOMYSMTP TCPCHAN 1
00:13:29 Script: TOMYSMTP
00:13:29 O H="173.194.64.108",P=TCP/GTM
00:13:29 Channel opened to 173.194.64.108
00:13:29 Device 'NULL', Protocol 'TCP/GTM' (file 3.4)
00:13:29 C TCPCHAN-SOCKET25/GTM
00:13:29 Calling script 'TCPCHAN-SOCKET25/GTM' (file 4.6)
00:13:29 Xecuting 'L +^XMBX("TCPCHAN",XMHOST):99 E S ER=1,XMER="CHANNEL IN USE"
'
00:13:29 Xecuting 'S X="ERRSCRPT^XMRTCP",@^%ZOSF("TRAP")'
00:13:29 Xecuting 'S XMRPORT=$G(XMRPORT,25)'
00:13:29 Xecuting 'D CALL^%ZISTCP(XMHOST,XMRPORT) I POP S ER=1 L -^XMBX("TCPCHAN
",XMHOST)'
00:13:29 Xecuting 'S XMHANG="D CLOSE^%ZISTCP"'
00:13:29 Xecuting 'U IO:(DELIMITER=$C(13))'
00:13:29 Look: Timeout=45, Command String='220'
00:13:29 R: 220
00:13:29 Beginning sender-SMTP service
00:13:29 S: NOOP
00:13:29 R: 250 2.0.0 OK h4sm37919438oel.2 - gsmtp
00:13:29 There are no messages in the queue to send
00:13:29 TURN command disabled for 173.194.64.108
00:13:29 S: QUIT
00:13:29 R: 221 2.0.0 closing connection h4sm37919438oel.2 - gsmtp
00:13:29 Xecuting 'L -^XMBX("TCPHAN",XMHOST) K XMSIO'
00:13:29 Returning to script 'TOMYSMTP'.
00:13:29 Script complete.
00:13:29 0 sent, 0 received.
>> Here am Getting 0 Sent, 0 received only.After sening the Message also its saying 0 Sent
>> Now i checked in my mail box but am not getting any mail message from VistA
>> In VistA Its says Sent But am not getting any message
>> Here i posted what i configured in DOMAIN file for MAILMAN
>> Any one can help me to where the message getting stuck in VistA.
Configuration In Domain File:
-----------------------------
NAME: 173.194.64.108 FLAGS: S
MAILMAN HOST: 173.194.64.108 DISABLE TURN COMMAND: YES
TRANSMISSION SCRIPT: TOMYSMTP PRIORITY: 1
NUMBER OF ATTEMPTS: 4 TYPE: TCP/IP Channel
PHYSICAL LINK / DEVICE: NULL
NETWORK ADDRESS (MAILMAN HOST): 173.194.64.108
TEXT:
O H="173.194.64.108",P=TCP/GTM
C TCPCHAN-SOCKET25/GTM
SYNONYM: NET
SYNONYM: COM
SYNONYM: ORG
SYNONYM: JO
Regards,
Kicha