SMTP Ignoring defined relay for those in the same domain

Everything about buying, using, and managing OpenVMS systems not covered by other sections.
Post Reply

Topic author
jasonmirons
Member
Posts: 6
Joined: Tue Mar 28, 2023 9:56 pm
Reputation: 0
Status: Offline

SMTP Ignoring defined relay for those in the same domain

Post by jasonmirons » Tue Jul 25, 2023 9:22 pm

Hi Team

Have a tcpip$smtp.conf config issue for outbound smtp mail to servers in the same domain.
Alternate-Gateway : smtp.our.domain.net
General-Gateway : smtp.our.domain.net
Zone : our.domain.net

My x86_64 openvms system is attempting to directly delivery mail to other servers on the same localdomain rather than going via the defined smtp server. Is there any way for force all traffic, regardless of being in the localdomain or not to go via the defined gateways.

The only way I've been able to get it to work is to update the Zone to something else.
Alternate-Gateway : smtp.our.domain.net
General-Gateway : smtp.our.domain.net
Zone : notour.domain.net

Appreciate your thoughts.
Last edited by jasonmirons on Tue Jul 25, 2023 11:09 pm, edited 1 time in total.

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: SMTP Ignoring defined relay for those in the same domain

Post by imiller » Wed Jul 26, 2023 8:39 am

try adding
Altgate-Always : TRUE

To your tcpip$smtp.conf
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].


Topic author
jasonmirons
Member
Posts: 6
Joined: Tue Mar 28, 2023 9:56 pm
Reputation: 0
Status: Offline

Re: SMTP Ignoring defined relay for those in the same domain

Post by jasonmirons » Thu Jul 27, 2023 10:21 pm

Thanks Ian :-)


shael_richmond
Member
Posts: 5
Joined: Fri Aug 06, 2021 4:22 pm
Reputation: 0
Status: Offline

Re: SMTP Ignoring defined relay for those in the same domain

Post by shael_richmond » Fri Jul 28, 2023 10:52 am

I have the general gateway line commented out and only use the alternate gateway and it works fine.

Shael Richmond

Post Reply