Re: [NEWBIE] Using external SMTP-Server for mail

From: Jonathan Chen (jonc_at_chen.org.nz)
Date: 07/31/03

  • Next message: anubis: "Re: nforce2 audio?"
    Date: Thu, 31 Jul 2003 22:07:45 +1200
    To: MatzeLoCal@gmx.de
    
    

    On Thu, Jul 31, 2003 at 08:19:09AM +0200, MatzeLoCal@gmx.de wrote:
    [...]
    > How do I set up mail in FreeBSD that it uses an external mail-server? In my
    > case I need to send the messages that will send my cron and some apps. But
    > our Systemadministrator will does not allow me to use the FreeBSD with sendmail
    > as server, he says that I have to use our M$ Exchange as mail server.

    If you want to get FreeBSD to forward your email to the MS-Exchange
    server, you have to:

        1. make sure sendmail is running. (ie remove sendmail_* lines from
           /etc/rc.conf)
        2. # cd /etc/mail
        3. # cp freebsd.mc `hostname`.mc
        4. edit `hostname`.mc and uncomment the following line:

                define(`SMART_HOST', `your.isp.mail.server')

        5. replace `your.isp.mail.server' with your Exchange server.
        6. # make
        7. # make install
        8. # sh /etc/rc.sendmail restart

    This will configure sendmail to send all non-local mail to the
    Exchange Server for further processing (eg: to send email to the 'Net).

    If you want to suck your email from the Exchange server, you'll have
    to install something like ports/mail/fetchmail.

    Cheers.

    -- 
    Jonathan Chen <jonc@chen.org.nz>
    ----------------------------------------------------------------------
        The Internet: an empirical test of the idea that a million monkeys
                    banging on a million keyboards can produce Shakespeare
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: anubis: "Re: nforce2 audio?"

    Relevant Pages

    • Re: freebsd reseller
      ... 2000 for workstations and 2000 Server for servers. ... FreeBSD and OpenBSD. ... When I try to install dvips I get the following ... >> I'm not at all familiar with firewire stuff. ...
      (freebsd-questions)
    • Re: Moving Freebsd to a new Server
      ... We were in a rush to install a freebsd server without proper hardware on ... whatever media and restore on the new machine. ...
      (freebsd-questions)
    • Re: management
      ... from FreeBSD to OpenBSD site-wide. ... Jr and the NetworkAdmin moved an IP from one server to ... If the machines are all similar then ... and then install the packages. ...
      (freebsd-isp)
    • Custom Build
      ... What I want to do is make a custom automated build for FreeBSD. ... system (1 hard drive per server) and then reboots. ... have a full functionaly customized FreeBSD install. ... I know how to create a script to automate the install for our application. ...
      (freebsd-questions)
    • Re: Custom Build
      ... as well as checking man sysinstall for the scripting options. ... > What I want to do is make a custom automated build for FreeBSD. ... > system (1 hard drive per server) and then reboots. ... > have a full functionaly customized FreeBSD install. ...
      (freebsd-questions)