XMR1 ;ISC-SF/GMB-SMTP Receiver HELO/MAIL/RCPT (RFC 821) ;02/10/2004 06:31
Source file <XMR1.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
HELO | ; Recv: "HELO REMOTE.DOMAIN.EXT <security num>"
; Send: "250 OK LOCAL.DOMAIN.EXT <security num> [8.0,DUP,SER,FTP]" |
|
NORELAY | ; We want to prevent this site from unwittingly acting as a relay
; domain for spammers or viruses. Such nefarious ne'erdowells ; typically route their mail through unsuspecting sites to "launder" ; it. The unsuspecting sites forward it onward. ; XMC("HELO RECV") contains the sending site's name. If we ; were to be truly vigorous about this, we would find out the IP ; address of the site and do a reverse DNS lookup to verify the site's ; name. We don't yet have that capability, so we'll have to make do ; with XMC("HELO RECV") and trust that the site is who it says it is. |
|
FACILITY(X) | ; If full domain name is found in domain file, either as main
; entry or as synonym, return main entry. "Domain IEN^Domain name" |
|
DOMAIN(XMDOMAIN) | ; Try to find the domain.
|
|
VALPROC(XMINST,XMDOMREC,XMP,XMRVAL) | ; Check validation number
|
|
VALCHK(XMDOMREC,XMRVAL) | ; Check the validation number
|
|
VALSET(XMINST,XMRVAL) | ;check validation number
|
|
; Recv: "MAIL FROM:<USER.JOE@REMOTE.DOMAIN.EXT>"
; Send: "250 OK Message-ID:12345@LOCAL.DOMAIN.EXT" |
||
REJECT(XMNVFROM) | ; Check Senders rejected list
|
|
RCPT | ; Specify recipients
|
|
LOOKUP(XMTO,XMINSTR) | ;
|
FileNo | Call Tags |
---|---|
^DIC(4.2 - [#4.2] | Classic Fileman Calls |
^DIC(4.2996 - [#4.2996] | FIND1^DIC |