Question:
How do I get procmail filters to work for me?
Answer:
A few things to check on the procmail filters:
1) make sure that xinetd is setup to allow local connections (i.e. from 127.0.0.1) since the filter ftps the mail server to get the .procmailrc
2) There is a call to ftp_close that may not be supported if you don't have the CVS version. I'm on Red Hat 7.3 and ftp_close was not supported - change the calls to @ftp_quit($conn) in procmail_options.php
3) I also had a problem with fgets requiring two parameters since I'm on PHP 4.1 not 4.2. Change all the calls to pass in a second parameter for buffer lenght (1024 should handle it?!) $buf = rtrim(fgets($fd, 1024));
I was able to get these filters working great on Red Hat 7.3, Apache 1.3.23, PHP 4.1.2 and SquirrelMail 1.2.11.
Good luck, mike at eagano dot com
I was having the exact same problem (might have something to do with me connecting SquirrelMail on Linux to a Windows IMAP server. I found this fix on the SquirrelMail mailing list and it did resolve my issue. Edit your config/config.php and change:
$allow_charset_search = true;
to
$allow_charset_search = false;
Then try again.
Cheers, Kevin