OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
filter configuration

From: Andre Sourdiffe (sourdafrlcpa.com)
Date: Tue Sep 30 2003 - 12:49:24 CDT


I am trying to use Postfix and spampd to filter mail through spamassassin. I set it up with what I thought were different host names but Postfix saw them as being the same and was rejecting all mail. The name for the mail host is using our old domain name and the second domain name(frlcpa.com) is the new name we added and use most but we do use both.
This is the sample config entry from the documentation:
 
smtp inet n - y - - smtpd
        -o content_filter=smtp:localhost:10025
        -o myhostname=mx.example.com

 localhost:10026 inet n - n - 10 smtpd
        -o content_filter=
        -o myhostname=mx-int.example.com

Here is the entry I wanted to use iin the master.cf file:

 smtp inet n - y - - smtpd
        -o content_filter=smtp:localhost:10025
        -o myhostname=mail.fiskreedlove.com
 localhost:10026 inet n - n - 10 smtpd
        -o content_filter=
        -o myhostname=spamnix.frlcpa.com

I then started the spamd with this command:
spampd --host=localhost:10025 --relayhost=localhost:10026

Maybe I'm dense but can someone tell me how to set this up correctly? Andre