|
RE: lug-bg: Q-Mail Server Side Filters
- Subject: RE: lug-bg: Q-Mail Server Side Filters
- From: H.Demirov@xxxxxxxxxxxxxx (Hristo Demirov)
- Date: Fri, 17 Aug 2001 09:18:27 +0300
Stava mnogo dobre s maildrop
download: http://freshmeat.net/projects/maildrop/
home: http://www.flounder.net/~mrsam/maildrop/
Ima vgradena poddrushka na Maildir formata. Ezikut za pravila e dosta bogat.
Eto kakvo pishe na http://www.qmail.org/top.html:
"Sam Varshavchik has a local delivery agent called Maildrop that has a custom filtering language more readable than procmail's."
"Mahlon Smith has written a general new mail checker, useful if you use the mutt MUA and procmail to filter incoming mail to
Maildirs, since there isn't a built in mechanism for doing this from within mutt. "
"Kenji Rikitake reports that procmail-3.15 includes support of the maildir format with no patch. All you need to do is to add a
slash to the mail folder names. "
Eto edin primeren .mailfilter file s praviala za maildrop:
--- [begin] ---------------------------------
DELIVERED_f = 0
MyADDR = "H\.Demirov@isp_domain\.bg"
if ((/^To:.*$MyADDR/:h) || (/^Cc:.*$MyADDR/:h) || (/^Bcc:.*$MyADDR/:h))
{
cc "!itsso@local_domain.bg"
DELIVERED_f = $DELIVERED_f + 1
}
MyADDR = "somebody@whatever_domain\.com"
if ((/^To:.*$MyADDR/:h) || (/^Cc:.*$MyADDR/:h) || (/^Bcc:.*$MyADDR/:h))
{
cc "!local_username@local_domain.bg"
DELIVERED_f = $DELIVERED_f + 1
}
if ($DELIVERED_f == 0)
{
to "/home/default_user/Maildir/"
}
exit
exception {
to "/home/default_user/Maildir/"
}
--- [end] ---------------------------------
> -----Original Message-----
> From: owner-lug-bg@xxxxxxxxxxxxxxxxxx
> [mailto:owner-lug-bg@xxxxxxxxxxxxxxxxxx]On Behalf Of yavor shahpasov
> Sent: August 16, 2001 21:03
> To: lists Lug-Bg
> Subject: lug-bg: Q-Mail Server Side Filters
>
>
> Znae li niakoi reshenie za filtrirane na pisma s qmail predi
> da sa stignali
> do usera, niamam predvid spam filters a niakakvo reshenie s
> prosti pravila
>
> ex:
> if from someaddress@xxxxxxxxxxxx move to folder Some-Folder
> (assuming you're using Maildir for delivery)
>
> Dosta e iznerviashto da si otvariash poshtata prez web i da
> namirash 400
> pisma (zashtoto si aboniran za niakolko list-a) i da me
> mojesh da namerish
> malkoto koito te interesouvat :)
>
> Yavor Shahpasov
>
> ==============================================================
> =============
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd.
> - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|