Date: Mon, 11 Jun 2007 14:24:32 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: "dhaneshk k" <dhaneshkk@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: procmailrc configuration fails Message-ID: <44r6oie4db.fsf@be-well.ilk.org> In-Reply-To: <BAY127-F38FD074DF6E1FC94CD57CBB21A0@phx.gbl> (dhaneshk k.'s message of "Mon\, 11 Jun 2007 10\:07\:10 %2B0000") References: <BAY127-F38FD074DF6E1FC94CD57CBB21A0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
"dhaneshk k" <dhaneshkk@hotmail.com> writes:
> THis is Dhanesh , Here I have to configure a .procmailrc
> file in order to control spams in the mail system
>
> I had a few mailing lists , and I can send mails to these lists from
> my personal mail id ,
>
> in /etc/aliases tther is an entry for these lists as
> mylists : list1,list2,list3 etc
>
>
> but I have to block spams ,so I editted this entry as follows in
> /etc/aliases
>
> mylists:spamassassin
>
> and I executed #newaliases
>
> and in /home/spamassassin I created a file .procmailrc as follows
> (I changed the ownership as spamassassin:spamassassin to .procmailrc
> and chmod -R 777 to procmailrc )
>
> # ee /home/spamassassin/.procmailrc
> :0
> ^TOmylists
> {
> :0 c
> ! list1@mydomain
> :0 c
> ! list2@mydomain
> }
>
>
>
>
> But when ever I tried to send mails from my account to
> mylists@mydomain , its not delivering the mails to receipients
> (before configuring procmailrc its working fine but spams are coming
> along with this so I decided to use procmail rc )
>
> I tried this alos
>
> I tried to configure the /usr/local/etc/procmailrc file also the same
> way , but its also not sending the mails to the receipients in the
> lists...
>
>
>
> tail /var/log/mailog tells that the messages forwarded to Maildir
> directory , all the mails are ther in /home/spamassassin/Maildir
> but its not deliverd to the client ids ..
>
> So let me request you to help me what mistake i made while doing this
> .Any suggestion will help me alot to solve this issue ..
You need to configure the spamassassin user to invoke procmail.
There are a number of ways to do this; you can even use it directly as
a mail delivery agent.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44r6oie4db.fsf>
