On Sat, 30 Jun 2001, Laurent CREPET wrote:

:)On Fri, Jun 29, 2001 at 11:11:36PM -0400, Christopher W. Aiken wrote:
:)>
:)> I have used fetchmail/procmail on Debian, SuSE, FreeBSD w/o
:)> any problems.  But I cant' seem to get procmail filtering
:)> to work with Mandrake.
:)>
:)> My .forward file looks like this (same as other Linux versions):
:)> "|IFS=' '&&exec /usr/bin/procmail -ptoY -f-||exit 75 #cwa"
:)>
:)> The fetchmail process  acts like the .forward and procmail
:)> don't even exist.  My procmail recipes are the same ones
:)> that I used on Debian, SuSE, and FreeBSD. All mail goes to
:)> my "INBOX" w/o being sorted.
:)>
:)> Anyone have procmail working?  Any ideas why I can't get
:)> procmail working in MDK?
:)>
:)
:)You can enable procmail as mda in your .procmailrc. Here
:)is an example:
:)> poll <pop.yourisp.domain> with proto POP3 and options uidl
:)>     user 'user account' there with password 'xxxxxx' is <login> here warnings 3600
:)>  mda '/usr/bin/procmail -d %T'
:)
:)If you use postfix, check if procmail support is enable in main.cf:
:)> mailbox_command = /usr/bin/procmail -a "$EXTENSION"
:)
:)Laurent.
:)

Thanks Laurent !!
I'm using postfix, not sendmail.
1) I added the "mda" option to my .fetchmailrc file.
2) I changed the "mailbox_command" in my main.cf file.
3) I ran a "postalias aliases" command in /etc/postfix directory.
4) I deleted my .forward file.
5) I ran "/etc/init.d/postfix stop/start"

All is well now.  I never had to do that before with other flavors
of Linux.  I wonder what makes MDK different?  Anyhow a great learning
experiance.

Thanks again.
-- 
-=[cwa]=-
Mandrake Linux 8.0


Reply via email to