Operating System - HP-UX
1752795
Members
6136
Online
108789
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
Discussions
Discussions
Forums
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
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-29-2010 02:48 AM
тАО12-29-2010 02:48 AM
sendmail
Hi, gurus! I have some problem with sendmail configuration. I have a script that relay messages under root user with sendmail to smtp server. I want to allow sendmail to relay mail to some fixed list of recepients and deny for others. I've tried to make /etc/mail/access file, access_db file and changes to sendmail configuration with gen_cf but I still can relay to any user in the domain. Any suggestions? Thanks in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 10:13 AM
тАО12-29-2010 10:13 AM
Re: sendmail
If I am understanding your question correctly, you want to send mail to the relay server as root but you only want some of the recipients in the list to be able to get your mails and some others don't. Is that right ?
are you making the access_db modifications on the relay server or on the local server sending the emails out ? If local server, why don't you just exclude those users from the distribution ?
are you making the access_db modifications on the relay server or on the local server sending the emails out ? If local server, why don't you just exclude those users from the distribution ?
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 11:05 PM
тАО01-10-2011 11:05 PM
Re: sendmail
Thank you for the answer. Yes, you understood question correctly and I modified access_db on local server. Addresses of recepients look like username@domain.ru. I want to do the following:
Commands are executed on local server:
echo "...some text..."|/usr/sbin/sendmail -v user1@domain.ru - OK
echo "...some text..."|/usr/sbin/sendmail -v
user2@domain.ru - refused
I am not familiar with sendmail configuration :-) How exclude user2@domain.ru from sendmail on the local server?
Commands are executed on local server:
echo "...some text..."|/usr/sbin/sendmail -v user1@domain.ru - OK
echo "...some text..."|/usr/sbin/sendmail -v
user2@domain.ru - refused
I am not familiar with sendmail configuration :-) How exclude user2@domain.ru from sendmail on the local server?
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP