Automatic Email processing before delivering to user

All types of networks, network stacks, and protocols supported by OpenVMS.

Topic author
joukj
Master
Posts: 231
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Automatic Email processing before delivering to user

Post by joukj » Wed Sep 04, 2024 5:59 am

Hi,

Up to know I used DELIVER (http://vms.process.com/scripts/fileserv ... om?DELIVER) to do some processing (i.e. a virus check) before delivering the Email to the user.
However recently I came along some servers who send RFC-headers with longer lines than 256 characters. IIt sems that DELIVER chokes on this. I tried to change the maximum line length on all the open-statements in the PASCAL code, but without success. No idea how to proceed from here.

When searching the web I came along this documentation:
https://vmssoftware.com/docs/VSI_TCPIP_ ... D_VOL1.PDF
In chapter 4.3.1 it gives some ways to deliver a mail to a DCL-procedure. That is exactly what I need. However this documention from 2020 is for VSI TCPIP 10.6. I cannot fond this feature in the manuals of VSI TCPIP 6.0. Is this feature gone? or is there some way around?

Regards
Jouk

User avatar

martinv
Master
Posts: 137
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: Automatic Email processing before delivering to user

Post by martinv » Fri Sep 06, 2024 7:45 am

Thanks, Arne. You nailed it. Both versions now run without errors here.

It seems to me the problem must be something in the FAB/RAB that MAIL supplies to the routine MAIL_OUT_FILE.
Opportunity is missed by most people because it is dressed in overalls and looks like work.
(Thomas A. Edison)


Topic author
joukj
Master
Posts: 231
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: Automatic Email processing before delivering to user

Post by joukj » Fri Sep 06, 2024 8:20 am

I got a version that works. I think one of my problems was that the mail-symbiont sometimes "remembers" the old version.
I will clean up a few things and than post the version I use now on my web site:
http://nchrem.tnw.tudelft.nl/openvms/so ... ml#DELIVER
(you will know it is there when the date changed to september 2024)

Thanks for all the help.

Jouk

Post Reply