- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Mail filters
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-11-2002 06:27 AM
07-11-2002 06:27 AM
I have a spam contron with the /etc/mail/access file
is there any way to filter e-mails on the subject, attachements, or sise?
Help plz!
rgds:
Samuel M&M
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 12:50 AM
07-12-2002 12:50 AM
SolutionFor size limitation, you have some features in sendmail to control it.
About subjects, you have some tools which can control such things (spamassasin for example which control also content and allow destruction of mail with specific words (How to win $10000 for example).
About attachment, the milter interface with sendmail can do something.
On my side, I'm using AMavis : A MAil VIrus Scanner, which consist of scanning attachment with antivirus software in order detect virus, and then stop propagation.
www.amavis.org,
But you have also other easiest tools to use which can only reject files with vbs extension or anaything else....
hth
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 05:28 AM
07-12-2002 05:28 AM
Re: Mail filters
You could also try to work with procmail.
Procmail can be used as a general purpose
mailfilter and can be combined with sendmail.
see man procmail & man procmailex for some
usefull examples.
If you do a search on google you will find
a lot of examples related to procmail.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 06:23 AM
07-12-2002 06:23 AM
Re: Mail filters
Hit for detailed info on procmail. (The Man pages appeared a bit cryptic to me. )
Procmail is the best way to attain your mail-control objectives.
http://www.ling.helsinki.fi/users/reriksso/procmail/mini-faq.html
http://www.uwasa.fi/~ts/info/proctips.html
http://www.procmail.org
These three links helped me a lot for reaching a solution.
Notes:
Since you use sendmail, following tips may be helpfull.
1) Create a link to procmail executable in /etc/smrsh.
2) You won't need any IFS in your .procmail as Sendmail hates it.
Hope this helps,
Thanks
Anu Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 06:31 AM
07-12-2002 06:31 AM
Re: Mail filters
Correction:
IFS is not required in .forward file, as it will err.
For instance, my .forward file looks like:
"| /etc/smrsh/procmail -f- || exit 75 #mattha"
Where mattha is my user-name.
hope this helps,
See http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x50bc3a7b3682d611abdb0090277a778c,00.html
for a similar posting.
Thanks
Anu Mathew