Re: Backup/Secondary relay server (mailertable)

From: Brian Candler (B.Candler_at_pobox.com)
Date: 11/08/05

  • Next message: Marcin Jessa: "Re: Backup/Secondary relay server (mailertable)"
    Date: Tue, 8 Nov 2005 12:23:52 +0000
    To: dungkaitai <dungkaitai@hk-cse.dyxnet.com>
    
    

    On Tue, Nov 08, 2005 at 07:59:39AM +0800, dungkaitai wrote:
    > I wanted to know how should the backup/secondary relay server should be setup.

    (1) Install Exim. You won't regret it.

    # cd /usr/ports/mail/exim
    # make all install clean

    [/etc/mail/mailer.conf]
    sendmail /usr/local/sbin/exim
    send-mail /usr/local/sbin/exim
    mailq /usr/local/sbin/exim

    # /etc/rc.d/sendmail stop

    [/etc/rc.conf]
    sendmail_enable="NONE"
    exim_enable="YES"

    # /usr/local/etc/rc.d/exim.sh start

    (2) Edit /usr/local/etc/exim/configure, find this line, and list the domains
    you wish to allow backup MX for:

    domainlist relay_to_domains = foo.com : bar.com

    (3)
    # /usr/local/etc/rc.d/exim.sh restart

    (4) relax :-)

    Exim is the Swiss-army knife of MTAs. You can easily replace that
    configuration line with a database lookup (so you can act as backup MX for
    tens of thousands of domains), or set it to act as backup MX for anyone who
    lists your server in the DNS as a secondary MX:

    domainlist relay_to_domains = @mx_secondary

    See /usr/local/share/doc/exim/spec.txt for full details.

    Regards,

    Brian.
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Marcin Jessa: "Re: Backup/Secondary relay server (mailertable)"

    Relevant Pages

    • Re: Backup/Secondary relay server (mailertable)
      ... > Install Exim. ... > Exim is the Swiss-army knife of MTAs. ... > configuration line with a database lookup (so you can act as backup ... > MX for tens of thousands of domains), or set it to act as backup MX ...
      (freebsd-isp)
    • Re: Writing a script to stop and start a service
      ... Yes it does use a SQL service but it is ... not actually a SQL database file. ... > Also, you're not completely ruined without a SQL native backup, SBS backup ... Here at my company we use Act! ...
      (microsoft.public.windows.server.sbs)
    • Re: Writing a script to stop and start a service
      ... If you register the database in SQL enterprise manager, ... Also, you're not completely ruined without a SQL native backup, SBS backup ... Here at my company we use Act! ...
      (microsoft.public.windows.server.sbs)
    • Re: Writing a script to stop and start a service
      ... database is controlled by MSSQL service, ... Manager to schedule a database backup. ... to a disk file that you backup to tape. ... Here at my company we use Act! ...
      (microsoft.public.windows.server.sbs)
    • Re: switching
      ... other one act as a backup. ... I want to implement an electronic unit that ... will change (swap) the batteries.Therefore the wiring will need to be ...
      (sci.electronics.basics)