HELP! I am having a problem getting the preconnect command in fetchmail working in my 5.5 SME server/firewall. I am trying to call mailfilter using the preconnect command. I would sure appreciate some suggestions.
I believe that the mailfilter installation is OK, as I can invoke it manually by calling "/usr/bin/mailfilter --mailfilterrc=/etc/mailfilterrc" from the console. The mailfilter log indicates that it is working as described.
When I attempt to call mailfilter using the preconnect command in my fetchmailrc file, I get the following error messages (in the maillog file):
May 17 22:35:00 MontyPython fetchmail[1142]: pre-connection command failed with status 6
May 17 22:35:00 MontyPython fetchmail[1142]: Query status=5 (SYNTAX)
========
My fetchmailrc file looks like this:
set postmaster "postmaster"
set bouncemail
set properties ""
poll mail.isp.net
protocol POP3
no dns
localdomains edhamlin.org
username user password pass is * here
smtphost localhost
smtpaddress edhamlin.org
fetchall
forcecr
preconnect "/usr/bin/mailfilter --mailfilterrc=/etc/mailfilterrc"
poll mail.earthlink.net
[etc -- more pop accounts]
====================
my mailfilterrc looks like this:
LOGFILE=/var/log/mailfilter
VERBOSE=6
#pop accounts
SERVER=mail.isp.net
USER=user
PASS=xxxx
PROTOCOL=pop3
PORT=110
[other pop servers here, same format]
REG_CASE=no
DEL_DUPLICATES=yes
REG_TYPE=basic
NORMAL=yes
# Maximum e-mail size in bytes that should not be exceeded.
MAXSIZE_DENY=3000000
# The maximum e-mail size in bytes that messages from friends
# should not exceed. Set this to 0 if all your friends (ALLOW)
# can send messages as long as they want.
MAXSIZE_ALLOW=0
#user defined rules
TEST=yes
DENY=^To:.*everybody
DENY=^To:.*accelenet.net
DENY=^To:.*mail.accelenet.net