Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 set up fetchmail to fetch my mail from various mail servers to my desktop computer.
Mail gets delivered just fine, but I can't manage to persuade procmail to remove messages, marked as SPAM.
Probably mail isn't run trough procmail to filter it, i don't know. I've read several posts and tried couple of configurations, but I cannot manage to figure it out. My .forward file:
$cat .fetchmailrc
#set filter = /usr/bin/procmail -m $HOME/.procmailrc
set daemon 300
poll [server removed] with proto POP3
user [user removed] there with password [pass removed] is ales here
poll [server removed] with proto POP3
user [user removed]there with password [pass removed]is ales here
poll pop.gmail.com with proto POP3
user [user removed]there with password [pass removed]is ales here
Google mail isn't delivered also, but that's another problem.
Can anyone tell, what could be wrong?
Probably mail isn't run trough procmail to filter it, i don't know.
Check your LOGFILE. I send mail through SpamAssassin using spamc (less CPU intensive). I don't let SpamAssassin change the subject line, so I check for the presence of an "X-Spam-Flag" header instead:
Code:
:0:
* ^X-Spam-Flag:
$HOME/Spam
One more thing. The procmail matches regular expressions, in which '*' and '[' are metacharacters. So, for example, if you want to match "*SPAM*" in the subject line, your recipe would need to be
Oh sorry, I see. But LOGFILE was not even created (mbox) in Mail/.
But I still don't know how to solve the problem. Does someone know about some gool tutorial that would work for FC5, as here apps are already installed/yum'med, so i'd need bare instructions?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.