OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Admin Mailing Lists (mlistintergrafix.net)
Date: Mon Feb 26 2001 - 16:24:54 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    i set up a machine with postfix for our backup MX (which has it's backbone
    on a different provider than our primary MX)

    now i'm trying to get it to accept mail for my virtual domains and relay
    to the primary when it's available, blah blah..

    so i got 'em both running, and i add a higher preference MX record to the
    backup MX server for one of my virtual domains called zaphaz.com.

    so then i shut down the primary, and send an email to testzaphaz.com
    from the outside world..and i see the backup MX pick it up..

    Feb 26 16:21:02 ns2 postfix/smtpd[21709]: 524BB31069:
    client=dns1.pharamond.com[205.147.202.20]
    Feb 26 16:21:09 ns2 postfix/cleanup[21714]: 524BB31069:
    message-id=<Pine.LNX.3.96.1010226162048.1061A-100000dns1.pharamond.com>
    Feb 26 16:21:09 ns2 postfix/qmgr[22708]: 524BB31069:
    from=<thelittleprinceasteroid-b612.org>, size=1138 (queue active)
    Feb 26 16:21:09 ns2 postfix/smtp[21660]: 524BB31069: to=<testzaphaz.com>,
    relay=none, delay=7, status=deferred (connect to
    athena.intergrafix.net[206.245.154.69]: Connection refused)

    which is fine, athena, the primary MX/relayhost is down, so it defers it.
    then i bring postfix back up on the primary, run postfix flush on the
    backup, and see in the log..

    Feb 26 16:22:16 ns2 postfix/qmgr[22708]: 524BB31069:
    from=<thelittleprinceasteroid-b612.org>, size=1138 (queue active)

    and it has moved the queue file to active/
    yet that's the extent of what happens..no smtp process, no more log
    entries for it.
    i'm a bit stumped.
    testzaphaz.com is in the virtual map on the primary pointing to a local
    mailbox.

    any help is appreciated..here's my postconf -n for the backup MX

    2bounce_notice_recipient = adminintergrafix.net
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    allow_mail_to_commands = alias,forward
    allow_mail_to_files = alias,forward,include
    allow_min_user = yes
    biff = no
    bounce_notice_recipient = adminintergrafix.net
    command_directory = /usr/sbin
    daemon_directory = /etc/postfix/daemons
    debug_peer_level = 2
    default_destination_concurrency_limit = 10
    default_process_limit = 250
    delay_notice_recipient = adminintergrafix.net
    empty_address_recipient = adminintergrafix.net
    error_notice_recipient = adminintergrafix.net
    line_length_limit = 65535
    local_destination_concurrency_limit = 2
    mail_owner = postfix
    mail_spool_directory = /var/spool/mail
    mail_spool_hash_create = yes
    mail_spool_hash_depth = 2
    maps_rbl_domains = blackholes.mail-abuse.org, dialups.mail-abuse.org,
    relays.mail-abuse.org
    message_size_limit = 10240000
    mydestination = $myhostname, localhost.$mydomain, www.$mydomain
    mynetworks = $config_directory/mynetworks
    myorigin = $mydomain
    notify_classes = resource, software, delay, protocol
    queue_directory = /var/spool/postfix
    relay_domains = $mydestination
    relayhost = mail.intergrafix.net
    smtpd_client_restrictions = hash:$config_directory/client_restricts,
    reject_maps_rbl
    smtpd_etrn_restrictions =
    smtpd_helo_required = yes
    smtpd_helo_restrictions =
    smtpd_recipient_restrictions = permit_mynetworks, permit_mx_backup,
    check_relay_domains
    smtpd_sender_restrictions =

    -Tony
    .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
    Anthony J. Biacco Network Administrator/Engineer
    thelittleprinceasteroid-b612.org Intergrafix Internet Services

        "Dream as if you'll live forever, live as if you'll die today"
    http://www.asteroid-b612.org http://www.intergrafix.net
    .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.