HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Sendmail relay and dns lookups
Operating System - Linux
        1839830
        Members
    
    
        3265
        Online
    
    
        110156
        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
04-01-2005 02:34 AM
04-01-2005 02:34 AM
			
				
					
						
							Sendmail relay and dns lookups
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Here is the problem. We have a server running HPUX 11.00 and sendmail 8.9.3 we have our DS record set in sendmail.cf to send mail to the exchange relay server. This works for all addresses except ones that can not be found in DNS or /etc/hosts. The result is the message gets deferred and stays in mailq. Is there  reason this mail never leaves teh unix server? shouldn't it be treated as any other mail and go off to the relay? Is there something I'm missing in on of teh config files?
Thanks in advance. points will be awarded.
-Greg
		
		
	
	
	
Thanks in advance. points will be awarded.
-Greg
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 07:55 AM
04-01-2005 07:55 AM
			
				
					
						
							Re: Sendmail relay and dns lookups
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						This is expected behavior of sendmail. If a addresses can not be resolved, that email will just sit in mailq only.
					
				
			
			
				
		
		
	
	
	
	There is no substitute to HARDWORK
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 04:11 PM
04-01-2005 04:11 PM
			
				
					
						
							Re: Sendmail relay and dns lookups
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi Gregory,
You can use a feature (relay_hosts_only) and define your network range in access file for allowed networks. In this way mails will be relayed even if dns/hosts could not be resolved.
		
		
	
	
	
You can use a feature (relay_hosts_only) and define your network range in access file for allowed networks. In this way mails will be relayed even if dns/hosts could not be resolved.
	PreSales Specialist
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 01:25 AM
04-04-2005 01:25 AM
			
				
					
						
							Re: Sendmail relay and dns lookups
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks guys.
I solved this by commenting out
# pass to name server to make hostname canonical
#R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4
then changing
F=mDFMuX
to
F=0mDFMuX
in section
#####################################
### SMTP Mailer specification ###
#####################################
Msmtp, P=[IPC], F=0mDFMuX, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=0mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=0mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=0mDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I solved this by commenting out
# pass to name server to make hostname canonical
#R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4
then changing
F=mDFMuX
to
F=0mDFMuX
in section
#####################################
### SMTP Mailer specification ###
#####################################
Msmtp, P=[IPC], F=0mDFMuX, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=0mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=0mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=0mDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h
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
