HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Sendmail - open relay.
 
Operating System - HP-UX
        1840188
        Members
    
    
        3814
        Online
    
    
        110162
        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
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		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
 
10-29-2003 01:45 AM
10-29-2003 01:45 AM
			
				
					
					
						We are trying to activate an open mail relay on one server, to out snmp server.  We are not sure what ruleset gets activated for an open relay. Our intent here is to forward from specific domains behind our firewall (we're aware of the no-no's for using open relay). My question is basically, the proper confuration needed for the .cf file.  How does this interact with the smart relay?  or does it?  Thanks in advance.
					
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
	Never underestimate the power of stupid people in large groups
			
			
				Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
10-29-2003 01:51 AM
10-29-2003 01:51 AM
Solution
			
				
					
					
						Relay is handled for sendmail in /etc/mail/access file
hostnmae RELAY
or
IP_ADDRESS RELAY
This is a tab delimited data file. In later versions of sendmail a script called gen_cf will put this into production.
This allows relay.
You will probably need entries to validate the domains as well.
/etc/mail/virtusertable
/etc/mail/genericstable
Same basic formats.
@domain.com localuser
@domain.com remoteuser@server.domain.com
user@domain.net localuser2
tab delimited
gen_cf puts it into production
genericstable is reverse format with th user before the domain.
SEP
		
		
	
	
	
hostnmae RELAY
or
IP_ADDRESS RELAY
This is a tab delimited data file. In later versions of sendmail a script called gen_cf will put this into production.
This allows relay.
You will probably need entries to validate the domains as well.
/etc/mail/virtusertable
/etc/mail/genericstable
Same basic formats.
@domain.com localuser
@domain.com remoteuser@server.domain.com
user@domain.net localuser2
tab delimited
gen_cf puts it into production
genericstable is reverse format with th user before the domain.
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
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
10-29-2003 01:57 AM
10-29-2003 01:57 AM
			
				
					
						
							Re: Sendmail - open relay.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						For sendmail 8.9 or les:
Check out the LocalIP and LocalNames directives in sendmail.cf. If you enable these files, and then create them in /etc/mail, the addresses listed in the files will be able to relay through your server.
For Sendmail 8.10 and above:
Use the file /etc/mail/relay-domains for the same effect as above.
HTH.
		
		
	
	
	
Check out the LocalIP and LocalNames directives in sendmail.cf. If you enable these files, and then create them in /etc/mail, the addresses listed in the files will be able to relay through your server.
For Sendmail 8.10 and above:
Use the file /etc/mail/relay-domains for the same effect as above.
HTH.
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