Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

system-wide bogofilter, procmail, fetchmail

9 views
Skip to first unread message

Rob Owens

unread,
Apr 4, 2011, 8:50:02 PM4/4/11
to
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110405004...@aurora.owens.net

Ron Johnson

unread,
Apr 4, 2011, 10:50:02 PM4/4/11
to
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4D9A81AF...@cox.net

Rob Owens

unread,
Apr 5, 2011, 5:00:01 PM4/5/11
to
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/20110405205...@aurora.owens.net

Ron Johnson

unread,
Apr 5, 2011, 5:30:02 PM4/5/11
to
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4D9B889A...@cox.net

0 new messages