Date: Mon, 22 Sep 2003 01:48:21 +0300 From: Alin-Adrian Anton <aanton@reversedhell.net> To: questions@freebsd.org Subject: Re: Spam and virus filter for mailserver Message-ID: <3F6E2AB5.2010605@reversedhell.net> In-Reply-To: <200309211255.20067.dgw@liwest.at> References: <200309211255.20067.dgw@liwest.at>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Daniela wrote: >Hi! > >We have the following situation and don't know what to do: > >I have one POP3 account with alias adresses for the network clients, and every >client configured the mailer not to get mail destined for the other clients. >Now we get so much spam and viruses, and I decided to set up a mail server, >recieve the mail for all the clients, and the clients get their mail from my >mail server, keeping their current mail adresses. > >The clients run M$ Winblows eXPensive, so I need an antivirus program that >runs on FreeBSD (should be free). Can anyone recommend a good mail reader >that can fetch mail as a daemon, stores mail in a format readable by KMail or >Evolution, and has a console interface (I don't run X often)? It should also >be somehow able to put the mail in different folders based on the value of >some headers. > >And what mail server should I use? It should be secure and not use up many >resources (security has the highest priority). > >Is this stuff possible at all? Please help us. >Thanks in advance. > >Daniela > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > I think qmail is the most suitable mail server. I think and many others do, that it's the most secure and resource-saver mail server out there. And it's free, of course, you'll find it in the ports. Qmail-scanner is a virus scanner for qmail, but I do not recommend it, concerning resources and security. The most lightweight filtering system for qmail which comes to my mind seems to be qmail-qfilter (a small C proggie), google for it and use it. See the sample scripts, one of them filters any executable attachment, like .vbs,.etc... Add .scr, .pif and .bat to them ;). I use it and my 'new' qmail-queue file looks like this now (read the docs, it is a script, hackish): --------------------------------- #!/bin/sh exec /var/qmail/bin/qmail-qfilter /var/qmail/bin/filter1 -- /var/qmail/bin/qmail-inject -n --------------------------------- Where filter1 is a script which filters mail using the header details. PS: parse the headers carefully ;) Alin. [-- Attachment #2 --] 0 *H 010 + 0 *H 00D r0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 030901225717Z 040831225717Z0I10UThawte Freemail Member1&0$ *H aanton@reversedhell.net0"0 *H 0 P 3k[76i*TUIӝWY5EѳmVlCHH>=؏wrO/Qh!ev'kkZRtڌL!Ys,4;m3}@P0#c/B1 PL O2Agih\<?/63l4r87ۻ0ZcWeTO bbǺ*>tED?`+u 4020"U0aanton@reversedhell.net0U0 0 *H ,Al5 ` tq@!{mnS% ?!D<TċJ2fڛۿ.u؝C N QVT/I7'?0w\)(RrN00D r0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 030901225717Z 040831225717Z0I10UThawte Freemail Member1&0$ *H aanton@reversedhell.net0"0 *H 0 P 3k[76i*TUIӝWY5EѳmVlCHH>=؏wrO/Qh!ev'kkZRtڌL!Ys,4;m3}@P0#c/B1 PL O2Agih\<?/63l4r87ۻ0ZcWeTO bbǺ*>tED?`+u 4020"U0aanton@reversedhell.net0U0 0 *H ,Al5 ` tq@!{mnS% ?!D<TċJ2fڛۿ.u؝C N QVT/I7'?0w\)(RrN0?0 0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 030717000000Z 130716235959Z0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00 *H 0 Ħ<UsUNʙZhup[v:aQP 0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380 *H HP. fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA r0 + 0 *H 1 *H 0 *H 1 030921224821Z0# *H 1n;CgG7y9@0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0x +71k0i0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA r0z*H 1ki0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA r0 *H Hܾy6YW ]-JRJ+ߋ+R߈:O5#w 嬇b<رe <@eg2BԀme:!=ODY{^1 ;7:\h3Ķc2Ӓ&h_/!͑VZ[CR :5&w:e4 X>X e7eP&
