OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Adhamh Findlay (adhamhapple.com)
Date: Mon Feb 04 2002 - 13:44:46 CST

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

    Hello,

    I'm trying to use virtual domains and regular expressions, but I am
    getting the infamous "mail for mailserver.my.domain.com loops back to
    myself" error in the logs and bounced emails. I've searched the
    archives and FAQ, but can't find a solution.

    mail.log:

    Feb 4 13:27:02 mailserver postfix/smtp[21467]: F28F525D41E:
    to=<sdfmy1.domain.com>, relay=none, delay=1, status=bounced (mail for
    mailserver.domain.com loops back to myself)

    Here is my virtual.regexp file:

    /testingmy1\.domain\.com$/ root
    /testingmy1\.domain\.com$/ root

    Here is the output of postconf -n:

    alias_maps = netinfo:/aliases
    command_directory = /usr/local/bin
    daemon_directory = /usr/local/bin
    debug_peer_level = 2
    mail_owner = postfix
    mail_spool_directory = /var/mail
    mailbox_command = /usr/bin/procmail
    mydestination = $myhostname, localhost.$mydomain $mydomain
    my1.domain.com my2.domain.com
    mydomain = corp.apple.com
    myhostname = dialog.corp.apple.com
    mynetworks = 17.0.0.0/8, 127.0.0.0/8
    queue_directory = /var/spool/postfix
    relayhost = relay.apple.com
    transport_maps = hash:/etc/postfix/transport
    virtual_maps = regexp:/etc/postfix/virtual.regexp

    And just for good measure here is the transport file. I have it setup
    for the backup mail server according to the FAQ.

    more transport
    my1.domain.com smtp:mailserver.my.domain.com
    my2.domain.com smtp:mailserver.my.domain.com

    Can someone help me locate the error of my ways?

    Thanks,

    Adhamh

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users