HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Sendmail. Can I stop incoming mail
 
Operating System - HP-UX
        1840163
        Members
    
    
        2800
        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
 
04-30-2004 02:09 AM
04-30-2004 02:09 AM
			
				
					
					
						I have just got sendmail working to send to external(Internet) addresses but I want to prevent any maild being sent to my HPUX11 server. Is it possible to allow outgoing mail but prevent incoming - to stop listening on port25.
Thanks,
Tim
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
Thanks,
Tim
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-30-2004 02:18 AM
04-30-2004 02:18 AM
Solution
			
				
					
					
						Just shut sendmail down - /sbin/init.d/sendmail stop
Change SENDMAIL_SERVER=0 in /etc/rc.config.d/mailservs
Outgoing mail will still work....
Just add /usr/sbin/sendmail -q
to cron say every hour to process anything that may not have been sent...
Rgds...Geoff
		
		
	
	
	
Change SENDMAIL_SERVER=0 in /etc/rc.config.d/mailservs
Outgoing mail will still work....
Just add /usr/sbin/sendmail -q
to cron say every hour to process anything that may not have been sent...
Rgds...Geoff
	Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-30-2004 02:18 AM
04-30-2004 02:18 AM
			
				
					
						
							Re: Sendmail. Can I stop incoming mail
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi Tim,
If you don't want to allow incoming mail, you can disable Sendmail, while still using mailx to send messages.
If you need to use a specific mail relay for outbound, however, this may not work. I will have to try it and see.
Hope this helps.
-Tom
		
		
	
	
	
If you don't want to allow incoming mail, you can disable Sendmail, while still using mailx to send messages.
If you need to use a specific mail relay for outbound, however, this may not work. I will have to try it and see.
Hope this helps.
-Tom
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-30-2004 02:31 AM
04-30-2004 02:31 AM
			
				
					
						
							Re: Sendmail. Can I stop incoming mail
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks for the prompt reply. Setting sendmail_server to 0 works
Thanks,
Tim
		
		
	
	
	
Thanks,
Tim
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