Simple Mail Server

Discussion in 'Server Operation' started by allensim81, Apr 21, 2008.

  1. allensim81

    allensim81 New Member

    Hi
    I am a newbie in setting up a simple mail server for testing purpose.I set up 2 machines,1 i used it as Quaranteen system & AntiSpam server, whilst another 1 i used it as mail server installed wth openLdap,pam,dovecot & sendmail.
    Now i can succeccfully send mail and receive mail within 2 users. But my AntiSpam & Quaranteen seems been isolated!

    My problem now is how can i send a mail that the mail will go through my Quaranteen & AntiSpam server first then followed by mail server.

    Please... help me & guide me... appreciate for ur comments....
    Thanks
     
  2. tonton01

    tonton01 New Member

    I'm not familiar with sendmail so I can't help you with any configurations but I can try to point you in the right direction (I hope :confused: ).

    it sounds like you are directing all your mail to go straight to your mail server first. So nothing is passing through the spam server. You must direct port 25 on your router to point to the spam server and configure the spam server to relay your mail to the mail server. Not sure if your spam server is configured as a router or not. But regardless, the general idea is that incoming and/or outgoing mail must be routed to the filtering server first before it reaches the mail server.

    Hope that helps.
     
  3. allensim81

    allensim81 New Member

    Hi, tonton01
    u get exactly what i mean....

    But how to direct the port 25 on router to point to the spam server and configure the spam server to relay your mail to the mail server?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You can do this in your router's web interface.

    You can tell the mail server to fetch mails from the spam filter with fetchmail or getmail, or you forward the mails from the spam filter with Postfix transports:
    Code:
    man 5 transport
     

Share This Page