Solved

Postfix loopback

Posted on 2013-01-13
4
651 Views
Last Modified: 2013-01-13
I have Postfix/Dovecot installed on debain squeeze. When I try to send an email i get: mail for
    XXXXX.static.cloud-ips.com loops back to myself

I really hope someone can point me in the right direction. Here is my  main.cnf



    root@50-XX-XX-XXX /v/log# postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    allow_percent_hack = no
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    home_mailbox = Maildir/
    inet_interfaces = all
    mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
    mailbox_size_limit = 0
    mydestination = napolean, myfirstdomain.net, myseconddomain.com, localhost
    myhostname = Napolean
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    myorigin = /etc/mailname
    readme_directory = no
    recipient_delimiter = +
    relayhost =
    sender_bcc_maps = hash:/etc/postfix/bcc
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    virtual_alias_maps = hash:/etc/postfix/virtual
0
Comment
Question by:eazy3333
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 1

Author Comment

by:eazy3333
ID: 38772851
Also, my mail.log hasn't updated since january 4
0
 
LVL 19

Accepted Solution

by:
bevhost earned 500 total points
ID: 38772874
Perhaps XXXXX.static.cloud-ips.com is your machines actual hostname.
So mail delivery for root@XXXXX.static.cloud-ips.com will want to come to your server.
However you have overwritten the hostname configuration with your own static entries, so postifx no longer recognises that name as it's own.
You could add it to mydestination as see what happens after you restart postifx.
0
 
LVL 1

Author Comment

by:eazy3333
ID: 38772914
I'm trying to send the email from a client outside of the server. That's just the hostname the bounceback provides. From everything i read it appears to be misconfiguration in mydestination... I've tried multiple combinations. I rebooted the server logs are back  the mail log is reporting the same loopback error
0
 
LVL 1

Author Comment

by:eazy3333
ID: 38772918
bevhost: that worked! thank you!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question