SpamSnake - Ubuntu Jeos 12.04 LTS Precise Pangolin - Smart Host

Discussion in 'HOWTO-Related Questions' started by huey23, Feb 19, 2014.

  1. huey23

    huey23 New Member

    Great work Rocky and I always enjoy the tutorials.

    I am certain I have done this once before (a long time ago using MailWatch) but I am having trouble with setting PostFix as a smart host relay to accept mail from a specific mail server.

    I am trying to take this server and accept the mail from the mail server and forward either without scanning or with scanning. It doesn't matter at this point because I would just like to have the option to scan it.

    Right now it works as advertised and accepts mail from all over, scans it, and sends it to the SMTP server I have set in Baruwa. Now I want to be the relay (not OPEN) for that same mail server.

    Any thoughts...?
     
  2. Rocky

    Rocky Member

    Should be as simple as adding your mailserver ip/network to postfix main.cf eg. mynetworks = 127.0.0.0/8, 192.168.0.0/24

    Of course you'd have to tell your mailserver to use a smarthost at whatever ip your spamsnake is on.
     

Share This Page