Results 1 to 8 of 8

Thread: Best send only mail server for various tasks

  1. #1
    Join Date
    Nov 2007
    Location
    Daytona Beach, FL
    Beans
    131
    Distro
    Ubuntu 10.04 Lucid Lynx

    Best send only mail server for various tasks

    We run our real mail through an enterprise system, but it does not allow relaying, so I looking to setup a mail server that can be used for our webservers, and other processes that need to send mail. Some systems goto customers, so currently a lot of mail is either being rejected to put into spam due to various reasons like no reverse dns, no spf, etc. so I am going to make those DNS records to a subdomain like notices.mydomain.com this way things are legit.

    I know I don't need a real mail server on each server (some are behind load balancers, etc.) so as I think I have to do it would be;

    1. Setup public mail server (what would be the best for a strictly send only mail server).
    2. Setup local servers when they are sending mail to use him

    I don't think I am missing much else, so are there any how-to's or at least some feedback on a best method?

    Thanks.

  2. #2
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,464

    Re: Best send only mail server for various tasks

    Don't create a mail server unless you really know what you're doing and you're willing to monitor it 24x7.

    Why don't you use the smart host (=smtp relay server) of the location the server is in?

    And: what is from-address-domain and the to-address-domain?

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Best send only mail server for various tasks

    Quote Originally Posted by sanderj View Post
    Don't create a mail server unless you really know what you're doing and you're willing to monitor it 24x7.

    Why don't you use the smart host (=smtp relay server) of the location the server is in?

    And: what is from-address-domain and the to-address-domain?
    +1 to all of the above.

    I use a similar setup on my home server to send notifications of updates, backups, etc.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #4
    Join Date
    Mar 2009
    Beans
    114

    Re: Best send only mail server for various tasks

    Quote Originally Posted by CharlesA View Post
    +1 to all of the above.

    I use a similar setup on my home server to send notifications of updates, backups, etc.
    Can you please tell me how you have set this up?

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Best send only mail server for various tasks

    Check out the Postfix tutorial here: http://charlesa.net/tutorials/tutorials.php

    It might give you an idea.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Mar 2009
    Beans
    114

    Re: Best send only mail server for various tasks

    Thanks; will the php mail() function also work with this Postfix thing?

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Best send only mail server for various tasks

    Quote Originally Posted by smeerbartje View Post
    Thanks; will the php mail() function also work with this Postfix thing?
    It should, but I haven't tested it.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Nov 2007
    Location
    Daytona Beach, FL
    Beans
    131
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Best send only mail server for various tasks

    Sorry was away for a few days. So, to answer;

    Quote Originally Posted by sanderj View Post
    Don't create a mail server unless you really know what you're doing and you're willing to monitor it 24x7.
    I don't have an issue, I already have 50+ servers monitored using nagios, so another server/service is no biggie. I am familiar with setting up a postfix box, locking it down to specific relaying, setting up the spf/dkim signing, but this is another task since it's not one server local sending mail.

    Quote Originally Posted by sanderj View Post
    Why don't you use the smart host (=smtp relay server) of the location the server is in?
    This is more what I was looking for. I will have setup the standalone mail server, but was unsure on how to tell the webserver or other service don't send the mail using the local but go over to that mail server who will send and won't have a problem. So it's more the =smtp relay I am looking to setup. Now that I am back, I will start doing some more reading ...

    tnx

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •