1752759 Members
5000 Online
108789 Solutions
New Discussion юеВ

Re: SMTP

 
FOX MULDER_2
Frequent Advisor

SMTP

Hi,

I have a query.
How do I change mail address(from) while sending out mails from VMS servers?
e.g
From: bill.smith@xxx.com
needs to be changed to
From: abc@xxx.com

Server is a VAX :
Digital TCP/IP Services for OpenVMS VAX Version V4.1 - ECO 9
on a VAX 4000-400 running OpenVMS V7.2

Thanks
14 REPLIES 14
Kris Clippeleyr
Honored Contributor

Re: SMTP

Hi,
Don't know about UCX 4.1, ...
But with VAX/VMS 7.2 & TCP/IP 5.1, I defined the logical name TCPIP$SMTP_FROM to be "me@wherever.com".

Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Wim Van den Wyngaert
Honored Contributor

Re: SMTP

No longer have ucx but I don't find the logical of Kris in ucx (prefix ucx).

This is all I find :

UCX$SMTP_REWRITE_MTS_FROM
If you have most or all of your users' mail forwarded to ALL-IN-1, use this logical name to instruct the symbiont to parse the user name out of the complex MTS address and append the local host name instead.

I think you can change the from in the mail to localhost@xx.com. Nothing more.

Fwiw

Wim
Wim
FOX MULDER_2
Frequent Advisor

Re: SMTP

Hi Kris,

Have defined that logical..seems not working...
any other way...?

Thanks
Joseph Huber_1
Honored Contributor

Re: SMTP

Look if logical
TCPIP$SMTP_PROHIBIT_USER_HEADERS
( UCX$SMTP_PROHIBIT_USER_HEADERS )
is defined: if yes the SMTP_FROM is not used,
and You need to be or become system manager to change it.


http://www.mpp.mpg.de/~huber
Wim Van den Wyngaert
Honored Contributor

Re: SMTP

May be try another mail client ?
http://www.tmk.com/ftp/ftp-madgoat-com/mx/
E.g. 4.2 ? Never used it. Don't know if it can do it.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: SMTP

Joseph logical isn't ucx either. And is to disable the from logical. So, no go.

Wim
Wim
Kris Clippeleyr
Honored Contributor

Re: SMTP

Hi,
It seems that the "outbound alias" was introduced (thru an ECO) in TCP/IP V5.0, and I think never backported to UCX 4.2.
Here is a quote from some old release notes:

ECO B 13-JAN-2000 Alpha and VAX


Images:


TCPIP$SMTP_MAILSHR.EXE V5.0A-1C
TCPIP$SMTP_PARSESHR.EXE V5.0A-1C (VAX only)
TCPIP$SMTP_PARSESHR_TV.EXE V5.0A-1C (Alpha only)
TCPIP$SMTP_RECEIVER.EXE V5.0A-1C
TCPIP$SMTP_SFF.EXE V5.0A-1C
TCPIP$SMTP_SYMBIONT.EXE V5.0A-1C


TCPIP$MSG.EXE V5.0A-1B


Problem:

Enhancement to SMTP to provide support for 'Outbound Alias'.

Solution:


Add support for a user defined logical TCPIP$SMTP_FROM which will
be used for the text of the From: and the Return-Path:
headers. Also added support for a system manager logical
TCPIP$SMTP_PROHIBIT_USER_HEADERS which will cause the
TCPIP$SMTP_FROM logical to be ignored effectively no-oping it.



Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
FOX MULDER_2
Frequent Advisor

Re: SMTP

Hi,

Only these logicals are present :
"MAIL$PROTOCOL_SMTP" = "UCX$SMTP_MAILSHR"
"UCX$SMTP_ENABLE" = ".1.."

Thanks
Joseph Huber_1
Honored Contributor

Re: SMTP

Wim is right, MX could do this, is has configurable rewrite rules to transform addresses.

But rereading the original question: where, first of all, is "From: bill.smith@xxx.com" generated ?
By default UCX is using the VMS user name in the From address, but bill.smith is not a legal VMS username. I would rather expect a requirement to rewrite username abc to bill.smith . Or was it just a virtual example, Fox ?
http://www.mpp.mpg.de/~huber