procmailrc configuration fails





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 ..

thanks in advance
dhanesh

_________________________________________________________________
Get Married in 2007. Join Shaadi.com FREE! www.shaadi.com/ptnr.php?ptnr=mhottag

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: procmailrc configuration fails
    ... 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 ... (I changed the ownership as spamassassin:spamassassin to .procmailrc ...
    (freebsd-questions)
  • AW: Probmelms mit Procmail, exim, courier-imap...
    ... Maybe because of the courier-maildrop. ... Exim is delivering the mail to the users Maildir only when .forward file in ... I think there is somethink wrong with my exim.conf, i need the mails to go ... > What right have i to give to the .procmailrc file? ...
    (Debian-User)
  • Re: how do you protect from spammers in Debian lists?
    ... >> So I think it's very easy for anybody to automatically extract ... > and I have a procmail-based filter on my mail server, ... > filters out all mails not coming over one of the mailing lists. ...
    (Debian-User)
  • Re: freebsd-questions Digest, Vol 138, Issue 17
    ... mails are sent by mailing lists, in the order they were posted. ... feel free to subscribe to the non-digest delivery format of the ... mailing list and let your favourite mail client thread it as needed. ...
    (freebsd-questions)
  • Exchange 2000 Zusammenfassung eines Postfachordners erstellen???
    ... Ich habe auf unserem Exchange einen Spamfilter ... markiert wurden und im Posteingang des Users verblieben habe ich das ganze ... dass die Spams in einem speziellen Ordner landen. ... die ihre Mails nur über POP3 abholen und so nicht an den Spam-Ordner kommen. ...
    (microsoft.public.de.german.exchange2000.general)