Solved

Postfix loopback

Posted on 2013-01-13
4
644 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
  • 3
4 Comments
 
LVL 1

Author Comment

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

Accepted Solution

by:
bevhost earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
bevhost: that worked! thank you!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

The Microsoft Exchange server database may become damaged or corrupted due to many reasons, such as system failure. When this happens, it is usually urgent to restore the system to a stable and working state. There are different symptoms and causes …
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now