[Info-vax] A second SMTP recevier on an alternate non-prived port.

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Mon Oct 17 11:16:21 EDT 2011


Rich Jordan wrote 2011-10-17 16:50:
> On Oct 15, 7:57 am, Jan-Erik Soderholm<jan-erik.soderh... at telia.com>
> wrote:
>> JF Mezei wrote 2011-10-14 20:03:
>>
>>> R.A.Omond wrote:
>>
>>>> I took a quick look at TCPIP$CONFIG.COM and you could edit it
>>>> replacing all occurrences of SMTP with XMTP, and use your new
>>>> port number (and then throw the edited procedure away).
>>
>>> Just use the TCPIP>    utility to define a new service.
>>
>> Worked just fine. One TCPIP SET SERVICE and one ENABLE SERVICE did it.
>>
>> Now, it seems as the root problem is solved anyway. Is was some
>> display-trouble (Outlook displaying all headers as part of the body)
>> caused be missing Date: and/or Message-Id: headers.
>>
>> Adding them seems to have solved the display trouble.
>>
>> Thanks anyway, and now I know how to setup a second smtp service :-)
>>
>> Jan-Erik.
>>
>>> Do a show service SMTP with all the defails and just create a new
>>> service based on those details, with different log files and different port.
>>
>>> Remember to make this a permanent definition, and you can also define
>>> the service to "autostart" in the permanent definitions. I forgot the
>>> exact syntax.
>>
>>> There is a caveat however: the TCPIP$SMTP_RECEIVER.EXE  *might* be
>>> hardcoded to use port 25. On the other hand, this exec doesn't run 7/24,
>>> it is an "on demand" type of service where the image is invoked bt the
>>> TCPIP kernel when a call to 25 comes in.
>>
>>> You will not be able to have a different config (SMTP.CONFIG) unless you
>>> play tricks with logical names so that the second instance gets to a
>>> different logical name table.
>
> What version of TCPIP Services are you running?  I tried to get an
> alternate port SMTP setup going years ago on an AlphaServer so I could
> run the hobbyist Process anti-spam product on a single server, but
> could never get proper behavior.  I think that was with V5.4-x.  If it
> works now that provides for some interesting experimentation.


$ tcpip sho ver

   HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 5
   on an AlphaStation XP900 466 MHz running OpenVMS V8.3

$

I simply did :

$ tcpip set service smtp2 -
   /port=2552 -
   /addres=0.0.0.0 -
   /file=TCPIP$SYSTEM:TCPIP$SMTP2_RECV_RUN.COM -
   /flag=listen -
   /limit=5 -
   /log=(file:sys$specific:[tcpip$smtp]TCPIP$smtp2_recv_run.log, all) -
   /process_name="TCPIP$SMTP2" -
   /protocol=TCP -
   /user_name=tcpip$smtp


And then a "$ tcpip enable service smtp2" and I think that was that.

I never opened up port 2552 in my DSL router, just tryed it using
a telnet session to localhost/port=2552. Worked fine so far. There
was no problem sending out mails.

Jan-Erik.










More information about the Info-vax mailing list