Loading ...
Sorry, an error occurred while loading the content.

Re: spam filtering appliance - prevent an infinite loop

Expand Messages
  • mouss
    ... use multiple smtpd listeners. the smtpd on port 25 forwards email to the appliance (content_filter for instance) and the appliance sends back filtered mail
    Message 1 of 2 , Apr 2 2:05 AM
    • 0 Attachment
      Alon Friedman wrote:
      > I have an appliance that I use for spam and virus filtering. It is set
      > up as MX.
      > All the mail from all the hosts on my network has to go to the
      > appliance before delivery. The problem is how to set up the mail
      > server.
      > email that is sent directly to the mail server does not go through the
      > appliance so the email is not scanned. I would like to set up postfix
      > to relay all incoming messages to the appliance except email that is
      > coming from the appliance (to prevent an infinite loop). How do I do
      > it?

      use multiple smtpd listeners. the smtpd on port 25 forwards email to the
      appliance (content_filter for instance) and the appliance sends back
      filtered mail to port 10025. this is an example. you can also play with
      IPs instead of ports if the appliance can't be configured to use a
      different port.
    Your message has been successfully submitted and would be delivered to recipients shortly.