- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Filter Sendmail
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
Forums
Discussions
Discussions
Discussions
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
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
07-12-2006 02:26 AM
07-12-2006 02:26 AM
Filter Sendmail
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 02:50 AM
07-12-2006 02:50 AM
Re: Filter Sendmail
You can use the sendmail access file as a filter.
For HP-UX this script with modification may be needed to activate the access file.
http://www.hpux.ws/buildmail.hpux.text
For more on access file syntax see:
http://www.sendmail.org
Search for access or access.db using their google search box.
SEP
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
07-13-2006 02:00 AM
07-13-2006 02:00 AM
Re: Filter Sendmail
1. Do we have the ability to filter e-mail in HP-UX where certain e-mail addresses can be exempt from receiving mail - yes or no?
2. If yes, how should we do it?
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 02:12 AM
07-13-2006 02:12 AM
Re: Filter Sendmail
userid@yourdomian.com ERROR:"553 reject...wrong email address..."
Thats a TAB between the email addy and the word "ERROR"
Then create the hash:
makemap hash /etc/mail/access
Then stop/start sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 02:21 AM
07-13-2006 02:21 AM
Re: Filter Sendmail
ex: block all emails to john@abc.com, mike@abc.com etc..I mean block all emails from this machine. I think in your example it looks like i can block an email from a particular user to a particular user. I am looking to block all emails to a particular user.
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 03:10 AM
07-13-2006 03:10 AM
Re: Filter Sendmail
Unless you want to block all:
To:yourdomain.com ERROR:"553 reject...."
But then you can accecpt say certain users:
you@yourdomain.com OK
Or reject individual users:
baduser@yourdomain.com ERROR:"553 reject...."
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 02:26 AM
07-17-2006 02:26 AM
Re: Filter Sendmail
Is this correct way.
1. Create a file called access in /etc/mail(touch /etc/mail/access)
2. edit the file and add the following
abc@domain.com OK(tab between email and OK)
(i am just putting the address of allthe people who want to accept the emails here)
3.makemap hash /etc/mail/access 4. sendmail stop/start.
After these steps will only the users who i have mentioned in the access file would receive emails? All other would be rejected?
That is what i want to acheive, accept certain users to recieve emails(say 10 users) and block all emails for the rest of them.
Thank you so much for the guidance..
Best Regards
Joe C