Misc Links
Forum Archive
News Archive
File DB
 

Ads
 

Advertisement
Age of Valor - Ultima Online Free Shard
AoS/SE/ML/Custom - advanced code, dedicated staff, peerless bosses, non overpowered customs + much much more
 

Latest Forum Topics
Possibly shutting down forum in near future
Posted by Red Squirrel
on Jan 21 2012, 5:19:43 pm

How to solve "ZoneMinder Console - Stopped"
Posted by Red Squirrel
on Jan 14 2012, 12:28:31 am

had fun on last day of 2011
Posted by rovingcowboy
on Jan 01 2012, 5:30:47 pm

Merry Christmas!
Posted by rovingcowboy
on Jan 01 2012, 5:11:32 pm

How to solve SMF directory not writable
Posted by Red Squirrel
on Oct 15 2011, 12:03:38 am

 

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


Autofetching
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
spacer
15838 Hits Pages: [1] [2] [3] [4] 2 Comments
spacer


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.

spacer
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


thanks

David

spacer
View all comments
Post comment

RPGBids Your MMO MMORPG Auction Super Site

Top Articles Latest Articles
- What are .bin files for? (28788 reads)
- Text searching in linux with grep (23220 reads)
- SPFDisk (Special Fdisk) Partition Manager (17206 reads)
- Creating your own content management system with php (16961 reads)
- PSP User's Guide (16667 reads)
- How to Use MDADM Linux Raid (14887 reads)
- What is Cloud Computing? (14915 reads)
- Dynamic Forum Signatures (version 2) (15278 reads)
- Successfully Hacking your iPhone or iTouch (16055 reads)
- Ultima Online Newbie Guide (16492 reads)
corner image

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