Re: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Bill Degnan via cctalk
>
> Thank you very much.  I spent a while researching but I did not find the
answer in searches, I did not know to look at the MULTINET manual, I used
the online help thinking that was enough.  I will try to be more thorough.
Bill


>
> I looked in the Multinet 4.3 Users Guide and found "Reply-to" in the index
> referring me to page 8-10 in the Administrators Guide.  There I found:
>
> Quote:
>
> Specifying the REPLY_TO Header
>
> The MULTINET_SMTP_REPLY_TO logical name lets you specify the value for the
> RFC822 REPLY-TO: header.  For example to set your Reply-To: header to
> fn...@flowers.com, use the command:
>
> $ DEFINE MULTINET_SMTP_REPLY_TO "fn...@flowers.com"
>
> This logical name only affects mail agents that use the SMTP% interface
> (for
> example OpenVMS and DECWindows mail).
>
> Endquote.
>
> In case it is not clear, you should define this logical name in DCL before
> you
> run VMS MAIL and it will then apply when you send mail to an address
> prefixed
> by SMTP%.
>
> I will add that you could probably use DEFINE /SYSTEM if you want this to
> apply to all users on the system or you could put the command in a users
> login.com if you only want it to apply to that particular user.  If you
> want to get really fancy, you can use lexical functions such as for example
> F$GETJPI(0, "USERNAME") to come up with a single logical name definition
> that
> will work correctly for any user on the system without modification.
>
> I used the Multinet 4.3 manual because it happened to be handy.  I imagine
> the same applies any later version of Multinet and might also apply to some
> but not all earlier versions.
>
> I will also repeat the warning that I often give, that the SMTP mail
> interface
> provided with Multinet is functional but not comprehensive.  My feeling is
> that
> it is mainly there to be able to tick the box that says that SMTP is
> supported.
> If you want a top class email setup, you should install PMDF, from the same
> company.
>
> Regards,
> Peter Coghlan.
>


Re: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Peter Coghlan via cctalk
> >
> >
> > > > To: cctech 
> > > > Subject: setting reply to in VMS 5.x MAIL
> > > >
> > > > Is there a way to set the reply-to value in VMS 5 mail?  I want to
> > send mail as
> > > > SYSTEM but anyone who receives the message on the outside world who
> > > > wants to reply I'd like it go to to a different email address.
> > > >
> > > > I am working to solve the problem myself, but if anyone knows already
> > and
> > > > can help save me the time :-)
> > > >
> > > > Thanks
> > > >
> > > > Bill
> > >
> >
> > VMS MAIL has no concept of reply-to headers.  If a "foreign mail protocol"
> > is being used from within VMS MAIL (in%, pmdf%, mx%, or smtp% for example),
> > that protocol may provide a way of setting a reply-to header, typically by
> > defining a specified logical name before running VMS MAIL.
> >
> 
> 
> > 
> > ... smtp%
> > is provided by Process Software's Multinet SMTP client to add SMTP
> > capability
> > to VMS MAIL.
> >
> >
> >
> Peter
> 
> I have Multinet SMTP and when I send a message externally I use
> 
> SMTP%"b...@myemail.net"
> 
> I looked within MULTINET and was able to edit the gateway rules but I did
> not see how to define a reply-to from the config menu.  I want the replies
> to emails generated by the VMS Mail server go through an external email
> server as a way to control SMTP hijacking.
> 
> for example, if I log in as SYSTEM and send a message to someone it shows
> up as
> sys...@microvax3100.vintagecomputer.net (the subdomain I have set for
> the server)
> 
> I have the system blocking mail unless it comes from a single address (not
> listed here), which then forwards to the SYSTEM account.  The MULTINET
> server is set to only accept SMTP from the one domain I have set up for
> this purpose.
> 
> So when someone replies to an email from the server I don't want the reply
> to come from the actual sender or it will bounce.  I want it to
> automatically reply-to the alias domain I have in place.Works great
> except that a person needs to know to change the reply-to address to the
> alias.
> 
> You showed me this:
> $ MULTINET CONFIGURE /SERVERS
> > SERVER-CONFIG> DISABLE SMTP
> > SERVER-CONFIG> RESTART
> 
> ...is there a SERVER-CONFIG that defines reply-to?
> 

Bill,

I dumped everything in my head about this topic into my previous email.  At
some stage, you need to pick up the manual (or download it from the Process
Software website) and read it.

