close

Privacy guaranteed - Your email is not shared with anyone.

Welcome to Glock Talk

Why should YOU join our Glock forum?

  • Converse with other Glock Enthusiasts
  • Learn about the latest hunting products
  • Becoming a member is FREE and EASY

If you consider yourself a beginner or an avid shooter, the Glock Talk community is your place to discuss self defense, concealed carry, reloading, target shooting, and all things Glock.

sendmail virus scanning gateway

Discussion in 'Tech Talk' started by grantglock, Jun 9, 2005.

  1. grantglock

    grantglock /dev/null

    219
    0
    Feb 20, 2004
    Iowa
    does anyone here use sendmail to accept mail for a domain, check for viruses then send the mail to another box for local delivery?

    I have amavis set up but i'm getting the mail loops back to self error.
     
  2. unixguy

    unixguy

    7
    0
    Dec 27, 2004
    Oregon
    I do use sendmail as you described, but not with amavis. I've got a clamav milter and a spamassassin milter. With my setup, I had to enable the mailertable feature and create a file that instructs sendmail what local machine to send email to.

    (external dns points to my mail scanner as the most preferred mx, so I've got to tell sendmail to basically ignore dns now and send it somewhere else.)

    Could that be the problem that you're having?

    Another option would be to have the most preferred MX point to your internal machine, but have firewall rules that keep external machines from connecting to it. They'll then try your next most preferred MX, which would be your mail scanner.

    hope this helps
     


  3. grantglock

    grantglock /dev/null

    219
    0
    Feb 20, 2004
    Iowa
    i edited the mailertable and now it delivers mail fine, its not scanning mail but thats a problem with my sendmail config, i need to do some more homework on milter, its compiled with milter support but for some reason is not calling the virus scanner, at least i got the delivery down.
     
  4. HerrGlock

    HerrGlock Scouts Out CLM

    23,791
    182
    Dec 28, 2000
    I use postfix so I can put a lot of the "reject DHCP email", "reject RLBH email" etc. Then it forwards it to the actual domains.

    Sometimes virus checkers require sendmail to listen on something like port 26 and the virus checker listens on 25 then forwards it to localhost:26. I have no idea if that's how yours is supposed to set up or not but it's something to check.
     
  5. grantglock

    grantglock /dev/null

    219
    0
    Feb 20, 2004
    Iowa