Hello,
I have a postfix server accepting emails on port 25 from the Internet, and 
delivering to cyrus.

There is another sever running Mail Marshall on Windows, that is used as the 
content filter. I have configured postfix master.cf as follows:

smtp     inet  n      -       n       -        -      smtpd
 -o content_filter=mm:[172.16.0.9]:25
 -o receive_override_options=no_address_mappings

mm      unix    -       -       -       -       10      smtp
  -o smtp_send_xforward_command=yes
  -o disable_mime_output_conversion=yes
  -o disable_dns_lookups=yes
  -o smtp_generic_maps=

0.0.0.0:10027   inet  n -       -       -       -       smtpd
  -o content_filter=
  -o local_recipient_maps=
  -o relay_recipient_maps=
  -o smtpd_restriction_classes=
  -o smtpd_delay_reject=no
  -o smtpd_client_restrictions=permit_mynetworks,reject
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o smtpd_data_restrictions=reject_unauth_pipelining
  -o smtpd_end_of_data_restrictions=
  -o mynetworks=127.0.0.0/8,172.16.0.0/16
  -o smtpd_error_sleep_time=0
  -o smtpd_soft_error_limit=1001
  -o smtpd_hard_error_limit=1000
  -o smtpd_client_connection_count_limit=0
  -o smtpd_client_connection_rate_limit=0
  -o 
receive_override_options=no_header_body_checks,no_unknown_recipient_checks


Mail marshall is configured to send emails to port 10027. This works OK. 
However, if Mail Marshall detects SPAM, rather than modify the header and send 
it on, it responds directly with a 550 error code. Unfortunately, postfix then 
notifies the email originator that the message has bounced, generating 
backscatter.

Is there anyway I can configure postfix to drop / discard these messages 
rather than notify the originator? 


Many thanks,

Stuart.

-- 
Stuart Bailey BSc (hons) CEng CITP MBCS
          LinuSoft (Managing Director)
   Linux Specialist & Software Developer
       ~~~~~~~~~~~~~~~~~~~~~~~
           Phone:   (0845) 658 3563
          Direct: +44 (0)1953 878162
          Fax:    +44 (0) 1603 858583
       ~~~~~~~~~~~~~~~~~~~~~~~
            http://www.linusoft.co.uk
    http://www.bluetoothadvertising.org.uk


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to