- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- required no inbound mails
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-29-2001 07:10 AM
тАО11-29-2001 07:10 AM
required no inbound mails
We need to setup one of our server here not to accept inbound mails from anywhere but can send outbound mails locally and thru internet.
As temp solution we disabled the sendmail process inorder for us not to accept any inbound mails. But without this sendmail process running we cant even send outbound mails locally or anywhere. We have an apps that needs to send outbound mails locally and thru internet. BTW, this machine is running client DNS.
Any help would be greatly appreciated.
Thanks
Joey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:22 AM
тАО11-29-2001 07:22 AM
Re: required no inbound mails
If you stop sendmail process that should stop receiveing inbound mails. Your outbound mails should work even if sendmail is not running.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:24 AM
тАО11-29-2001 07:24 AM
Re: required no inbound mails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:28 AM
тАО11-29-2001 07:28 AM
Re: required no inbound mails
There's probably a simple solution for this (I'm far from a sendmail specialist :-) but
have you looked at the "Anti-spamming"-parameters of sendmail ? You can "lockout"
certain IP's (if there aren't too many that
can reach the server) that way.
Hope it helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:33 AM
тАО11-29-2001 07:33 AM
Re: required no inbound mails
(1) Stop sendmail by
# /sbin/init.d/sendmail stop
(2) edit /etc/rc.config.d/mailservs file
change SENDMAIL_SERVER=0 and then save the file. This will disable sendmail daemon starting during startup.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:39 AM
тАО11-29-2001 07:39 AM
Re: required no inbound mails
Try sending a message in verbose mode
sendmail -v user@hostname.com < /etc/hosts
The detailed output should help in your troubleshooting.
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 07:44 AM
тАО11-29-2001 07:44 AM
Re: required no inbound mails
Actually, we already stoped our sendmail by disabling it thru /sbin/init.d and killing the process. It works with us because we can no longer receive inbound mails. But the thing is, we wanted to send mails outside our box (meaning locally and thru internet). We cant have this thing work. I know that disabling sendmail will still allow us to send mails outside but this time it does not allow us. Any suggestions?
Also I'm using reflection on our unix box but I'm having problem with my "@" char mapping. Everytime I press this key it acts as carriage return. thanks again joey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 08:06 AM
тАО11-29-2001 08:06 AM
Re: required no inbound mails
Have you tried doing what Christoper suggests? I agree that normally you should be able to send mail out without the daemon running, but depending on your configuration, it may help to have the sendmail daemon running, but only in a mode for sending out requests, not receiving. To do this remove the "-bd" from /sbin/init.d/sendmail but keep the "-q15m" (or whatever) option. Then run this script and see if you can send out mail. With sendmail running this way, you will NOT receive incoming message and it may resolve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 08:10 AM
тАО11-29-2001 08:10 AM
Re: required no inbound mails
$mailx -s "test" username@domain < /etc/hosts
$ mail: can't send to username@domain
Mail saved in /homedir/dead.letter
thanks
joey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 08:15 AM
тАО11-29-2001 08:15 AM
Re: required no inbound mails
to stop sendmail
#/usr/sbin/sendmail -q15m
will start sendmail (not in daemon mode) so that sendmail runs the queue every fifteen minutes without accepting inbound connections.
If you're satisfied with the way that works,
change
/usr/sbin/sendmail -bd -q30m
to
/usr/sbin/sendmail -q15m
in /sbin/init.d/sendmail
The stop command (/sbin/init.d/sendmail stop or killsm) won't work anymore, but you can figure out the ps command you need to use to find sendmail and kill it.