- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to change MAIL FROM: in VMS mail?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2006 03:47 AM
тАО02-10-2006 03:47 AM
How to change MAIL FROM: in VMS mail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2006 04:26 AM
тАО02-10-2006 04:26 AM
Re: How to change MAIL FROM: in VMS mail?
Which TCPIP product are you using? Assuming HP's TCPIP are you using /subst=(hidden,name=xxx.domain.com)?
You should also check the file SYS$SYSROOT:[TCPIP$SMTP]TCPIP$SMTP_LOCAL_ALIASES.TXT . Any host listed here will configure smtp to deliver mail locally. That is if host1.mydomain.com and host2.mydomain.com are listed in this file, the VMS system will attempt to handle mail to user at either domain. You'll need to send mail to user@host3.mydomain.com.
Welcome to VMS forums,
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2006 04:55 AM
тАО02-10-2006 04:55 AM
Re: How to change MAIL FROM: in VMS mail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2006 05:10 AM
тАО02-10-2006 05:10 AM
Re: How to change MAIL FROM: in VMS mail?
Are you sending mail to a different domain than the VMS system is configured for? Use
$ TCPIP SHOW CONFIG NAME
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2006 10:12 AM
тАО02-10-2006 10:12 AM
Re: How to change MAIL FROM: in VMS mail?
If you want to replace it with something else you do:
set config smtp/SUBSTITUTE_DOMAIN="(whatever you want)"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2006 10:13 AM
тАО02-10-2006 10:13 AM
Re: How to change MAIL FROM: in VMS mail?
tcpip set config smtp /SUBSTITUTE_DOMAIN="(whatever you want)"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2006 11:03 PM
тАО02-11-2006 11:03 PM
Re: How to change MAIL FROM: in VMS mail?
the activate changes done with TCPIP SET CONF SMTP, you need to stop and (re)start the SMTP service. This is best done using the @SYS$MANAGER:TCPIP$CONFIG menue (-> Client -> SMTP).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2006 02:24 AM
тАО02-12-2006 02:24 AM
Re: How to change MAIL FROM: in VMS mail?
I've a similar problem and I use the logical TCPIP$SMTP_FROM to make the Mail-FROM comply with company rules :
DEFINE/PROCES TCPIP$SMTP_FROM "xxxx.yyyyyy@zzzzzz.com"
MAIL /SUBJ="my_message" NL: "@MAIL.DIS"
Watch out for spam-filters which of course don't like mail-spoofing !
Hope this helps,
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2006 10:12 AM
тАО02-12-2006 10:12 AM
Re: How to change MAIL FROM: in VMS mail?
$ DEFINE/PROC TCPIP$SMTP_FROM "the.boss@mycompany.com"
$ MAIL NL:/SUBJECT="You're fired" my.enemy@mycompany.com
True, this kind of abuse could be trivially traced back to the source, but that doesn't prevent the kind of damage that could be caused.
TCPIP Services has another logical name TCPIP$SMTP_PROHIBIT_USER_HEADERS which, if defined /SYSTEM/EXEC will prevent TCPIP$SMTP_FROM from working.
If you want to make all OpenVMS users have FROM addresses that conform with corporate policy, while preventing abuse of this feature, you could write a privileged image, executed at login time that works out the correct address for the user and defines a process logical name in EXEC mode with /NAME_ATTRIBUTES=NO_ALIAS.