I looked in the Multinet 4.3 Users Guide and found "Reply-to" in the index
referring me to page 8-10 in the Administrators Guide.  There I found:

Quote:

Specifying the REPLY_TO Header

The MULTINET_SMTP_REPLY_TO logical name lets you specify the value for the
RFC822 REPLY-TO: header.  For example to set your Reply-To: header to 
fn...@flowers.com, use the command:

$ DEFINE MULTINET_SMTP_REPLY_TO "fn...@flowers.com"

This logical name only affects mail agents that use the SMTP% interface (for
example OpenVMS and DECWindows mail).

Endquote.

In case it is not clear, you should define this logical name in DCL before you
run VMS MAIL and it will then apply when you send mail to an address prefixed
by SMTP%.

I will add that you could probably use DEFINE /SYSTEM if you want this to
apply to all users on the system or you could put the command in a users
login.com if you only want it to apply to that particular user.  If you
want to get really fancy, you can use lexical functions such as for example
F$GETJPI(0, "USERNAME") to come up with a single logical name definition that
will work correctly for any user on the system without modification.

I used the Multinet 4.3 manual because it happened to be handy.  I imagine
the same applies any later version of Multinet and might also apply to some
but not all earlier versions.

I will also repeat the warning that I often give, that the SMTP mail interface
provided with Multinet is functional but not comprehensive.  My feeling is that
it is mainly there to be able to tick the box that says that SMTP is supported.
If you want a top class email setup, you should install PMDF, from the same
company.

Regards,
Peter Coghlan.


Re: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Bill Degnan via cctalk
On Tue, Jun 4, 2019 at 1:29 PM Grant Taylor via cctalk <
cctalk@classiccmp.org> wrote:

> On 6/4/19 11:09 AM, Bill Degnan via cctalk wrote:
> > I mean I don't want the reply to go directly to the original sender
> email
> > address (sys...@microvax3100.vintagecomputer.net), I want the reply to
> > go to sys...@aliasdomain.com and I want this address to appear in the
> > header of the email message.
>
> This is not an answer to your original question, but it might be a work
> around.
>
> Can you set MX records for the microvax3100.vintagecomputer.net domain
> to route mail to the system hosting the aliasdomain.com domain?
>
> Obviously the system hosting the aliasdomain.com domain would also need
> to be configured to host (likely relay for) the
> microvax3100.vintagecomputer.net domain.
>
>
>
Grant,
I did not think of that, your suggestion might work!  Good idea.
Bill


Re: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Grant Taylor via cctalk

On 6/4/19 11:09 AM, Bill Degnan via cctalk wrote:
I mean I don't want the reply to go directly to the original sender email 
address (sys...@microvax3100.vintagecomputer.net), I want the reply to 
go to sys...@aliasdomain.com and I want this address to appear in the 
header of the email message.


This is not an answer to your original question, but it might be a work 
around.


Can you set MX records for the microvax3100.vintagecomputer.net domain 
to route mail to the system hosting the aliasdomain.com domain?


Obviously the system hosting the aliasdomain.com domain would also need 
to be configured to host (likely relay for) the 
microvax3100.vintagecomputer.net domain.




--
Grant. . . .
unix || die


Re: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Bill Degnan via cctalk

correction to my earlier wording:

>
> So when someone replies to an email from the server I don't want the reply
> to come from the actual sender or it will bounce.
>


I mean I don't want the reply to go directly to the original sender email
address (sys...@microvax3100.vintagecomputer.net), I want the reply to go
to sys...@aliasdomain.com and I want this address to appear in the header
of the email message.

Bil


Re: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Bill Degnan via cctalk
>
>
> > > To: cctech 
> > > Subject: setting reply to in VMS 5.x MAIL
> > >
> > > Is there a way to set the reply-to value in VMS 5 mail?  I want to
> send mail as
> > > SYSTEM but anyone who receives the message on the outside world who
> > > wants to reply I'd like it go to to a different email address.
> > >
> > > I am working to solve the problem myself, but if anyone knows already
> and
> > > can help save me the time :-)
> > >
> > > Thanks
> > >
> > > Bill
> >
>
> VMS MAIL has no concept of reply-to headers.  If a "foreign mail protocol"
> is being used from within VMS MAIL (in%, pmdf%, mx%, or smtp% for example),
> that protocol may provide a way of setting a reply-to header, typically by
> defining a specified logical name before running VMS MAIL.
>


