Hello everyone.

Well, im at about my wits end here trying to figure out why my setup is not working.
Im running postfix 2.0.9 and SA 2.55


I followed the procedures at http://www.securitysage.com on how to setup and configure postfix and spamassassin.
Im using two scripts for my setup: the usual spamassassin script and a reinjection script to put it back into the postfix que.


I get the following error in my log when I try and send through it:

Sep 15 17:18:54 blowfish postfix/smtpd[23869]: connect from unknown[192.168.1.166]
Sep 15 17:19:02 blowfish postfix/smtpd[23869]: AC87135730: client=unknown[192.168.1.166]
Sep 15 17:19:15 blowfish postfix/cleanup[16963]: AC87135730: message-id=<[EMAIL PROTECTED]>
Sep 15 17:19:15 blowfish postfix/qmgr[11186]: AC87135730: from=<[EMAIL PROTECTED]>, size=415, nrcpt=1 (queue active)
Sep 15 17:19:15 blowfish spamd[21576]: connection from localhost.courtesymortgage.com [127.0.0.1] at port 20782
Sep 15 17:19:15 blowfish spamd[2535]: processing message <[EMAIL PROTECTED]> for spam:3003.
Sep 15 17:19:15 blowfish spamd[2535]: clean message (2.0/5.0) for spam:3003 in 0.1 seconds, 438 bytes.
Sep 15 17:19:15 blowfish postfix/smtpd[8328]: connect from localhost.courtesymortgage.com[127.0.0.1]
Sep 15 17:19:15 blowfish postfix/smtpd[8328]: D2BB73573D: client=localhost.courtesymortgage.com[127.0.0.1]
Sep 15 17:19:16 blowfish postfix/pipe[4957]: AC87135730: to=<[EMAIL PROTECTED]>, relay=spamfilter, delay=14, status=sent (blowfish.courtesymortgage.com)
Sep 15 17:19:17 blowfish postfix/smtpd[8328]: warning: localhost.courtesymortgage.com[127.0.0.1] sent Received: header instead of SMTP command: Received: from courtesymortgage.com (unknown [192.168.1.166])
Sep 15 17:19:17 blowfish postfix/smtpd[8328]: disconnect from localhost.courtesymortgage.com[127.0.0.1]
Sep 15 17:19:26 blowfish postfix/smtpd[23869]: disconnect from unknown[192.168.1.166]


I have a two scripts located in /usr/local/bin:
the spamfilter script and the reinjection script...
I added the following to my main.cf file:

content_filter=spamfilter:

and the following to my master.cf:

127.0.0.1:10027 inet n - n - 100 smtpd

    -o content_filter=
    -o myhostname=injector.courtesymortgage.com
    -o mynetworks=127.0.0.0/8
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o header_checks=
    -o body_checks=

My postconf -n

blowfish# postconf -n
alias_database = hash:/etc/postfix/mapsaliases
alias_maps = hash:/etc/postfix/maps/aliases
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = spamfilter:
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
empty_address_recipient = MAILER-DAEMON
header_checks = regexp:/etc/postfix/maps/header_checks
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 6
local_recipient_maps =
local_transport = local
mail_owner = postfix
mailq_path = /usr/sbin/mailq
manpage_directory = /usr/local/man
message_size_limit = 20000000
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = courtesymortgage.com
myhostname = blowfish.courtesymortgage.com
mynetworks = 192.168.0.0/24, 127.0.0.0/8
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
queue_minfree = 8000000
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_namee
smtpd_client_restrictions =
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_limit = 30
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain, check_recipient_access hash:/etc/postfix/maps/access, reject_rbl_client relays.ordb.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, permit
transport_maps = hash:/etc/postfix/maps/transport


I cant figure out for the life of me on how to fix that error.
Does anyone have any suggestions?
Im getting more and more confused here. :/

Jason



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to