Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I use exim4/fetchmail system. I am afraid of email flood. What will happen if one send me 100M of mail? It ALL will be fetched to my poor machine! Of course it is impossible for I have limited Internet traffic, which will be consumed entirely on fetching these damned mails Is there any way to avoid this possibility? Does anyone else use exim4/fetchmail and what is you opinion in this question?
Originally posted by theYinYeti I also use fetchmail, and back when I was on dialup, I used to NOT download any mail bigger than 800kB.
Please, it is not a solution. Any baddy can send 1 million messages by 800 kbytes each.
Originally posted by theYinYeti
Meanwhile, you'll find the information you need in the fetchmail manpage. [/B]
Of course I have looked thru the manpage. It offers 'fetchlimit', well, but "An explicit --fetchlimit of 0 overrides any limits set in your run control file." But is it possible to use at least 'fetchlimit' and 'limit' at the same time (and how)? It would be great.
Thank you for help, I am waiting for further information.
I'm still not home, but it seems you've found it all by yourself
But indeed, this fetchmail feature doesn't help if someone sends thousands of mails.
I've got an idea: why not have a cronjob checking the incoming mail spool directory size, and kill the fetchmail process if this size is bigger than some limit? If you want, you could even have this same cronjob restart the fetchmail process when the spool directory size is down to, say, 50% the limit.
Huh, good idea! But it would be better such script will be invoked by fetchmail itself whenever it retrieves anything or, what is IMHO equal, exim4, when it is asked for to recieve anything. Don't anybody know is this script possible? Where to place it?
It is impossible for fetchmail, but maybe not for exim4. I don't know this MTA because I use Postfix at home.
With Postfix, you can choose the delivery program. This is usually some variation around procmail, but the default delivery program could be called from inside a custom wrapper script that does some sanity checks after having performed the delivery itself.
The same is probably possible with exim4 too.