> 
> ... smtp%
> is provided by Process Software's Multinet SMTP client to add SMTP
> capability
> to VMS MAIL.
>
>
>
Peter

I have Multinet SMTP and when I send a message externally I use

SMTP%"b...@myemail.net"

I looked within MULTINET and was able to edit the gateway rules but I did
not see how to define a reply-to from the config menu.  I want the replies
to emails generated by the VMS Mail server go through an external email
server as a way to control SMTP hijacking.

for example, if I log in as SYSTEM and send a message to someone it shows
up as
sys...@microvax3100.vintagecomputer.net (the subdomain I have set for
the server)

I have the system blocking mail unless it comes from a single address (not
listed here), which then forwards to the SYSTEM account.  The MULTINET
server is set to only accept SMTP from the one domain I have set up for
this purpose.

So when someone replies to an email from the server I don't want the reply
to come from the actual sender or it will bounce.  I want it to
automatically reply-to the alias domain I have in place.Works great
except that a person needs to know to change the reply-to address to the
alias.

You showed me this:
$ MULTINET CONFIGURE /SERVERS
> SERVER-CONFIG> DISABLE SMTP
> SERVER-CONFIG> RESTART

...is there a SERVER-CONFIG that defines reply-to?

Bill


RE: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Peter Coghlan via cctalk
>
> Bill,
> Pretty sure in the past the only way to do this was with PMDF. Not sure if 
> PMDF is available with a hobbyist licence or will run on 5.x
> Dave
> G4UGM
>
> > -Original Message-
> > From: cctech  On Behalf Of Bill Degnan via
> > cctech
> > Sent: 04 June 2019 03:28
> > To: cctech 
> > Subject: setting reply to in VMS 5.x MAIL
> > 
> > Is there a way to set the reply-to value in VMS 5 mail?  I want to send 
> > mail as
> > SYSTEM but anyone who receives the message on the outside world who
> > wants to reply I'd like it go to to a different email address.
> > 
> > I am working to solve the problem myself, but if anyone knows already and
> > can help save me the time :-)
> > 
> > Thanks
> > 
> > Bill
>

VMS MAIL has no concept of reply-to headers.  If a "foreign mail protocol"
is being used from within VMS MAIL (in%, pmdf%, mx%, or smtp% for example),
that protocol may provide a way of setting a reply-to header, typically by
defining a specified logical name before running VMS MAIL.

If PMDF is installed, you can use

$ PMDF MAIL /REPLY_TO=address

and possibly other methods to set the reply-to address.  PMDF MAIL is
designed to be upwardly compatible with VMS MAIL and uses the same mailbox
files as VMS MAIL.

There is a hobbyist license available for PMDF but I don't know if this covers
versions that will run on VMS 5.x or not.

Installing PMDF also makes the in% (or pmdf%) foreign mail protocol usable
from VMS MAIL.  mx% is provided by Hunter Goatley's MX MAIL package and smtp%
is provided by Process Software's Multinet SMTP client to add SMTP capability
to VMS MAIL.

Regards,
Peter Coghlan.


RE: setting reply to in VMS 5.x MAIL

2019-06-04 Thread Dave Wade via cctalk
Bill,
Pretty sure in the past the only way to do this was with PMDF. Not sure if PMDF 
is available with a hobbyist licence or will run on 5.x
Dave
G4UGM

> -Original Message-
> From: cctech  On Behalf Of Bill Degnan via
> cctech
> Sent: 04 June 2019 03:28
> To: cctech 
> Subject: setting reply to in VMS 5.x MAIL
> 
> Is there a way to set the reply-to value in VMS 5 mail?  I want to send mail 
> as
> SYSTEM but anyone who receives the message on the outside world who
> wants to reply I'd like it go to to a different email address.
> 
> I am working to solve the problem myself, but if anyone knows already and
> can help save me the time :-)
> 
> Thanks
> 
> Bill



setting reply to in VMS 5.x MAIL

2019-06-03 Thread Bill Degnan via cctalk
Is there a way to set the reply-to value in VMS 5 mail?  I want to send
mail as SYSTEM but anyone who receives the message on the outside world who
wants to reply I'd like it go to to a different email address.

I am working to solve the problem myself, but if anyone knows already and
can help save me the time :-)

Thanks

Bill