On Mon, 11 Aug 2003, Gary Funck wrote:

> > I have a feeleing that my ~/.procmailrc files are being skipped, it
> > seems that email being delivered via fetchmail, is not following the
> > rules in these files. Is there anyway, to force fetchmail to send all
> > mail it collects to procmail?
> >
> > I use postfix as my MTA
> >
> 
> courtesy of Google, here's a "fetchmail + procmail" crib sheet:
>   http://ieee.uow.edu.au/~mjp16/misc/fetchprocmail.html
> 
> I think the key thing is you might have to add an explicit invocation
> of procmail in your .forward file,
>   "|<procmail path>/procmail"
> 
> or the longer form, suggested in the procmail mini-FAQ,
> http://rhols66.adsl.netsonic.fi/era/procmail/mini-faq.html#forward
> 
>   "|IFS=' '&&p=/usr/local/bin/procmail&&test -f $p&&exec $p -f-||exit
> 75#whatever"
> 
> checks to see if procmail exists. Note that the path above will have to
> adjusted
> for your configuration. The double quotes are significant. Also, make sure
> you get the permissions right (at least owner read, group and others read
> only).

Something else to check is in his /etc/postfix/main.cf file.  He'll have 
to make sure that postfix is configured to actually use procmail as the 
lcoal delivery agent by setting:

mailbox_command = /usr/bin/procmail

Otherwise, postfix will use its own, internal delivery agent, and will 
only use procmail if the directive is in the users' .forward files.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, send a message to:

[EMAIL PROTECTED]

with a message of: 

subscribe



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to