HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- preventing return emails from a smart relay host
Operating System - HP-UX
1834150
Members
2980
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-09-2004 09:35 AM
12-09-2004 09:35 AM
preventing return emails from a smart relay host
Hello,
I have a internet facing sendmail server, HPUX 11i, 8.11 that has a smart relay host configured. The smart relay host is an anti-virus server that connects to an internal Novell groupwise server. The Groupwise server actually delivers the email internally.
How does the smart relay option really work?
When an email is received for an invalid user, it gets through the smart relay to our internal mail server (at least a connection is created to the server on port 25) where the message is found to have an invalid username and this info is returned to sendmail and then the message is returned by sendmail to the original sender.
Does the message actually make it through a smart relay to the internal mail server?
I want to prevent any return to sender messages and I have already configured the sendmail.cf with the following:
# LUSER-RELAY
# UNCOMMENT THE FOLLOWING TWO LINES:
Kuser user -m -a<>
DLlocal:nobody
#
#ALSO UNCOMMENT THE FOLLOWING 2 RULES ....
# send unrecognized local users to a relay host
R< > $+ $: < $L > $(user $1 $) look up user
R< $* > $+ <> $: < > $2 found; strip $L
I am still returning messages about invalid users to the senders..
Thank you for your help.
Steve
I have a internet facing sendmail server, HPUX 11i, 8.11 that has a smart relay host configured. The smart relay host is an anti-virus server that connects to an internal Novell groupwise server. The Groupwise server actually delivers the email internally.
How does the smart relay option really work?
When an email is received for an invalid user, it gets through the smart relay to our internal mail server (at least a connection is created to the server on port 25) where the message is found to have an invalid username and this info is returned to sendmail and then the message is returned by sendmail to the original sender.
Does the message actually make it through a smart relay to the internal mail server?
I want to prevent any return to sender messages and I have already configured the sendmail.cf with the following:
# LUSER-RELAY
# UNCOMMENT THE FOLLOWING TWO LINES:
Kuser user -m -a<>
DLlocal:nobody
#
#ALSO UNCOMMENT THE FOLLOWING 2 RULES ....
# send unrecognized local users to a relay host
R< > $+ $: < $L > $(user $1 $) look up user
R< $* > $+ <> $: < > $2 found; strip $L
I am still returning messages about invalid users to the senders..
Thank you for your help.
Steve
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 10:10 AM
12-09-2004 10:10 AM
Re: preventing return emails from a smart relay host
Smart relay works like this:
in sendmail.cf
DShostname_of_relay_server
or
DS
[IP address of relay server]
example
DSrelayserver.your.net
DS
[192.168.0.20]
I prefer IP address because I can send mail even with DNS offline.
Save the sendmail.cf file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Now all of this is useless if the intended relay server is not configured to relay for the server we've just configured.
Due to spam concerns the default setup for mail servers is not not permit relay. The admin of the relay server needs to explicitly allow for smart relay.
Diags:
sendmail -v -d8.99 -d38.99 someone@aol.com
type some text
.
This will get you full errors and diagnostics on the command line. If you get an error from this test, you can post it here and get guidance.
SEP
in sendmail.cf
DShostname_of_relay_server
or
DS
[IP address of relay server]
example
DSrelayserver.your.net
DS
[192.168.0.20]
I prefer IP address because I can send mail even with DNS offline.
Save the sendmail.cf file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Now all of this is useless if the intended relay server is not configured to relay for the server we've just configured.
Due to spam concerns the default setup for mail servers is not not permit relay. The admin of the relay server needs to explicitly allow for smart relay.
Diags:
sendmail -v -d8.99 -d38.99 someone@aol.com
type some text
.
This will get you full errors and diagnostics on the command line. If you get an error from this test, you can post it here and get guidance.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP