Loading ...
Sorry, an error occurred while loading the content.

289901Re: Problem migrating a mail domain (loops back)

Expand Messages
  • Benny Pedersen
    Dec 5, 2012
    • 0 Attachment
      d.davolio@... skrev den 04-12-2012 14:03:
      > Hi everybody,
      > I'm running a postfix 2.5.5-1 on a old debian server, managing
      > different mail domains. I'm migrating now to a different mail
      > provider, one domain at time (es. example.com).
      > I removed example.com from "virtual_alias_domains" and/or
      > "mydestination" in main.cf. And restarted postfix.
      > Now, when sending an email to user@... i keep receiving the
      > "loops back to myself" error and I don't understand why.
      > I think the DNS MX records for example.com are right. I checked the
      > virtual table but i commented out the aliases belonging to
      > example.com, not the aliases that forward to other example.com email
      > address.
      > Can anyone suggest me where and what to check?

      is dns ok to the new server or domain ?

      this must be ok before you change the current server

      > Thanks for any help!
      > Davo
      >
      > Follow the postconf -n:
      > alias_database = hash:/etc/aliases
      > alias_maps = hash:/etc/aliases
      > anvil_rate_time_unit = 5
      > append_dot_mydomain = no

      why ?

      > biff = no
      > config_directory = /etc/postfix
      > disable_dns_lookups = no
      > home_mailbox = Maildir/
      > html_directory = /usr/share/doc/postfix/html
      > inet_interfaces = all
      > local_transport = virtual
      > mailbox_size_limit = 0
      > message_size_limit = 51200000
      > mydestination = localhost.mastercom, localhost, example.net,
      > example.org

      localhost.mastercom is invalid

      > myhostname = mail.example.net
      > mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24,
      > 10.10.0.0/24, 10.8.0.0/24, 10.9.0.0/24

      > myorigin = /etc/mailname

      invalid

      > readme_directory = /usr/share/doc/postfix
      > recipient_delimiter = +

      > relay_domains = $mydestination

      remove

      > relayhost =

      remove

      > smtp_tls_session_cache_database =
      > btree:${queue_directory}/smtp_scache
      > smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
      > smtpd_sender_restrictions = reject_non_fqdn_sender
      > reject_unknown_sender_domain
      > smtpd_tls_cert_file = /etc/courier/imapd.pem
      > smtpd_tls_session_cache_database =
      > btree:${queue_directory}/smtpd_scache
      > smtpd_use_tls = yes
      > transport_maps = hash:/etc/postfix/transport
      > virtual_alias_domains =
      > virtual_gid_maps = static:5000
      > virtual_mailbox_base = /home
      > virtual_mailbox_limit = 0
      > virtual_mailbox_maps = ldap:mastermail
      > virtual_uid_maps = static:5000

      loops back to myself is dns relayted with this config
    • Show all 17 messages in this topic