Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been searcing this site and google for a simple answer to a rather simple problem. I have an employee who wants his procmail filter to only allow emails from the domain wiu.edu and the rest to be deleted as they come in. I wrote a .procmailrc file as fillows.
The problem is that alot of email is filtered but there are some that still end up in the inbox. Is there a better way to achive this or is what I have all wrong. I am rather new to filtering with procmail so I based what I have off what I have seen elsewhere. Any help would be great. So I need to send all email form wiu.edu to the inbox and everything else from anyone outside the university needs to be deleted. Thanks.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Can you show at least one depersonalized header (e.g., some spam includes receiver name in header - remove it)? Maybe you need to tell procmail that no @ is allowed until eol.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
You have some filter. Something wrong goes through. I want an example of what has gone through (but shouldn't have), surely headers-only, with every occurence of your employee's username/real name replaced by thename.
Note that it's very hard to filter spam which forges From: to be a valid email address (yes, I mean existing) from target's domain.
After looking at a bunch of headers they do throw in a wiu.edu before the @ symbol for the username. If I change "* ^From.*wiu.edu" to "* ^From.*@wiu.edu" would that help any?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.