I'm using header_checks and body_checks to help do some spam filtering.  I 
want to have it listen on another port than 25 as well, for unfiltered 
processing (when I get spam via a POP3 fetch from another account, it's 
hard to report said spam when your mail server filters and rejects it :).  
In /etc/postfix/master.cf, I've set the following lines:

{xx}      inet    n       -       y       -       -       smtpd
  -o content_filter=
  -o header_checks=
  -o body_checks=
  -o myhostname={different hostname for testing}
  -o smtpd_client_restrictions=permit_mynetworks,reject
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject

Where {xx} is the port number I'm telling it to listen on (and it's behind 
a firewall, so unless you're on the local network, you can't get to that 
port).  When I connect to that alternate port, I get my SMTP greeting and 
can send mail.  The problem is that it's still filtering based on the 
header_checks, etc., that's setup in my main.cf file.  For some reason, the 
overrides don't seem to be taking, other than for myhostname (at least, the 
SMTP greeting banner shows the test hostname I've put in there for 
debugging purposes).

Anyone have any ideas why this isn't working?

                --Dave
-- 
      David Guntner      GEnie: Just say NO!
 http://www.akaMail.com/pgpkey/davidg or key server
                 for PGP Public key


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to