I'm successfully using fetchmail, procmail, and bogofilter as my user,
but I'm looking to set it up system-wide and have some questions.
I'm running an IMAP server with accounts for several family members.
I'd like to scan for spam and file the spam in a "spam" folder for each
user.
My personal .procmailrc contains this:
:0fw
| /usr/bin/bogofilter -uep
:0:
* ^X-Bogosity: Spam, tests=bogofilter
spam
I guess I'm not sure how to specify that each user has their own "spam"
folder. Any tips or links to how-to's are welcome.
-Rob
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110405004305.GA26815@aurora.owens.net">http://lists.debian.org/20110405004305.GA26815@aurora.owens.net
04-05-2011, 02:42 AM
Ron Johnson
system-wide bogofilter, procmail, fetchmail
On 04/04/2011 07:43 PM, Rob Owens wrote:
I'm successfully using fetchmail, procmail, and bogofilter as my user,
but I'm looking to set it up system-wide and have some questions.
I'm running an IMAP server with accounts for several family members.
I'd like to scan for spam and file the spam in a "spam" folder for each
user.
My personal .procmailrc contains this:
:0fw
| /usr/bin/bogofilter -uep
:0:
* ^X-Bogosity: Spam, tests=bogofilter
spam
I guess I'm not sure how to specify that each user has their own "spam"
folder. Any tips or links to how-to's are welcome.
Does your fetchmail run as a daemon?
I set fetchmail to run from each user's crontab. Thus, each user feeds
their own mail to postfix/spamassassin and then into maildrop
automagically in each user's Maildir.
--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
On Mon, Apr 04, 2011 at 09:42:55PM -0500, Ron Johnson wrote:
> On 04/04/2011 07:43 PM, Rob Owens wrote:
> >I'm successfully using fetchmail, procmail, and bogofilter as my user,
> >but I'm looking to set it up system-wide and have some questions.
> >
> >I'm running an IMAP server with accounts for several family members.
> >I'd like to scan for spam and file the spam in a "spam" folder for each
> >user.
> >
> >My personal .procmailrc contains this:
> >
> >:0fw
> >| /usr/bin/bogofilter -uep
> >
> >:0:
> >* ^X-Bogosity: Spam, tests=bogofilter
> >spam
> >
> >I guess I'm not sure how to specify that each user has their own "spam"
> >folder. Any tips or links to how-to's are welcome.
> >
>
> Does your fetchmail run as a daemon?
>
Currently I only use fetchmail for my user, and I run it as a daemon.
My plan is to run system-wide fetchmail for all users, also as a daemon.
> I set fetchmail to run from each user's crontab. Thus, each user
> feeds their own mail to postfix/spamassassin and then into maildrop
> automagically in each user's Maildir.
>
That's an option for me, I guess, since I only have a few users. But is
that how admins with hundreds of users do it?
-Rob
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110405205240.GB32496@aurora.owens.net">http://lists.debian.org/20110405205240.GB32496@aurora.owens.net
04-05-2011, 09:24 PM
Ron Johnson
system-wide bogofilter, procmail, fetchmail
On 04/05/2011 03:52 PM, Rob Owens wrote:
On Mon, Apr 04, 2011 at 09:42:55PM -0500, Ron Johnson wrote:
[snip]
I set fetchmail to run from each user's crontab. Thus, each user
feeds their own mail to postfix/spamassassin and then into maildrop
automagically in each user's Maildir.
That's an option for me, I guess, since I only have a few users. But is
that how admins with hundreds of users do it?
Virtual users with messages stored in databases like MySQL.
--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org