email not being delivered

8 views
Skip to first unread message

emck

unread,
Aug 2, 2011, 9:12:31 PM8/2/11
to procmail-public
I am kind of new at this so please be kind ;). I am runing postfix,
procmail, Dovecot, SpamBayes. the problem is that once I turn on
procmail and spamBayes I no longer receive any email. I am not sure
why or how to fix this any help would be appreciated. I think their
is an error that blocks all emails from coming in. All i wan is for
email to be delived to my in box.

I have included the logs and also the conf file below.

thanks in advance for your help.


EMAIL LOG

Aug 1 21:13:42: --- last message repeated 12 times ---
Aug 1 21:13:44 BlueTuna postfix/postscreen[10710]: CONNECT from
[17.148.16.100]:38394
Aug 1 21:13:44 BlueTuna postfix/postscreen[10710]: PASS OLD
[17.148.16.100]:38394
Aug 1 21:13:44 BlueTuna postfix/smtpd[10711]: connect from
asmtpout025.mac.com[17.148.16.100]
Aug 1 21:13:45 BlueTuna postfix/smtpd[10711]: 142E254BF6:
client=asmtpout025.mac.com[17.148.16.100]
Aug 1 21:13:45 BlueTuna postfix/cleanup[10721]: 142E254BF6: message-
id=<B3D0B713-6E21-423B...@mac.com>
Aug 1 21:13:45 BlueTuna postfix/qmgr[10388]: 142E254BF6:
from=<xx...@mac.com>, size 54, nrcpt=1 (queue active)
Aug 1 21:13:45 BlueTuna postfix/smtpd[10711]: disconnect from
asmtpout025.mac.com[17.148.16.100]
Aug 1 21:13:45 BlueTuna postfix/local[10722]: 142E254BF6:
to=<te...@abc.com>, relay=local, delay=0.43, delays=0.16/0.01/0/0.26,
dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -a
"$EXTENSION")
Aug 1 21:13:45 BlueTuna postfix/qmgr[10388]: 142E254BF6: removed


PROCMAIL LOG
=======

procmail: [10723] Mon Aug 1 21:13:45 2011
procmail: Assigning "MAILDIR=/Users/tempo/Mail/Dovecot"
procmail: Assigning "SPAMBAYESDIR=/usr/local/cutedge/spambayes"
procmail: Assigning "DELIVER=/usr/local/cutedge/dovecot/libexec/
dovecot/deliver -c /usr/local/cutedge/dovecot/etc/dovecot.conf"
procmail: Assigning "INCLUDERC=/usr/local/cutedge/spambayes/etc/
rc.custom1"
procmail: Assigning "INCLUDERC=/Users/tempo/Procmail/lists.rc"
procmail: Couldn't read "/Users/tempo/Procmail/lists.rc"
procmail: Executing "/usr/bin/python,/usr/local/cutedge/spambayes/
sb_filter.py,-f,-p,/usr/local/cutedge/spambayes/hammiedb.pck"
Exception UnboundLocalError: "local variable 'fp' referenced before
assignment" in <bound method HammieFilter.close of
<__main__.HammieFilter object at 0x1105240d0>> ignored
procmail: Match on "^X-SpamBayes-Classification: spam"
procmail: Assigning "INCLUDERC=/usr/local/cutedge/etc/
rc.sendtodevnull"
procmail: Couldn't read "/usr/local/cutedge/etc/rc.sendtodevnull"
procmail: Assigning "LASTFOLDER=-m Spam"
procmail: Notified comsat: "tempo@:/Users/tempo/Mail/Dovecot/-m Spam"
From x...@mac.com Mon Aug 1 21:13:45 2011
Subject: test new serve with spam
Folder: -m Spam 1305
procmail: Executing "-m,Spam"
/bin/sh: Spam: No such file or directory



PROCMAIL CONF
===========
UMASK7

SHELL=/bin/sh
LOGFILE=/Users/tempo/procmail.log
VERBOSE=on
MAILDIR=/Users/tempo/Mail/Dovecot
SPAMBAYESDIR=/usr/local/cutedge/spambayes
DELIVER='/usr/local/cutedge/dovecot/libexec/dovecot/deliver -c /usr/
local/cutedge/dovecot/etc/dovecot.conf'

INCLUDERC=/usr/local/cutedge/spambayes/etc/rc.custom1

:0 fw
| /usr/bin/python /usr/local/cutedge/spambayes/sb_filter.py -f -p /
usr/
local/cutedge/spambayes/hammiedb.pck

:0
* ^X-SpamBayes-Classification: spam
{
INCLUDERC=/usr/local/cutedge/etc/rc.sendtodevnull

:0
| -m Spam
#.Spam/
}

INCLUDERC=/usr/local/cutedge/spambayes/etc/rc.custom2

:0 w
|



POSTFIX CONF

These are the active Postfix Configuration Parameters

The current Postfix version is 2.8.3

alias_database =hash:/usr/local/cutedge/postfix/etc/aliases
alias_maps =hash:/usr/local/cutedge/postfix/etc/aliases
biff =no
command_directory =/usr/sbin
config_directory =/usr/local/cutedge/postfix/etc
daemon_directory =/usr/libexec/postfix
data_directory =/Library/Server/Mail/Data/mta
debug_peer_level =2
home_mailbox =Mail/Dovecot/
html_directory =/usr/share/doc/postfix/html
inet_interfaces 2.168.123.2, 127.0.0.1, [::1]
inet_protocols =all
mail_owner =_postfix
mailbox_command =/usr/bin/procmail -a "$EXTENSION"
mailbox_size_limit =0
mailq_path =/usr/bin/mailq
manpage_directory =/usr/share/man
message_size_limit =0
mydomain = beezou.com
mydomain_fallback =localhost
myhostname = beezou.com
mynetworks_style =host
newaliases_path =/usr/bin/newaliases
queue_directory =/Library/Server/Mail/Data/spool
readme_directory =/usr/share/doc/postfix
relayhost = smpt.comcast.net
sample_directory =/usr/share/doc/postfix/examples
sendmail_path =/usr/sbin/sendmail
setgid_group =_postdrop
smtp_bind_address =0.0.0.0
smtp_bind_address6 =::
smtpd_sender_restrictions =check_sender_access hash:/usr/local/
cutedge/
postfix/etc/access
smtpd_tls_cert_file =/System/Library/OpenSSL/certs/testServer.crt
smtpd_tls_key_file =/System/Library/OpenSSL/private/testServer.key
smtpd_use_tls =yes
tls_random_source Þv:/dev/urandom
unknown_local_recipient_reject_code U0
Reply all
Reply to author
Forward
0 new messages