Misc Links
Forum Archive
News Archive
File DB



Latest Forum Topics
wow 56 k modems are
Posted by Red Squirrel
on Oct 14 2013, 11:52:23 pm

I Need A Program
Posted by rovingcowboy
on Sep 23 2013, 5:37:59 pm

having trouble witn lan
Posted by rovingcowboy
on Sep 23 2013, 5:40:56 pm

new problem for me
Posted by rovingcowboy
on Sep 23 2013, 5:54:09 pm

RBC Royal Bank
Posted by Red Squirrel
on Aug 13 2013, 6:48:08 pm


Setting up an email gateway
A good way to filter spam and viruses
By Red Squirrel

Thanks to cron jobs (crond must be running, check the services by going on the server and clicking on the red hat icon / servers / services) you can schedule tasks to happen at a certain interval.

In /etc create a folder called cron.custom (name does not matter but in this article we'll use that name). Then in webmin, go under "system" and click on "scheduled cron jobs". You should see a list of existing jobs, and at the bottom there's an option to add a new job, so click it and fill out the form. It is pretty straightforward, again. Choose to execute the job as root, though this probably does not matter what you choose. Then for the command type /etc/cron.custom/getmail (getmail is a file we will create)

Then on the next section just set the schedule to whatever pleases you and hit "create". This is how mine is setup, it checks every 15 minutes at x:00, x:15, x:30 and x:45 .

webmin - Click to see all

Then in /etc/cron.custom create a file called getmail. (to avoid conflicts, we don't use fetchmail) In the file, you can simply type "fetchmail" and maybe output it to a log by adding >>/path/to/file.log.

It's not a bad idea to reboot the server to make sure everything is working fine. It is also wise to have set the getmail file to output to log, since it will let you know if it works or not. If everything went smooth everything should be working and you should be able to receive your emails through the gateway.

Now this is nice, and receiving mail is faster even if it's HUGE attachments, because the server already downloaded it on the network by the time you check. But what about filtering spam?

This is what we'll look at on the next page.

Next Page
30427 Hits Pages: [1] [2] [3] [4] 2 Comments

Latest comments (newest first)
Posted by Red Squirrel on December 12rd 2004 (01:54)
Yes you need a pop or imap server for it to work and it has to use mboxes. (you can configure it to use maildirs but I've tried and failed at it, but I know it can be done)

I use the one that came with red hat. I forget the name, and the name is not mentioned even once in the program or documentation.

Posted by loskinski on December 12rd 2004 (01:40)
I have been trying to get this working on my own server here at my house. But did you have to install a pop server? because i am unable to connect to that machine with any of my email clients. any help would be greatly appreciated



View all comments
Post comment

Top Articles Latest Articles
- What are .bin files for? (669062 reads)
- Text searching in linux with grep (161180 reads)
- Big Brother and Ndisuio.sys (150471 reads)
- PSP User's Guide (139547 reads)
- SPFDisk (Special Fdisk) Partition Manager (117240 reads)
- How to Use MDADM Linux Raid (188 reads)
- What is Cloud Computing? (1225 reads)
- Dynamic Forum Signatures (version 2) (8769 reads)
- Successfully Hacking your iPhone or iTouch (18714 reads)
- Ultima Online Newbie Guide (35906 reads)
corner image

This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2020 Ryan Auclair/IceTeks, All rights reserved