?
Solved

Postfix loopback

Posted on 2013-01-13
4
Medium Priority
?
665 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
ID: 38772851
Also, my mail.log hasn't updated since january 4
0
 
LVL 19

Accepted Solution

by:
bevhost earned 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video we show how to create a User Mailbox 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 >> Mailb…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses
Course of the Month16 days, 3 hours left to enroll

850 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