[LUGOS] backup mail server

Klemen Humerca klemen at humerca.com
Mon Jul 14 18:47:19 CEST 2003


Tole je v Postfix FAQ:

Configuring Postfix as backup MX host
When you are secondary mx for a remote site this is all you need:

    DNS:
        the.backed-up.domain.tld        IN      MX 100 your.machine.tld

    /etc/postfix/main.cf:
        relay_domains = $mydestination the.backed-up.domain.tld
        smtpd_recipient_restrictions = permit_mynetworks
reject_unauth_destination

When you are primary mx for a remote site you also need:


    /etc/postfix/main.cf:
        transport_maps = hash:/etc/postfix/transport

    /etc/postfix/transport:
        the.backed-up.domain.tld       smtp:[their.mail.host.tld]

Specify dbm instead of hash if your system uses dbm files instead of db
files. To find out what map types Postfix supports, use the command
postconf -m

Zelo pomembno je, da backup domeno ne vpises v relay_domains datoteko,
temvec pod relay_domains.



Klemen Humerca

-----e-mail&web---------
 klemen at humerca.com
 www.humerca.com
 forum.humerca.com
------------------------

     .-.
     /v\    L   I   N   U   X
    // \\        >Rules<
   /(   )\
    ^^-^^
----- Original Message ----- 
From: "Nejc Skoberne" <nejc.skoberne at guest.arnes.si>
To: "Klemen Humerca" <lugos-list at lugos.si>
Sent: Monday, July 14, 2003 4:47 PM
Subject: Re: [LUGOS] backup mail server


| Zdravo.
|
| > Imam dva streznika. Na enem tece Postfix, na drugem Sendmail. Kaj vse je
potrebno narediti, da sta eden drugemu backup mail server? Torej, ce eden ni
dosegljiv, njegove maile prevzame drugi in
| > obratno. V DNS-ju imam kot drugi mail vpisano nasprotno masino, kaj pa
je potrebno narediti v Postfixu in Sendmailu?
|
| Za Postfix: v main.cf imas v komentarjih lepo napisano, ce se ti ne
| da, pa poglej opcijo relay_domains (ne sme pa biti pod
| my_destination!).
|
| Za Sendmail bi pa tudi jaz rad vedel.
|
| -- 
| Nejc Skoberne
| Grajska 5
| SI-5220 Tolmin
| E-mail: nejc.skoberne at guest.arnes.si
|




More information about the lugos-list mailing list