HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to reject mails from unknown users?
Operating System - HP-UX
1834914
Members
2567
Online
110071
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
06-05-2002 08:17 AM
06-05-2002 08:17 AM
Hi,
I'm running sendmail 8.9.3.1 on HP-UX 10.20.
I want to get rid of all the spam mails. Normally, reply addresses of spam mails are not valid as error messages like the following indicate:
----- Transcript of session follows -----
... while talking to mx02.hotmail.com.:
>>> RCPT To:
<<< 550 Requested action not taken: mailbox unavailable
550... User unknown
So, in this case, if mailbox is unavailable and user unknown on hotmail.com, I do not want to accept any mail from this user on this host.
How do I configure sendmail to accept mails only if the sender's email address is valid, i.e. the sender must be a valid user on the sending host/domain?
I'm running sendmail 8.9.3.1 on HP-UX 10.20.
I want to get rid of all the spam mails. Normally, reply addresses of spam mails are not valid as error messages like the following indicate:
----- Transcript of session follows -----
... while talking to mx02.hotmail.com.:
>>> RCPT To:
<<< 550 Requested action not taken: mailbox unavailable
550
So, in this case, if mailbox is unavailable and user unknown on hotmail.com, I do not want to accept any mail from this user on this host.
How do I configure sendmail to accept mails only if the sender's email address is valid, i.e. the sender must be a valid user on the sending host/domain?
no users -- no problems
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 08:19 AM
06-05-2002 08:19 AM
Re: How to reject mails from unknown users?
Hi thomas,
Try these antispamming controls,
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000054954278
Hope this helps.
Regds
Try these antispamming controls,
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000054954278
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 11:37 AM
06-05-2002 11:37 AM
Solution
>How do I configure sendmail to accept mails >only if the sender's email address is valid, >i.e. the sender must be a valid user on the >sending host/domain?
AFAIK, you can't to what you're trying to do (there'd be many happy folks if you could).
Here's why
sendmail can use the vrfy command to "verify that it will accept an address for delivery", however sendmail isn't required to honor vrfy; in fact, good security practice would have you turn off vrfy altogether.
rcpt will tell you if a host will recieve mail for a given recipient, but
-since hosts aren't guaranteed to be available all of the time
-since sending hosts and receiving hosts aren't usually the same in large mail systems
using rcpt as a delivery criteria would be difficult and filled with unanticipated side-effects.
Here's what you can do:
make sure you are only willing to accept mail from domains that resolve in DNS (this is one of the default anti-spam rulesets).
consider hooking sendmail to something like RBL from mail-abuse.org. RBL keeps [DNS|BGP] rules that hook into sendmail to tell sendmail not to receive mail from known spammers. RBL is probably your best bet to fight spam.
AFAIK, you can't to what you're trying to do (there'd be many happy folks if you could).
Here's why
sendmail can use the vrfy command to "verify that it will accept an address for delivery", however sendmail isn't required to honor vrfy; in fact, good security practice would have you turn off vrfy altogether.
rcpt will tell you if a host will recieve mail for a given recipient, but
-since hosts aren't guaranteed to be available all of the time
-since sending hosts and receiving hosts aren't usually the same in large mail systems
using rcpt as a delivery criteria would be difficult and filled with unanticipated side-effects.
Here's what you can do:
make sure you are only willing to accept mail from domains that resolve in DNS (this is one of the default anti-spam rulesets).
consider hooking sendmail to something like RBL from mail-abuse.org. RBL keeps [DNS|BGP] rules that hook into sendmail to tell sendmail not to receive mail from known spammers. RBL is probably your best bet to fight spam.
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